UNPKG

clean-split

Version:

Cleanly split a string by retaining the delimiter.

52 lines (51 loc) 948 B
{ "name": "clean-split", "version": "1.1.0", "description": "Cleanly split a string by retaining the delimiter.", "repository": "https://github.com/Richienb/clean-split.git", "author": "Richie Bendall <richiebendall@gmail.com>", "license": "MIT", "main": "index.js", "files": [ "index.js", "index.d.ts" ], "engines": { "node": ">=8.10" }, "scripts": { "lint": "xo", "test": "yarn lint && ava", "coverage": "nyc --reporter=lcov --reporter=text-summary ava" }, "keywords": [ "split", "line", "character", "clean", "delimiter", "string", "regex", "match", "retain", "splitter", "parse" ], "dependencies": { "escape-string-regexp": "^2.0.0", "ow": "^0.15.0", "regex-parser": "^2.2.10" }, "devDependencies": { "ava": "^2.4.0", "eslint-config-richienb": "^0.3.0", "nyc": "^15.0.0", "xo": "^0.25.3" }, "resolutions": { "eslint": "^6.8.0" }, "xo": { "extends": "richienb/node" } }