UNPKG

@thi.ng/arrays

Version:

Array / Arraylike utilities

192 lines (191 loc) 3.81 kB
{ "name": "@thi.ng/arrays", "version": "2.14.4", "description": "Array / Arraylike utilities", "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/arrays", "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": "npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/api": "^8.12.11", "@thi.ng/checks": "^3.8.1", "@thi.ng/compare": "^2.4.37", "@thi.ng/equiv": "^2.1.101", "@thi.ng/errors": "^2.6.0", "@thi.ng/random": "^4.1.36" }, "devDependencies": { "esbuild": "^0.27.0", "typedoc": "^0.28.14", "typescript": "^5.9.3" }, "keywords": [ "aos", "array", "binary", "distance", "fill", "floyd-rivest", "fuzzy", "levenshtein", "lookup", "permutation", "range", "search", "sequence", "shuffle", "sort", "swap", "swizzle", "topology", "typescript" ], "publishConfig": { "access": "public" }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./api": { "default": "./api.js" }, "./arg-sort": { "default": "./arg-sort.js" }, "./argmin": { "default": "./argmin.js" }, "./binary-search": { "default": "./binary-search.js" }, "./bisect": { "default": "./bisect.js" }, "./blit": { "default": "./blit.js" }, "./ends-with": { "default": "./ends-with.js" }, "./ensure-array": { "default": "./ensure-array.js" }, "./ensure-iterable": { "default": "./ensure-iterable.js" }, "./fill-range": { "default": "./fill-range.js" }, "./filter-all": { "default": "./filter-all.js" }, "./find-sequence": { "default": "./find-sequence.js" }, "./find": { "default": "./find.js" }, "./floyd-rivest": { "default": "./floyd-rivest.js" }, "./fuzzy-match": { "default": "./fuzzy-match.js" }, "./insert": { "default": "./insert.js" }, "./into": { "default": "./into.js" }, "./is-sorted": { "default": "./is-sorted.js" }, "./iterator": { "default": "./iterator.js" }, "./levenshtein": { "default": "./levenshtein.js" }, "./lookup": { "default": "./lookup.js" }, "./peek": { "default": "./peek.js" }, "./permutation": { "default": "./permutation.js" }, "./quicksort": { "default": "./quicksort.js" }, "./rotate": { "default": "./rotate.js" }, "./shuffle": { "default": "./shuffle.js" }, "./sort-cached": { "default": "./sort-cached.js" }, "./starts-with": { "default": "./starts-with.js" }, "./swap": { "default": "./swap.js" }, "./swizzle": { "default": "./swizzle.js" }, "./threshold": { "default": "./threshold.js" }, "./topo-sort": { "default": "./topo-sort.js" } }, "thi.ng": { "tag": "array", "year": 2018 }, "gitHead": "e7a21b9d2a188fa04d4c893d8531c40fbc0f4c06\n" }