thi-ng/umbrella

View on GitHub
packages/unionstruct/package.json

Summary

Maintainability
Test Coverage
{
    "name": "@thi.ng/unionstruct",
    "version": "2.1.59",
    "description": "C-style struct, union and bitfield read/write views of ArrayBuffers",
    "type": "module",
    "module": "./index.js",
    "typings": "./index.d.ts",
    "sideEffects": false,
    "repository": {
        "type": "git",
        "url": "https://github.com/thi-ng/umbrella.git"
    },
    "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/unionstruct#readme",
    "funding": [
        {
            "type": "github",
            "url": "https://github.com/sponsors/postspectacular"
        },
        {
            "type": "patreon",
            "url": "https://patreon.com/thing_umbrella"
        }
    ],
    "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 --excludePrivate --excludeInternal --out doc src/index.ts",
        "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
        "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"
    },
    "devDependencies": {
        "@microsoft/api-extractor": "^7.43.2",
        "esbuild": "^0.21.1",
        "typedoc": "^0.25.13",
        "typescript": "^5.4.5"
    },
    "keywords": [
        "align",
        "aos",
        "array",
        "binary",
        "bitfield",
        "c",
        "codegen",
        "cpp",
        "datastructure",
        "interop",
        "struct",
        "typedarray",
        "typescript",
        "union",
        "wasm"
    ],
    "publishConfig": {
        "access": "public"
    },
    "engines": {
        "node": ">=18"
    },
    "files": [
        "./*.js",
        "./*.d.ts"
    ],
    "exports": {
        ".": {
            "default": "./index.js"
        }
    },
    "thi.ng": {
        "alias": "us",
        "relate": [
            "malloc",
            "soa"
        ],
        "year": 2017
    }
}