@shelf/fast-chunk-string
Version:
Chunk string into equal substrings with unicode support
81 lines • 1.83 kB
JSON
{
"name": "@shelf/fast-chunk-string",
"version": "4.1.0",
"description": "Chunk string into equal substrings with unicode support",
"keywords": [
"string",
"split",
"chunk",
"unicode",
"utf",
"utf8",
"substring"
],
"repository": "shelfio/fast-chunk-string",
"license": "MIT",
"author": {
"name": "Vlad Holubiev",
"email": "vlad@shelf.io",
"url": "https://shelf.io"
},
"sideEffects": false,
"type": "module",
"exports": "./lib/index.js",
"module": "./lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"lint-staged": {
"*.{html,json,md,yml}": [
"prettier --write --ignore-path=./.eslintignore"
],
"*.{ts,js}": [
"eslint --fix"
]
},
"resolutions": {
"strip-ansi": "6.0.1",
"wrap-ansi": "7.0.0",
"string-width": "4.2.3"
},
"dependencies": {
"runes": "0.4.3"
},
"devDependencies": {
"@shelf/eslint-config": "5.2.3",
"@shelf/tsconfig": "0.1.0",
"@swc/core": "1.13.5",
"@swc/jest": "0.2.39",
"@types/benchmark": "2.1.5",
"@types/jest": "30.0.0",
"@types/node": "22.18.6",
"@types/runes": "0.4.3",
"benny": "3.7.1",
"eslint": "9.36.0",
"fast-lorem-ipsum": "1.2.0",
"husky": "9.1.7",
"jest": "30.1.3",
"lint-staged": "16.1.6",
"prettier": "3.6.2",
"ts-jest-resolver": "2.0.1",
"tsx": "4.20.5",
"typescript": "5.9.2"
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"benchmark": "tsx benchmark.ts",
"build": "rm -rf lib/ && tsc",
"coverage": "jest --coverage",
"lint": "yarn lint:ci --fix",
"lint:ci": "eslint . --quiet",
"test": "jest src",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
}
}