@scure/base
Version:
Secure, audited & 0-dep implementation of base64, bech32, base58, base32 & base16
63 lines (62 loc) • 1.78 kB
JSON
{
"name": "@scure/base",
"version": "2.2.0",
"description": "Secure, audited & 0-dep implementation of base64, bech32, base58, base32 & base16",
"files": [
"index.js",
"index.js.map",
"index.d.ts",
"index.d.ts.map",
"index.ts"
],
"devDependencies": {
"@noble/hashes": "2.2.0",
"@paulmillr/jsbt": "0.5.0",
"@types/node": "25.3.0",
"fast-check": "4.2.0",
"prettier": "3.6.2",
"typescript": "6.0.2"
},
"scripts": {
"bench": "node test/benchmark/index.ts",
"build": "tsc",
"build:release": "npx --no @paulmillr/jsbt esbuild test/build",
"check": "npx --no @paulmillr/jsbt check package.json",
"check:readme": "npx --no @paulmillr/jsbt readme package.json",
"check:treeshake": "npx --no @paulmillr/jsbt treeshake package.json test/build/out-treeshake",
"check:jsdoc": "npx --no @paulmillr/jsbt tsdoc package.json",
"format": "prettier --write index.ts test/*.test.ts",
"test": "node test/index.ts",
"test:bun": "bun test/index.ts",
"test:deno": "deno --allow-env --allow-read test/index.ts && deno test/deno.ts",
"test:node20": "cd test; npx tsc; node compiled/test/index.js"
},
"keywords": [
"bech32",
"bech32m",
"base64",
"base58",
"base32",
"base16",
"rfc4648",
"rfc3548",
"crockford",
"encode",
"encoder",
"base-x",
"base"
],
"homepage": "https://paulmillr.com/noble/#scure",
"funding": "https://paulmillr.com/funding/",
"repository": {
"type": "git",
"url": "git+https://github.com/paulmillr/scure-base.git"
},
"type": "module",
"main": "index.js",
"module": "index.js",
"types": "index.d.ts",
"sideEffects": false,
"author": "Paul Miller (https://paulmillr.com)",
"license": "MIT"
}