UNPKG

@mpoonuru/paseto

Version:

Modern PASETO (Platform-Agnostic Security Tokens) for Node.js with TypeScript support and V4 LOCAL encryption

81 lines (79 loc) 2.2 kB
{ "name": "@mpoonuru/paseto", "version": "4.0.1", "description": "Modern PASETO (Platform-Agnostic Security Tokens) for Node.js with TypeScript support and V4 LOCAL encryption", "keywords": [ "paseto", "security", "tokens", "encryption", "authentication", "v4-local", "typescript", "xchacha20", "blake2b", "ed25519" ], "homepage": "https://github.com/mpoonuru/paseto", "repository": { "type": "git", "url": "https://github.com/mpoonuru/paseto.git" }, "license": "MIT", "author": "Arjun Poonuru <arjun@poonuru.com>", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE.md" ], "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts --clean", "build:watch": "tsup src/index.ts --format cjs,esm --dts --watch", "dev": "vitest", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:types": "tsc --noEmit", "lint": "eslint src test --ext .ts,.js", "lint:fix": "eslint src test --ext .ts,.js --fix", "format": "prettier --write src test", "format:check": "prettier --check src test", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build && npm run test && npm run typecheck", "release": "changeset publish" }, "dependencies": { "@stablelib/xchacha20poly1305": "^2.0.1", "@stablelib/blake2b": "^2.0.1", "@stablelib/random": "^2.0.1" }, "devDependencies": { "@changesets/cli": "^2.27.1", "@types/node": "^20.11.17", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitest/coverage-v8": "^1.2.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "prettier": "^3.2.5", "tsup": "^8.0.1", "typescript": "^5.3.3", "vitest": "^1.2.2" }, "engines": { "node": ">=20.0.0" }, "packageManager": "npm@10.0.0" }