UNPKG

@openfga/sdk

Version:

JavaScript and Node.js SDK for OpenFGA

65 lines (64 loc) 1.52 kB
{ "name": "@openfga/sdk", "version": "0.9.0", "description": "JavaScript and Node.js SDK for OpenFGA", "author": "OpenFGA", "keywords": [ "openfga", "authorization", "fga", "fine-grained-authorization", "rebac", "zanzibar" ], "license": "Apache-2.0", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": { "build": "tsc --outDir dist/", "prepublishOnly": "rm -rf dist/ && npm run build", "test": "jest --config ./tests/jest.config.js", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix" }, "dependencies": { "@opentelemetry/api": "^1.9.0", "axios": "^1.8.3", "jose": "^5.10.0", "tiny-async-pool": "^2.1.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.13.10", "@types/tiny-async-pool": "^2.0.3", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "eslint": "^8.57.1", "jest": "^29.7.0", "nock": "^14.0.1", "ts-jest": "^29.2.6", "typescript": "^5.8.2" }, "files": [ "CHANGELOG.md", "LICENSE", "NOTICE.txt", "README.md", "dist" ], "repository": { "type": "git", "url": "git://github.com:openfga/js-sdk.git" }, "bugs": { "url": "https://github.com/openfga/js-sdk/issues" }, "homepage": "https://github.com/openfga/js-sdk#readme", "engines": { "node": ">=16.15.0" }, "publishConfig": { "access": "public", "provenance": true } }