UNPKG

@thewtex/zstddec

Version:

ZSTD (Zstandard) decoder for Web and Node.js, using WebAssembly

49 lines (48 loc) 1.39 kB
{ "name": "@thewtex/zstddec", "version": "0.2.1", "description": "ZSTD (Zstandard) decoder for Web and Node.js, using WebAssembly", "repository": "github:donmccurdy/zstddec", "sideEffects": false, "type": "module", "source": "zstddec.ts", "types": "./dist/zstddec.d.ts", "main": "./dist/zstddec.cjs", "module": "./dist/zstddec.esm.js", "exports": { "types": "./dist/zstddec.d.ts", "require": "./dist/zstddec.cjs", "default": "./dist/zstddec.modern.js" }, "scripts": { "dist": "microbundle --format modern,esm,cjs --no-compress", "watch": "microbundle watch --format modern,esm,cjs --no-compress", "test": "npm run test:node && npm run test:browser", "test:node": "tape *.test.cjs | tap-spec", "test:browser": "browserify *.test.cjs | tape-run | tap-spec", "preversion": "rimraf dist/* && npm run dist && npm run test", "postversion": "git push && git push --tags && npm publish" }, "keywords": [ "zstd", "zstandard", "compression" ], "author": "Don McCurdy <dm@donmccurdy.com>", "license": "MIT AND BSD-3-Clause", "devDependencies": { "browserify": "^17.0.0", "microbundle": "^0.15.1", "rimraf": "^5.0.5", "tap-spec": "^5.0.0", "tape": "^5.7.0", "tape-run": "^11.0.0" }, "files": [ "dist/", "*.ts", "README.md", "package.json", "package-lock.json" ] }