UNPKG

@synet/keys

Version:

Zero-dependency, secure key generation library. Supports ed25519, x25519, secp256k1, RSA, and WireGuard keys.

78 lines (77 loc) 2.22 kB
{ "name": "@synet/keys", "version": "1.0.6", "description": "Zero-dependency, secure key generation library. Supports ed25519, x25519, secp256k1, RSA, and WireGuard keys.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "CHANGELOG.md" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "repository": { "type": "git", "url": "git+https://github.com/synthetism/keys.git" }, "scripts": { "build": "tsc", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:online": "npm run build && node scripts/online-test.js", "clean": "rimraf dist", "lint": "biome lint ./src", "lint:fix": "biome lint --write ./src", "format": "biome format --write ./src ./test", "type-check": "tsc --noEmit --skipLibCheck", "prepublishOnly": "npm run clean && npm run lint && npm run type-check && npm run test && npm run build", "version:dev": "npm version --no-git-tag-version prerelease --preid=dev", "version:patch": "npm version --no-git-tag-version patch", "version:minor": "npm version --no-git-tag-version minor", "version:major": "npm version --no-git-tag-version major", "publish:dev": "npm publish --registry=http://registry.dig.run/ --tag dev", "publish:prod": "npm publish --registry=https://registry.npmjs.org/" }, "devDependencies": { "@biomejs/biome": "^1.9.4", "@types/node": "^22.15.17", "@vitest/coverage-v8": "^3.1.3", "did-resolver": "^4.1.0", "rimraf": "^6.0.1", "typescript": "^5.8.3", "vitest": "^3.1.3" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "keywords": [ "keys", "key-generation", "cryptography", "ed25519", "x25519", "secp256k1", "wireguard", "zero-dependency", "security", "synet" ], "author": "Synet Team", "homepage": "https://synthetism.ai", "email": "core@synthetism.ai", "license": "MIT", "engines": { "node": ">=18.0.0" }, "dependencies": { "@synet/unit": "^1.0.5" } }