package.json 877 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "strip-final-newline",
  3. "version": "4.0.0",
  4. "description": "Strip the final newline character from a string or Uint8Array",
  5. "license": "MIT",
  6. "repository": "sindresorhus/strip-final-newline",
  7. "funding": "https://github.com/sponsors/sindresorhus",
  8. "author": {
  9. "name": "Sindre Sorhus",
  10. "email": "sindresorhus@gmail.com",
  11. "url": "https://sindresorhus.com"
  12. },
  13. "type": "module",
  14. "exports": {
  15. "types": "./index.d.ts",
  16. "default": "./index.js"
  17. },
  18. "sideEffects": false,
  19. "engines": {
  20. "node": ">=18"
  21. },
  22. "scripts": {
  23. "test": "xo && ava && tsd"
  24. },
  25. "files": [
  26. "index.js",
  27. "index.d.ts"
  28. ],
  29. "keywords": [
  30. "strip",
  31. "trim",
  32. "remove",
  33. "delete",
  34. "final",
  35. "last",
  36. "end",
  37. "file",
  38. "newline",
  39. "linebreak",
  40. "character",
  41. "string",
  42. "uint8array"
  43. ],
  44. "devDependencies": {
  45. "ava": "^6.0.1",
  46. "tsd": "^0.29.0",
  47. "xo": "^0.56.0"
  48. }
  49. }