@ctrl/magnet-link
Version:
Parse a magnet URI into an object
64 lines (63 loc) • 1.44 kB
JSON
{
"name": "@ctrl/magnet-link",
"version": "5.0.0",
"description": "Parse a magnet URI into an object",
"keywords": [
"link",
"magnet",
"magnet-uri",
"torrent"
],
"homepage": "https://magnet-link.ep.workers.dev",
"license": "MIT",
"author": "Scott Cooper <scttcper@gmail.com>",
"repository": "scttcper/magnet-link",
"workspaces": [
"demo"
],
"files": [
"dist/src"
],
"type": "module",
"sideEffects": false,
"types": "./dist/src/index.d.ts",
"exports": "./dist/src/index.js",
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"dev": "npm run demo:watch",
"demo:build": "npm run build --workspace=demo",
"demo:watch": "npm run dev --workspace=demo",
"lint": "oxlint . && oxfmt --check",
"lint:fix": "oxlint . --fix && oxfmt",
"prepare": "npm run build",
"typecheck": "tsc",
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"bench": "vitest bench ./test/decode.bench.ts"
},
"dependencies": {
"rfc4648": "^1.5.4",
"uint8array-extras": "^1.5.0"
},
"devDependencies": {
"@ctrl/oxlint-config": "1.5.0",
"@sindresorhus/tsconfig": "8.1.0",
"@types/node": "25.8.0",
"oxfmt": "0.50.0",
"oxlint": "1.65.0",
"typescript": "6.0.3",
"vitest": "4.1.6"
},
"release": {
"branches": [
"master"
]
},
"engines": {
"node": ">20"
}
}