{"_id":"normalize-newline","_rev":"19-3dca36900f143746bc1fac5dad415d6b","name":"normalize-newline","dist-tags":{"latest":"5.0.0"},"versions":{"0.1.0":{"name":"normalize-newline","version":"0.1.0","keywords":["cli","bin","newline","linebreak","line-break","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@0.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"bin":{"normalize-newline":"cli.js"},"dist":{"shasum":"0bb8d96028611eeab981b2920afa0c5037d32c6a","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-0.1.0.tgz","integrity":"sha512-8jVy+DtMKLAT3fVbqqpEz5lD48L1C0tx3mKPrS0NrdwYRubdMmyoTJj2oHbs6sWyN5/bnKFXjJ96dSgKnql80w==","signatures":[{"sig":"MEQCIDy6rh4+y1Vi/pRU3oyhECB8zV71npl0Xvt4P6RPC5zqAiBBdavswMKYaa/hHZYQEMqDBhAB0N6gmzQL8aBJjkUX1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"0bb8d96028611eeab981b2920afa0c5037d32c6a","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/normalize-newline","type":"git"},"_npmVersion":"1.4.9","description":"Normalize the newline characters of a string to `\\n`","directories":{},"dependencies":{"minimist":"^0.2.0","get-stdin":"^0.1.0"},"devDependencies":{"mocha":"*"}},"1.0.0":{"name":"normalize-newline","version":"1.0.0","keywords":["cli","bin","newline","linebreak","line-break","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@1.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"bin":{"normalize-newline":"cli.js"},"dist":{"shasum":"344e2138c910db97a183964e0ad358ca7d687a8b","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-1.0.0.tgz","integrity":"sha512-TfbgC8pqSyNKNeDPTbZgIGZQHVuYNlbVnwfev/bOFEMVr0qWFox8x6tFzRSZPkoZfe9tZSBDZ4zt8Q72zxYDoQ==","signatures":[{"sig":"MEQCIDk/x3qI0ngZ8B3iGeD0LrbBzbxmPaSuTfVlU9151AfyAiBOawePZXQJ4wSpYqarEssAhwQ0Iqrf7+4LBsBmC+ljvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"344e2138c910db97a183964e0ad358ca7d687a8b","engines":{"node":">=0.10.0"},"gitHead":"e434dd9b73746f04b75e4efba6f24c3e6c49735d","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/normalize-newline","type":"git"},"_npmVersion":"1.4.21","description":"Normalize the newline characters of a string to `\\n`","directories":{},"dependencies":{"minimist":"^1.1.0","get-stdin":"^2.0.0"},"devDependencies":{"mocha":"*"}},"1.0.1":{"name":"normalize-newline","version":"1.0.1","keywords":["cli","bin","newline","linebreak","line-break","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@1.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"bin":{"normalize-newline":"cli.js"},"dist":{"shasum":"13808842dc1271c0e10615ef700738433b31b54c","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-1.0.1.tgz","integrity":"sha512-F+r5CPr54gWCA7yd57avdUSGmol/GWgR6r7WqYQegnHr7lqed0fKwHTfW9bVDqks/gmne6Mysgh0YencgN5yAQ==","signatures":[{"sig":"MEQCIBPwDXz7+E0KEwqKBvPw7L900fnhP3cYycnUgB0t1EAZAiBaqc32REkPoixPOyUg9qAkIteRFVaFLMFuRU9rj634wQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"13808842dc1271c0e10615ef700738433b31b54c","engines":{"node":">=0.10.0"},"gitHead":"b8aacaf4399d59cbb54fc2a8a7656d12b1c6d371","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git://github.com/sindresorhus/normalize-newline","type":"git"},"_npmVersion":"1.4.14","description":"Normalize the newline characters of a string to `\\n`","directories":{},"dependencies":{"minimist":"^1.1.0","get-stdin":"^3.0.0"},"devDependencies":{"mocha":"*"}},"1.0.2":{"name":"normalize-newline","version":"1.0.2","keywords":["cli","bin","newline","linebreak","line-break","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"http://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@1.0.2","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"bin":{"normalize-newline":"cli.js"},"dist":{"shasum":"9a7a7c967629377a4a6ac3b4984f590cca6215a3","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-1.0.2.tgz","integrity":"sha512-wVKYM6U16Ks1sleC3mQ/0BBfVfjbn7QPGfJcuQ8QrzEZxZi/B6RaiZzbRadyu727ju6kFpwj/TEHp4Kv7doCHg==","signatures":[{"sig":"MEQCIF84DYPHvtsW5fomI5wzeb1akihV2on5OUa2HCievs5UAiARbkJyfjc7bQsycexnRtcjiPAr7Dy6AZ3ywGMzydWVtw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","cli.js"],"_shasum":"9a7a7c967629377a4a6ac3b4984f590cca6215a3","engines":{"node":">=0.10.0"},"gitHead":"e6120d620499ccbce5fc528de3dc640d20378c5b","scripts":{"test":"mocha"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/normalize-newline","type":"git"},"_npmVersion":"2.5.1","description":"Normalize the newline characters of a string to `\\n`","directories":{},"_nodeVersion":"0.12.0","dependencies":{"minimist":"^1.1.0","get-stdin":"^4.0.1"},"devDependencies":{"mocha":"*"}},"2.0.0":{"name":"normalize-newline","version":"2.0.0","keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"dist":{"shasum":"c88bf6a5471462aceb3f651713bc239b0facb549","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-2.0.0.tgz","integrity":"sha512-NjrX5FGLrJrEFf99Hy75We+9IGSEGCBHYmEXOQqOaU79Vw8MAvloUC6jnlfj7pM+rv/CO/mx5pC8J6GsZs428A==","signatures":[{"sig":"MEYCIQC+YJCE3h3vLKeRQTiQArDAkOItpcdshNbIhGJt4yAU5QIhALNBgJMiWCyPcFAJeMVZO/muNTCG67duxsIhPAskLCzJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"c88bf6a5471462aceb3f651713bc239b0facb549","engines":{"node":">=0.10.0"},"gitHead":"9690de824c391a90154718377fda80fffacef6e2","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"https://github.com/sindresorhus/normalize-newline","type":"git"},"_npmVersion":"2.14.7","description":"Normalize the newline characters in a string to `\\n`","directories":{},"_nodeVersion":"4.2.1","devDependencies":{"xo":"*","ava":"*"}},"2.1.0":{"name":"normalize-newline","version":"2.1.0","keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@2.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline#readme","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"dist":{"shasum":"e2e4f101382abd9569a1f41c1e34f4a0473ea060","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-2.1.0.tgz","integrity":"sha512-DUWlRWES76dGRTscS5uCV226PM7aY+nxMVMsCxM7lzC/ZrtWBhYoV6CAYjqMcb19srHUuUn9hu7UZIZjIYzGPg==","signatures":[{"sig":"MEUCIHFxXN6wKMwr9xKkNSOf9HlfBjdu2KJvTrp2M7DSyguLAiEA5dgmSXkI0c5aeMMA5IGNtCTF/EOlH+eT03TCcWWdLzc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"e2e4f101382abd9569a1f41c1e34f4a0473ea060","engines":{"node":">=0.10.0"},"gitHead":"1b38a62723feba94015862d006e2fea705ab03ce","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/normalize-newline.git","type":"git"},"_npmVersion":"3.10.6","description":"Normalize the newline characters in a string to `\\n`","directories":{},"_nodeVersion":"6.4.0","devDependencies":{"xo":"*","ava":"*"},"_npmOperationalInternal":{"tmp":"tmp/normalize-newline-2.1.0.tgz_1473165079182_0.5205678595229983","host":"packages-12-west.internal.npmjs.com"}},"3.0.0":{"name":"normalize-newline","version":"3.0.0","keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@3.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline#readme","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"xo":{"esnext":true},"dist":{"shasum":"1cbea804aba436001f83938ab21ec039d69ae9d3","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-3.0.0.tgz","integrity":"sha512-uLZbfjzZfHTlaGXMJkwc5TUEhY7/+LHvP1X/OcDt6SLkubrshIOg7hbT6rkmAhyvGpi6kJ+XcMfwM7D3/Zieqg==","signatures":[{"sig":"MEUCIFTLo8hx/G0wziZdSe5xIVC5UC2oO4l3gUEcDxKlEb4aAiEAyrBb+ySrnuKohtnoe4Avr67/WfzlGZlCm7U02RdEFQY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"1cbea804aba436001f83938ab21ec039d69ae9d3","engines":{"node":">=4"},"gitHead":"9fa5b93d3118ea48c119d61b2fc2de9957081ff9","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/normalize-newline.git","type":"git"},"_npmVersion":"3.10.6","description":"Normalize the newline characters in a string to `\\n`","directories":{},"_nodeVersion":"6.4.0","devDependencies":{"xo":"*","ava":"*"},"_npmOperationalInternal":{"tmp":"tmp/normalize-newline-3.0.0.tgz_1473165341523_0.8191094812937081","host":"packages-16-east.internal.npmjs.com"}},"4.0.0":{"name":"normalize-newline","version":"4.0.0","keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@4.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline#readme","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"dist":{"shasum":"f17102d95a59c99d8dfed7d9a4b17432ed15d7fc","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-4.0.0.tgz","fileCount":4,"integrity":"sha512-DBcUS/0w26/3YDJWyCGYLlMQDyZaTVLTbPgjTluCsyu8JpOg3fk7k/aRmKdNDwm8P0RI+79MDHtqD7FI9KIuEg==","signatures":[{"sig":"MEUCIFopILUSO/j7Nwo6JgTEuJ9rEWRrnLQuUjBOFThY21fWAiEA/4XDRCN/UrfRSnXz9E+M5g9dVOIRX33gNQyBplorvyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbWeCCRA9TVsSAnZWagAAHwQP/jzDulUhTCKxYbzoPR8l\nKIr0eBOPRf1MZCXsSA27JRhN0J4J5T7awJjST8hioaOBOuWJbre+NawLsqnU\n4gsoIxkRcSHpCLgMUN3B9r9gb2hAxOV+SYRlmCtfFAYd7PZY++YPu7HAJviL\nfVXlTkRiicTpKiakCCzwWIw1aCMnzQgkFSSQIC3AccT3ng0xrYrehj1fADhW\nRn0C3RafleXPr5WKL+QPn61j1ZU8wbWyGS5iXt2o2X0vS/bQ4BCbwtZ6/Eog\nfdVGHkuS22l4iuCToE8RJAUx52U+i0e1GLQEqQb33xlkcirWZtgtuadQHRd0\nAScqdBJYOGdQjeCSnUiiNfq0RRrvGLbv2gBE9EEdSwO4lL3yhe0zXiN06TBQ\ntY+50lksNfQGjEsgVV7tx2vUMLomcDP2We+NO5lL50PwIEGYFN2S18bFPBvd\n6mLsOj2bK/wGJaSD6FzDjwTlpqUqIMsFVZfAmYR7jI8WMTQX1EyjhXBWBZcv\nFkKrVlUlHCvq+Xjzh8GrfnixbjTogS6HGylT/V4rvVfAdAz1GjD/1tYkxi65\nt6Hy5J04XAT3Va8leou+J8i7MICZzlG4FcANBq9HKyaRwIZ4zSvAO8HpnuFQ\nABsUQhHr5zqgZXgtQpdjPbyVfsOdRsjRClH+QFauq1Keej64OEJ0vX1z0AOb\nzBF0\r\n=3ItO\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"8dfc8698eadb7dbdc68a479bb380decde8cf9428","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/normalize-newline.git","type":"git"},"_npmVersion":"6.14.10","description":"Normalize the newline characters in a string to `\\n`","directories":{},"_nodeVersion":"12.20.1","dependencies":{"replace-buffer":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.38.2","ava":"^3.15.0"},"_npmOperationalInternal":{"tmp":"tmp/normalize-newline_4.0.0_1617782657534_0.7275315000701335","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"normalize-newline","version":"4.1.0","keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"normalize-newline@4.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/normalize-newline#readme","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"dist":{"shasum":"47576ac687846b67bf1c163e938f1f00a8bacfcb","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-4.1.0.tgz","fileCount":5,"integrity":"sha512-ff4jKqMI8Xl50/4Mms/9jPobzAV/UK+kXG2XJ/7AqOmxIx8mqfqTIHYxuAnEgJ2AQeBbLnlbmZ5+38Y9A0w/YA==","signatures":[{"sig":"MEQCIC7okYpeoxXQboNDyb1LgsHYH2d3iyRXclVyen5Lp9WkAiBsgRpiR1UyvTvaQQbhu4lFKK0Ccz80XybNNC4iEXcYDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgl95rCRA9TVsSAnZWagAAqqMQAIGgjvVDEPTCk9Ior7zM\ncVtaHoApoeaMNcLtDvsVdMDnsVbq4wP4BDQqWok+9ddbcVRI041AWvO1+Bwz\n9XRJY8EQWSP9URA496Ro96x1myhJf+3U8JalpwLBfUd5Z6K1Sj382As9Eb2e\n/nbz9pOtH33rkBXjxQecWOShQfuX5JR81BmFMnl59wl/POC8TvctS5+l9x4B\n+Dtx60UFVusXpb09Bwb31OLg6BiPhGGn2yXaGBtYI9e3BN84px3KLLq8NsQ4\neQZhl+Z4UsRA/yzhBwslTxuSzeKxApFzO5gSDoehywkA7cVp7RsiHjT9xCRj\nD7k+VCI4ic4F5o4C89z9EpaWeq0gXnanvAut+VFt9rHWP369UpqXoTwXq/zb\nsEq3wZFVbZEa3HN9EmczhqU5ws32keYnvwNxuDjo8UJeqem8iG6QKs0bnQvb\n4GJv3kBODlismJ8bf6a3VCEQHRfvjkV4yNFpVy53P93oYaIwHZs+rX/biFqr\nZhkHDXRaAjsyG3eKGzgO9YUIpQviv1BPrx8HE58z5r8i1cTfo7s2vb0DIhXv\nK8NBkaFpmPEITKzR33lm/p6+3FXlrD4yksoG6tLiyGY6jXE+Kzry6cfu6Q7q\nDiiOk6ss1hJfjx6FANViYN29c7zDVATHokxfjY9+E1jTlD8VFJ0R6zxVjkLs\n6iVj\r\n=TtK0\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":">=12"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"65af4cfcbb1efaf798909b019e97e604cd4aa35c","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/normalize-newline.git","type":"git"},"_npmVersion":"7.10.0","description":"Normalize the newline characters in a string to `\\n`","directories":{},"_nodeVersion":"16.0.0","dependencies":{"replace-buffer":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.40.0","ava":"^3.15.0","tsd":"^0.14.0"},"_npmOperationalInternal":{"tmp":"tmp/normalize-newline_4.1.0_1620565611356_0.3797487371932955","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"normalize-newline","version":"5.0.0","description":"Normalize the newline characters in a string to `\\n`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/normalize-newline.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava"},"keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"devDependencies":{"ava":"^6.4.1","xo":"^1.2.2"},"_id":"normalize-newline@5.0.0","gitHead":"bc6982d73ebd62de3729435d9baf8731ca274f7a","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"homepage":"https://github.com/sindresorhus/normalize-newline#readme","_nodeVersion":"20.19.5","_npmVersion":"10.9.2","dist":{"integrity":"sha512-pOL2BbzV4kuopIEK91m7lfn3GISx+yT0N4Nq7jH4YzNMXNkpS7d7WYW11EfH1k9U1YZ7yxJoGfBLXFHc5v2uPQ==","shasum":"27f7c3589621678efdf6033f1754727ccdbe8308","tarball":"https://registry.npmjs.org/normalize-newline/-/normalize-newline-5.0.0.tgz","fileCount":5,"unpackedSize":4021,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF+mMlesA/Me0hgawK7LOrIYiB0XBGBnzwsI1g52YA04AiBK2nuZlYhogBU5ogmLOpJzySb9xiAaP3n4UlBSzPvwkw=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/normalize-newline_5.0.0_1757986908935_0.3016165307490306"},"_hasShrinkwrap":false}},"time":{"created":"2014-06-28T15:00:19.047Z","modified":"2025-09-16T01:41:49.342Z","0.1.0":"2014-06-28T15:00:19.047Z","1.0.0":"2014-08-14T18:05:12.065Z","1.0.1":"2014-08-17T23:41:31.504Z","1.0.2":"2015-02-16T17:58:04.058Z","2.0.0":"2015-12-22T23:02:30.133Z","2.1.0":"2016-09-06T12:31:19.415Z","3.0.0":"2016-09-06T12:35:43.571Z","4.0.0":"2021-04-07T08:04:17.656Z","4.1.0":"2021-05-09T13:06:51.495Z","5.0.0":"2025-09-16T01:41:49.145Z"},"bugs":{"url":"https://github.com/sindresorhus/normalize-newline/issues"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","homepage":"https://github.com/sindresorhus/normalize-newline#readme","keywords":["newline","linebreak","line","lf","crlf","eol","linefeed","character","char","normalize","convert","replace"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/normalize-newline.git"},"description":"Normalize the newline characters in a string to `\\n`","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# normalize-newline\n\n> Normalize the [newline](https://en.wikipedia.org/wiki/Newline) characters in a string to `\\n`\n\nConverts Windows-style CRLF (`\\r\\n`) line endings to Unix-style LF (`\\n`). Works in both Node.js and browsers.\n\n## Install\n\n```sh\nnpm install normalize-newline\n```\n\n## Usage\n\n```js\nimport normalizeNewline from 'normalize-newline';\n\nnormalizeNewline('foo\\r\\nbar\\nbaz');\n//=> 'foo\\nbar\\nbaz'\n\nconst uint8Array = new TextEncoder().encode('foo\\r\\nbar\\nbaz');\nconst normalized = normalizeNewline(uint8Array);\nnew TextDecoder().decode(normalized);\n//=> 'foo\\nbar\\nbaz'\n```\n\n## API\n\n### normalizeNewline(input)\n\nNormalizes CRLF (`\\r\\n`) to LF (`\\n`). Other newline characters (`\\r` or `\\n` alone) are left unchanged.\n\n#### input\n\nType: `string | Uint8Array`\n\nInput to normalize.\n\n## Related\n\n- [normalize-newline-cli](https://github.com/sindresorhus/normalize-newline-cli) - CLI for this module\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}