UNPKG

@thi.ng/strings

Version:

Various string formatting & utility functions

215 lines 4.48 kB
{ "name": "@thi.ng/strings", "version": "3.9.22", "description": "Various string formatting & utility functions", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/thi-ng/umbrella.git" }, "homepage": "https://thi.ng/format", "funding": [ { "type": "github", "url": "https://github.com/sponsors/postspectacular" }, { "type": "patreon", "url": "https://patreon.com/thing_umbrella" }, { "type": "liberapay", "url": "https://liberapay.com/thi.ng" } ], "author": "Karsten Schmidt (https://thi.ng)", "license": "Apache-2.0", "scripts": { "build": "yarn build:esbuild && yarn build:decl", "build:decl": "tsc --declaration --emitDeclarationOnly", "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts", "clean": "bun ../../tools/src/clean-package.ts", "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts", "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts", "pub": "yarn npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/api": "^8.12.2", "@thi.ng/errors": "^2.5.42", "@thi.ng/hex": "^2.3.80", "@thi.ng/memoize": "^4.0.26" }, "devDependencies": { "esbuild": "^0.25.9", "typedoc": "^0.28.12", "typescript": "^5.9.2" }, "keywords": [ "ansi", "composition", "conversion", "cursor", "escape", "float", "format", "functional", "hex", "hollerith", "interpolation", "number", "padding", "percent", "radix", "slugify", "split", "string", "tab", "text", "trim", "typescript", "unicode", "utf8", "wordwrap" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./ansi": { "default": "./ansi.js" }, "./api": { "default": "./api.js" }, "./case": { "default": "./case.js" }, "./center": { "default": "./center.js" }, "./currency": { "default": "./currency.js" }, "./cursor": { "default": "./cursor.js" }, "./entities": { "default": "./entities.js" }, "./escape": { "default": "./escape.js" }, "./float": { "default": "./float.js" }, "./format": { "default": "./format.js" }, "./groups": { "default": "./groups.js" }, "./hollerith": { "default": "./hollerith.js" }, "./initials": { "default": "./initials.js" }, "./int": { "default": "./int.js" }, "./interpolate": { "default": "./interpolate.js" }, "./join": { "default": "./join.js" }, "./named-number": { "default": "./named-number.js" }, "./pad-left": { "default": "./pad-left.js" }, "./pad-right": { "default": "./pad-right.js" }, "./parse": { "default": "./parse.js" }, "./percent": { "default": "./percent.js" }, "./radix": { "default": "./radix.js" }, "./range": { "default": "./range.js" }, "./repeat": { "default": "./repeat.js" }, "./ruler": { "default": "./ruler.js" }, "./slugify": { "default": "./slugify.js" }, "./splice": { "default": "./splice.js" }, "./split": { "default": "./split.js" }, "./stringify": { "default": "./stringify.js" }, "./tabs": { "default": "./tabs.js" }, "./trim": { "default": "./trim.js" }, "./truncate-left": { "default": "./truncate-left.js" }, "./truncate": { "default": "./truncate.js" }, "./units": { "default": "./units.js" }, "./utf8": { "default": "./utf8.js" }, "./uuid": { "default": "./uuid.js" }, "./vector": { "default": "./vector.js" }, "./word-wrap": { "default": "./word-wrap.js" }, "./wrap": { "default": "./wrap.js" } }, "thi.ng": { "year": 2015 }, "gitHead": "e215a3e8de3809736ba0042c93bd8703a5a1a337\n" }