UNPKG

@shelf/fast-chunk-string

Version:

Chunk string into equal substrings with unicode support

83 lines (82 loc) 1.85 kB
{ "name": "@shelf/fast-chunk-string", "version": "4.0.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" ], "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" }, "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", "string-length": "6.0.0" }, "devDependencies": { "@shelf/eslint-config": "4.4.0", "@shelf/tsconfig": "0.1.0", "@swc/core": "1.10.7", "@swc/jest": "0.2.37", "@types/benchmark": "2.1.5", "@types/jest": "29.5.14", "@types/node": "18", "@types/runes": "0.4.3", "benny": "3.7.1", "eslint": "9.18.0", "fast-lorem-ipsum": "1.2.0", "husky": "9.1.7", "jest": "29.7.0", "lint-staged": "15.3.0", "prettier": "3.4.2", "ts-jest-resolver": "2.0.1", "tsx": "4.19.2", "typescript": "5.7.3" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" } }