UNPKG

split-at

Version:

Split a string at one or more indices

46 lines (45 loc) 789 B
{ "name": "split-at", "version": "3.0.0", "description": "Split a string at one or more indices", "license": "MIT", "repository": "sindresorhus/split-at", "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": [ "split", "cut", "at", "string", "text", "index", "indexes", "indices" ], "dependencies": { "array-uniq": "^3.0.0", "arrify": "^3.0.0", "num-sort": "^3.0.0" }, "devDependencies": { "ava": "^3.15.0", "tsd": "^0.14.0", "xo": "^0.39.1" } }