better-substring
Version:
Improved substring method to avoid splitting mid word
39 lines (38 loc) • 875 B
JSON
{
"name": "better-substring",
"version": "1.0.3",
"description": "Improved substring method to avoid splitting mid word",
"source": "src/index.ts",
"exports": "./dist/index.modern.js",
"main": "./dist/index.js",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"mangle": {
"regex": "^_"
},
"scripts": {
"build": "microbundle",
"test": "jest"
},
"keywords": [
"string",
"substring",
"trim"
],
"author": "Alessio Franceschi (https://alessiofranceschi.me/)",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.12.5",
"jest": "^27.0.6",
"microbundle": "^0.13.3",
"ts-jest": "^27.0.3",
"typescript": "^4.3.4"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
}
}