86 lines
2.4 KiB
JSON
86 lines
2.4 KiB
JSON
{
|
|
"name": "@noble/ciphers",
|
|
"version": "2.2.0",
|
|
"description": "Audited & minimal JS implementation of Salsa20, ChaCha and AES",
|
|
"files": [
|
|
"src",
|
|
"*.js",
|
|
"*.js.map",
|
|
"*.d.ts",
|
|
"*.d.ts.map"
|
|
],
|
|
"devDependencies": {
|
|
"@paulmillr/jsbt": "0.5.0",
|
|
"@scure/base": "2.0.0",
|
|
"@types/node": "25.3.0",
|
|
"fast-check": "4.2.0",
|
|
"prettier": "3.6.2",
|
|
"typescript": "6.0.2"
|
|
},
|
|
"scripts": {
|
|
"bench": "node test/benchmark/noble.ts",
|
|
"bench:compare": "cd test/benchmark; npm install; node compare.ts",
|
|
"build": "tsc",
|
|
"build:release": "npx --no @paulmillr/jsbt esbuild test/build",
|
|
"check": "npm run check:readme && npm run check:treeshake && npm run check:jsdoc",
|
|
"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",
|
|
"build:clean": "rm *.{js,js.map,d.ts,d.ts.map} 2> /dev/null",
|
|
"format": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts,mjs}'",
|
|
"test": "node test/index.ts",
|
|
"test:bun": "bun test/index.ts",
|
|
"test:deno": "deno --allow-env --allow-read test/index.ts",
|
|
"test:node20": "cd test; npx tsc; node compiled/test/index.js",
|
|
"test:slow": "node test/crosstest.test.ts slow"
|
|
},
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./_arx.js": "./_arx.js",
|
|
"./_poly1305.js": "./_poly1305.js",
|
|
"./_polyval.js": "./_polyval.js",
|
|
"./aes.js": "./aes.js",
|
|
"./chacha.js": "./chacha.js",
|
|
"./ff1.js": "./ff1.js",
|
|
"./salsa.js": "./salsa.js",
|
|
"./utils.js": "./utils.js",
|
|
"./webcrypto.js": "./webcrypto.js"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20.19.0"
|
|
},
|
|
"keywords": [
|
|
"salsa20",
|
|
"chacha",
|
|
"aes",
|
|
"cryptography",
|
|
"crypto",
|
|
"noble",
|
|
"cipher",
|
|
"ciphers",
|
|
"xsalsa20",
|
|
"xchacha20",
|
|
"poly1305",
|
|
"xsalsa20poly1305",
|
|
"chacha20poly1305",
|
|
"xchacha20poly1305",
|
|
"secretbox",
|
|
"rijndael",
|
|
"siv",
|
|
"ff1"
|
|
],
|
|
"homepage": "https://paulmillr.com/noble/",
|
|
"funding": "https://paulmillr.com/funding/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/paulmillr/noble-ciphers.git"
|
|
},
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"types": "index.d.ts",
|
|
"sideEffects": false,
|
|
"author": "Paul Miller (https://paulmillr.com)",
|
|
"license": "MIT"
|
|
}
|