normalize-newline
Version:
Normalize the newline characters in a string to `\n`
48 lines (47 loc) • 839 B
JSON
{
"name": "normalize-newline",
"version": "4.1.0",
"description": "Normalize the newline characters in a string to `\\n`",
"license": "MIT",
"repository": "sindresorhus/normalize-newline",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=12"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"newline",
"linebreak",
"line",
"lf",
"crlf",
"eol",
"linefeed",
"character",
"char",
"normalize",
"convert",
"replace"
],
"dependencies": {
"replace-buffer": "^1.2.1"
},
"devDependencies": {
"ava": "^3.15.0",
"tsd": "^0.14.0",
"xo": "^0.40.0"
}
}