79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
|
|
{
|
||
|
|
"name": "uint8-util",
|
||
|
|
"version": "2.2.6",
|
||
|
|
"description": "Fastest possible buffer-like utilities for uint8.",
|
||
|
|
"main": "index.js",
|
||
|
|
"browser": "browser.js",
|
||
|
|
"chromeapp": "browser.js",
|
||
|
|
"type": "module",
|
||
|
|
"exports": {
|
||
|
|
"node": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"import": "./_node.js"
|
||
|
|
},
|
||
|
|
"browser": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"import": "./browser.js"
|
||
|
|
},
|
||
|
|
"chromeapp": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"import": "./browser.js"
|
||
|
|
},
|
||
|
|
"default": {
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"import": "./browser.js"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"types": "./index.d.ts",
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/ThaUnknown/uint8-util.git"
|
||
|
|
},
|
||
|
|
"files": [
|
||
|
|
"_node.js",
|
||
|
|
"browser.js",
|
||
|
|
"util.js",
|
||
|
|
"index.d.ts"
|
||
|
|
],
|
||
|
|
"keywords": [
|
||
|
|
"uint8",
|
||
|
|
"buffer",
|
||
|
|
"sha1",
|
||
|
|
"crypto",
|
||
|
|
"hex",
|
||
|
|
"tohex",
|
||
|
|
"tostring"
|
||
|
|
],
|
||
|
|
"author": "ThaUnknown",
|
||
|
|
"license": "MIT",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/ThaUnknown/uint8-util/issues"
|
||
|
|
},
|
||
|
|
"homepage": "https://github.com/ThaUnknown/uint8-util#readme",
|
||
|
|
"devDependencies": {
|
||
|
|
"@babel/core": "^7.20.5",
|
||
|
|
"@babel/preset-env": "^7.20.2",
|
||
|
|
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
||
|
|
"airtap": "^4.0.4",
|
||
|
|
"airtap-manual": "^1.0.0",
|
||
|
|
"babelify": "^10.0.0",
|
||
|
|
"benchmark": "^2.1.4"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"base64-arraybuffer": "^1.0.2"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"bench-node-bin2hex": "node benchmark/bin2hex.js",
|
||
|
|
"bench-node-hex2bin": "node benchmark/hex2bin.js",
|
||
|
|
"bench-node-2text": "node benchmark/arr2text.js",
|
||
|
|
"bench-node-2arr": "node benchmark/text2arr.js",
|
||
|
|
"bench-node-hex2arr": "node benchmark/hex2arr.js",
|
||
|
|
"bench-browser-hex2arr": "airtap --preset local -- benchmark/hex2arr.js",
|
||
|
|
"bench-browser-bin2hex": "airtap --preset local -- benchmark/bin2hex.js",
|
||
|
|
"bench-browser-hex2bin": "airtap --preset local -- benchmark/hex2bin.js",
|
||
|
|
"bench-browser-2text": "airtap --preset local -- benchmark/arr2text.js",
|
||
|
|
"bench-browser-2arr": "airtap --preset local -- benchmark/text2arr.js",
|
||
|
|
"bench-browser-2base": "airtap --preset local -- benchmark/arr2base.js",
|
||
|
|
"bench-browser-4base": "airtap --preset local -- benchmark/base2arr.js"
|
||
|
|
}
|
||
|
|
}
|