hashion
Version:
77 lines • 1.55 kB
JSON
{
"name": "hashion",
"version": "0.0.11",
"description": "计算文件hash",
"keywords": [
"web",
"browser",
"client",
"file",
"hash",
"spark-md5",
"sha-1",
"sha-256",
"sha-512",
"Web Worker",
"inline Web Worker",
"Cancellable",
"async",
"callback",
"progress",
"promise"
],
"private": false,
"publishConfig": {
"access": "public"
},
"license": "MIT",
"author": "moyuderen",
"homepage": "https://moyuderen.github.io/hashion",
"repository": {
"type": "git",
"url": "https://github.com/moyuderen/hashion"
},
"bugs": {
"url": "https://github.com/moyuderen/hashion/issues"
},
"type": "module",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./sha": {
"types": "./dist/sha.d.ts",
"import": "./dist/sha.js"
},
"./spark": {
"types": "./dist/spark.d.ts",
"import": "./dist/spark.js"
},
"./sparkWorker": {
"types": "./dist/sparkWorker.d.ts",
"import": "./dist/sparkWorker.js"
}
},
"files": [
"dist"
],
"sideEffects": false,
"peerDependencies": {
"spark-md5": "^3.0.2"
},
"devDependencies": {
"@types/node": "^22.15.29",
"@types/spark-md5": "^3.0.5",
"typescript": "~5.8.3",
"vite": "^6.3.5",
"vite-plugin-dts": "^4.5.4"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
}
}