UNPKG

newline-iterator

Version:
81 lines (80 loc) 1.79 kB
{ "name": "newline-iterator", "version": "1.0.3", "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", "types": "dist/cjs/index.d.cts", "files": [ "dist" ], "scripts": { "build": "tsds build", "deploy": "tsds deploy", "docs": "tsds docs", "format": "biome check --write --unsafe", "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": "*", "@types/node": "*", "tsds-web-test-runner": "*" }, "engines": { "node": ">=0.8" }, "tsds": { "source": "src/index.ts", "targets": [ "cjs", "esm", "umd" ], "globals": { "index-of-newline": "indexOfNewline" } } }