UNPKG

string-byte-slice

Version:
68 lines (67 loc) 1.48 kB
{ "name": "string-byte-slice", "version": "3.0.1", "type": "module", "exports": { "types": "./build/src/main.d.ts", "default": "./build/src/main.js" }, "main": "./build/src/main.js", "types": "./build/src/main.d.ts", "files": [ "build/src/**/*.{js,json,d.ts}", "!build/src/**/*.test.js", "!build/src/{helpers,fixtures}" ], "sideEffects": false, "scripts": { "test": "gulp test" }, "description": "Like `string.slice()` but bytewise", "keywords": [ "binary", "bytes", "emoji", "encoding", "javascript", "json", "length", "library", "nodejs", "serialization", "size", "slice", "string", "string-manipulation", "truncate", "typescript", "ucs-2", "unicode", "utf-16", "utf-8" ], "license": "MIT", "homepage": "https://www.github.com/ehmicky/string-byte-slice", "repository": { "type": "git", "url": "git+https://github.com/ehmicky/string-byte-slice.git" }, "bugs": { "url": "https://github.com/ehmicky/string-byte-slice/issues" }, "author": "ehmicky <ehmicky@gmail.com> (https://github.com/ehmicky)", "directories": { "lib": "src" }, "devDependencies": { "@ehmicky/dev-tasks": "^3.0.33", "@ehmicky/eslint-config": "^20.0.31", "@ehmicky/prettier-config": "^1.0.6", "spyd": "^0.8.3", "string-byte-length": "^3.0.1", "test-each": "^7.0.1" }, "engines": { "node": ">=18.18.0" } }