newline-iterator
Version:
Line-by-line string iterator
84 lines (83 loc) • 1.89 kB
JSON
{
"name": "newline-iterator",
"version": "1.0.11",
"description": "Line-by-line string iterator",
"keywords": [
"CR",
"CRLF",
"LF",
"break",
"eol",
"iterate",
"iterator",
"line",
"line-break",
"line-next",
"linebreak",
"lines",
"newline",
"next",
"next-line",
"split",
"string"
],
"homepage": "https://github.com/kmalakoff/newline-iterator#README.md",
"bugs": {
"url": "https://github.com/kmalakoff/newline-iterator/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/kmalakoff/newline-iterator.git"
},
"license": "MIT",
"author": {
"name": "Kevin Malakoff",
"email": "kmalakoff@gmail.com",
"url": "https://github.com/kmalakoff"
},
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json",
"./umd": "./dist/umd/newline-iterator.cjs"
},
"main": "dist/cjs/index.js",
"source": "src/index.ts",
"types": "dist/cjs/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsds build",
"docs": "tsds docs",
"format": "tsds format",
"prepublishOnly": "tsds validate",
"test": "tsds test:browser --config wtr.config.mjs && tsds test:node --no-timeouts",
"test:engines": "tsds test:browser --config wtr.config.mjs && nvu engines tsds test:node --no-timeouts",
"version": "tsds version"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.0.1",
"node-version-use": "^2.1.5",
"ts-dev-stack": "^1.21.3",
"tsds-config": "^0.2.1",
"tsds-web-test-runner": "^1.19.4"
},
"engines": {
"node": ">=0.8"
},
"tsds": {
"targets": [
"cjs",
"esm",
"umd"
],
"globals": {
"index-of-newline": "indexOfNewline"
}
}
}