@thi.ng/morton
Version:
Z-order curve / Morton encoding, decoding & range extraction for arbitrary dimensions
119 lines (118 loc) • 2.55 kB
JSON
{
"name": "@thi.ng/morton",
"version": "3.1.150",
"description": "Z-order curve / Morton encoding, decoding & range extraction for arbitrary dimensions",
"type": "module",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
"directory": "packages/morton"
},
"homepage": "https://thi.ng/morton",
"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.27",
"@thi.ng/binary": "^3.6.16",
"@thi.ng/errors": "^2.6.16",
"@thi.ng/math": "^5.15.16"
},
"devDependencies": {
"esbuild": "^0.28.1",
"typedoc": "^0.28.19",
"typescript": "^6.0.3"
},
"keywords": [
"2d",
"3d",
"acceleration",
"bbox",
"bigint",
"binary",
"conversion",
"datastructure",
"decode",
"encode",
"hash",
"morton",
"nd",
"query",
"sort",
"spatial",
"typescript",
"z-curve"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"files": [
"./*.js",
"./*.d.ts"
],
"exports": {
".": {
"default": "./index.js"
},
"./mux": {
"default": "./mux.js"
},
"./raw": {
"default": "./raw.js"
},
"./scaled": {
"default": "./scaled.js"
},
"./tree": {
"default": "./tree.js"
},
"./zcurve": {
"default": "./zcurve.js"
}
},
"thi.ng": {
"alias": "m",
"blog": [
{
"title": "Casually PathTracing with WebGPU Part2",
"url": "https://www.vaultcg.com/blog/casually-raytracing-in-webgpu-part2/"
}
],
"related": [
"grid-iterators",
"geom-accel"
],
"year": 2015
},
"gitHead": "febee81fd8b59e5e330a6e6521a2667ed5401a3d"
}