@ctrl/magnet-link
Version:
Parse a magnet URI into an object
67 lines (66 loc) • 1.7 kB
JSON
{
"name": "@ctrl/magnet-link",
"version": "4.0.2",
"description": "Parse a magnet URI into an object",
"author": "Scott Cooper <scttcper@gmail.com>",
"homepage": "https://magnet-link.vercel.app",
"license": "MIT",
"repository": "scttcper/magnet-link",
"keywords": [
"torrent",
"magnet",
"link",
"magnet-uri"
],
"type": "module",
"exports": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"files": [
"dist/src"
],
"sideEffects": false,
"scripts": {
"dev": "npm run demo:watch",
"demo:build": "npm run build --workspace=demo",
"demo:watch": "npm run dev --workspace=demo",
"lint": "pnpm run '/^(lint:biome|lint:eslint)$/'",
"lint:biome": "biome check .",
"lint:eslint": "eslint --ext .ts,.tsx .",
"lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'",
"lint:eslint:fix": "eslint --ext .ts,.tsx . --fix",
"lint:biome:fix": "biome check . --apply",
"prepare": "npm run build",
"build": "tsc",
"test": "vitest run",
"test:watch": "vitest",
"test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
},
"dependencies": {
"rfc4648": "^1.5.3",
"uint8array-extras": "^1.1.0"
},
"devDependencies": {
"@biomejs/biome": "1.6.0",
"@ctrl/eslint-config-biome": "2.1.1",
"@sindresorhus/tsconfig": "5.0.0",
"@types/node": "20.11.25",
"@vitest/coverage-v8": "1.3.1",
"typescript": "5.4.2",
"vitest": "1.3.1"
},
"workspaces": [
"demo"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"release": {
"branches": [
"master"
]
},
"engines": {
"node": ">=18"
}
}