UNPKG

nest-feature-guard

Version:

A powerful, NestJS-first feature flag guard and decorator library with Redis caching support. Perfect for implementing feature toggles, A/B testing, gradual rollouts, and user-specific feature access control.

75 lines (74 loc) 1.92 kB
{ "name": "nest-feature-guard", "version": "0.0.4", "description": "A powerful, NestJS-first feature flag guard and decorator library with Redis caching support. Perfect for implementing feature toggles, A/B testing, gradual rollouts, and user-specific feature access control.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "clean": "rm -rf dist", "build": "npm run clean && tsc", "prepare": "npm run build", "prepublishOnly": "npm run build" }, "keywords": [ "nestjs", "feature-flags", "feature-toggles", "feature-gates", "a-b-testing", "gradual-rollout", "canary-deployment", "user-targeting", "access-control", "redis", "decorators", "guards", "typescript", "progressive-enhancement", "beta-features", "experimental-features" ], "author": "Gbenga Omowole <omowole.gbenga@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/creativogee/feature-guard.git" }, "bugs": { "url": "https://github.com/creativogee/feature-guard/issues" }, "homepage": "https://github.com/creativogee/feature-guard#readme", "files": [ "dist", "README.md", "LICENSE" ], "dependencies": { "@nestjs/common": "^11.1.1", "@nestjs/core": "^11.1.1", "reflect-metadata": "^0.2.2" }, "peerDependencies": { "ioredis": "^5.0.0" }, "peerDependenciesMeta": { "ioredis": { "optional": true } }, "devDependencies": { "@nestjs/testing": "^11.1.1", "@types/express": "^4.17.21", "@types/jest": "^29.5.14", "@types/node": "^20.11.24", "@types/supertest": "^6.0.2", "ioredis-mock": "^8.9.0", "jest": "^29.7.0", "supertest": "^7.1.1", "ts-jest": "^29.3.4", "typescript": "^5.8.3" } }