UNPKG

parse-cosekey

Version:

Parse COSE(CBOR Object Signing and Encryption) to JWK(JSON Web Key) or PEM.

62 lines (61 loc) 1.73 kB
{ "name": "parse-cosekey", "version": "1.0.2", "description": "Parse COSE(CBOR Object Signing and Encryption) to JWK(JSON Web Key) or PEM.", "main": "index.js", "types": "dist/index.d.ts", "files": [ "index.js", "dist/" ], "scripts": { "clean": "rm -rf dist/*", "test:only": "tap __test__/**/* --ts --no-check-coverage --timeout=300", "test": "npm run build && npm run test:only", "prebuild": "npm run clean", "build": "tsc", "doc": "typedoc --entryPoints src --entryPointStrategy expand --out ./docs --plugin ./node_modules/@youlin/typedoc-theme-hierarchy/dist/index.js --theme hierarchy", "lint": "eslint" }, "author": "s1r-J", "license": "Apache-2.0", "keywords": [ "cose", "jwk", "pem", "certificate", "webauthn", "fido", "fido2" ], "repository": { "type": "git", "url": "https://github.com/s1r-J/parse-cosekey.git" }, "bugs": { "url": "https://github.com/s1r-J/parse-cosekey/issues" }, "homepage": "https://s1r-j.github.io/parse-cosekey/", "devDependencies": { "@types/node": "^16.11.3", "@types/tap": "^15.0.6", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "@youlin/typedoc-theme-hierarchy": "^1.0.2", "coveralls": "^3.1.1", "eslint": "^8.0.1", "eslint-config-prettier": "^8.3.0", "gh-pages": "^4.0.0", "prettier": "^2.4.1", "tap": "^16.0.1", "ts-node": "^10.3.1", "typedoc": "^0.22.17", "typescript": "^4.4.4" }, "dependencies": { "cbor": "^8.0.2", "extensible-custom-error": "0.0.7", "jose": "^4.6.0", "str2ab": "^1.1.0" } }