{"_id":"@bluejeans/flexdoc-backend","_rev":"9-99b24bf7954f0a2b66a05eca6f455d33","name":"@bluejeans/flexdoc-backend","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@bluejeans/flexdoc-backend","version":"1.0.0","keywords":["openapi","swagger","documentation","api","nestjs","express","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"MIT","_id":"@bluejeans/flexdoc-backend@1.0.0","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth":"dist/scripts/generate-auth.js"},"dist":{"shasum":"29750b75e5883a994e0d4f90dba3cea3d2b49361","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-1.0.0.tgz","fileCount":41,"integrity":"sha512-pKHm74/XZ19c1Gb4usmKf2gtsmAHIeRiMUd7GsXaqO/cKQw4jXgqU73Ug8by+3KByW10Y+EpR5KOFMeQfksvMg==","signatures":[{"sig":"MEUCIQCKYwkPHYp89EZFdutRazVUg6NumaZQu0NsUnFkctv2WgIgXhUxfcWZVi6KJ6WdOVPskwOeVl4c7ZHQ2crdSqHxamA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":323104},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c6700b0644a375fff091d8ed46007a2715b6de0f","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && npm run copy-templates","test:watch":"jest --watch","test:coverage":"jest --coverage","copy-templates":"copyfiles -u 2 src/templates/**/*.njk dist/templates/","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"bluejeans","actor":{"name":"bluejeans","type":"user","email":"vishnurajesh45@gmail.com"},"email":"vishnurajesh45@gmail.com"},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"10.8.2","description":"FlexDoc backend integration for NestJS and other frameworks","directories":{},"_nodeVersion":"20.19.2","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_1.0.0_1751467494007_0.9596976278270504","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bluejeans/flexdoc-backend","version":"1.0.1","keywords":["openapi","swagger","documentation","api","nestjs","express","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"MIT","_id":"@bluejeans/flexdoc-backend@1.0.1","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth-generator":"dist/scripts/generate-auth.js"},"dist":{"shasum":"7a8a052951a6ea423141aee06370078894e4c8c6","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-1.0.1.tgz","fileCount":41,"integrity":"sha512-XbdI0y/5x+zVEOVEM22WCUxrukIMmXsn9GT05usmnnqfnfwN2sB+yKBoA53vqmTjlD2CkD5PJxKA/dcxvKycvA==","signatures":[{"sig":"MEYCIQDJK5NxtiqnGDryb593ELPaaZymb+ueJl+xOyBEYyHE0gIhAMVfgFksbkbBZ0vWZkqUqR4U8Ub9mrEZ4/lS5Zgoj+jk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":323389},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"bcbae80f25ca037af31df930aa077d8ca339c34d","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && npm run copy-templates","test:watch":"jest --watch","test:coverage":"jest --coverage","copy-templates":"copyfiles -u 2 src/templates/**/*.njk dist/templates/","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"bluejeans","actor":{"name":"bluejeans","type":"user","email":"vishnurajesh45@gmail.com"},"email":"vishnurajesh45@gmail.com"},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"10.8.2","description":"FlexDoc backend integration for NestJS and other frameworks","directories":{},"_nodeVersion":"20.19.2","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_1.0.1_1751468782187_0.8345848288827669","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bluejeans/flexdoc-backend","version":"1.0.2","keywords":["openapi","swagger","documentation","api","nestjs","express","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"MIT","_id":"@bluejeans/flexdoc-backend@1.0.2","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth-generator":"dist/scripts/generate-auth.js"},"dist":{"shasum":"aaaeb667e09d5d582b22df087ef36cd009cc55ef","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-1.0.2.tgz","fileCount":42,"integrity":"sha512-dr00M3QYzUOd/+ZfJyMJ0sGRsvuk4YESSSv1AnvnIXfpXQu+pu1JfJRZSw4/fA9zgIDCa7iBX1x9BzLQ++bS9Q==","signatures":[{"sig":"MEYCIQD2+BiLrzCw5GjHDMv+x3R0DeIjfBVHZhsBcliKeznM4AIhANj4HKOsvYHffeWoHfh263ZsclrMZO5SCcfJP3B/6vgM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":329791},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"07ff9775af356c96ef85354660685a13a89c3cf6","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && npm run copy-templates","test:watch":"jest --watch","test:coverage":"jest --coverage","copy-templates":"copyfiles -u 2 src/templates/**/*.njk dist/templates/","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"bluejeans","actor":{"name":"bluejeans","type":"user","email":"vishnurajesh45@gmail.com"},"email":"vishnurajesh45@gmail.com"},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"10.8.2","description":"FlexDoc backend integration for NestJS and other frameworks","directories":{},"_nodeVersion":"20.19.2","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_1.0.2_1751484604922_0.30819903788917524","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bluejeans/flexdoc-backend","version":"1.0.3","keywords":["openapi-docs","api-explorer","swagger-ui","documentation","api-docs","doc-generator","nestjs","express","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"AGPL-3.0-or-later","_id":"@bluejeans/flexdoc-backend@1.0.3","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth-generator":"dist/scripts/generate-auth.js"},"dist":{"shasum":"127e25ba0471a5638b26e43537d8da0f6e19d83d","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-1.0.3.tgz","fileCount":42,"integrity":"sha512-1ExNIZfaUNgvaVUrb6g1DEPZbSEUajcnJSL7tTfycs7hGtw0nYITK2BT6EP1tacWBLMsSxHfkGfErJqKF/6Q/Q==","signatures":[{"sig":"MEYCIQCUDTsDqoj3w8Z1okdBriuzh+Wsvcb6RvV+hHXxicH+QgIhAPX//t+vvm2WK2mBGxPJ8hFu+Sytg8kGACDrV2m3N2eG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":322606},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d1bafd1396b1864e5f72420bb4c7540a0b75f366","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && npm run copy-templates","test:watch":"jest --watch","test:coverage":"jest --coverage","copy-templates":"copyfiles -u 2 ../../templates/**/*.njk dist/","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"bluejeans","email":"vishnurajesh45@gmail.com"},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"10.8.2","description":"FlexDoc backend integration for NestJS and other frameworks","directories":{},"_nodeVersion":"20.19.3","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_1.0.3_1752349154022_0.47631843624629533","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bluejeans/flexdoc-backend","version":"2.0.0","keywords":["openapi","openapi-docs","api-explorer","documentation","nestjs","express","fastify","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"AGPL-3.0-or-later","_id":"@bluejeans/flexdoc-backend@2.0.0","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth-generator":"dist/scripts/generate-auth.js"},"dist":{"shasum":"27fa197ba1614b5b3476d38ef9a8bd9b59eeb967","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-2.0.0.tgz","fileCount":44,"integrity":"sha512-xN5fNFaG/yBVyc/NRRR10hCeI+Qi8wDfNAIp1eVI24saCOau+Iydo36C+OBiP7I8vYqY454uC08/4QrIcsHKtw==","signatures":[{"sig":"MEQCIA4FOnseWj5NFoK12kE2gIixzLHqe8HWyZ26TogC6aD0AiAGDXj4UH6ui9PrWRrItatFF+/1sZ/rwMcVDts4oxEweg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bluejeans%2fflexdoc-backend@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":570668},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"67ca5dc0e3efce02988ac917a75aa3ad71a68025","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && node scripts/copy-renderer.js","test:watch":"jest --watch","test:coverage":"jest --coverage","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b897d945-3348-41e3-8f31-9d5eae3bf3eb"}},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"11.19.1","description":"Thin self-hosted FlexDoc integrations for Express, Fastify, and NestJS","directories":{},"_nodeVersion":"24.19.0","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_2.0.0_1788086018508_0.5422354560892741","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@bluejeans/flexdoc-backend","version":"2.0.1","keywords":["openapi","openapi-docs","api-explorer","documentation","nestjs","express","fastify","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"AGPL-3.0-or-later","_id":"@bluejeans/flexdoc-backend@2.0.1","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth-generator":"dist/scripts/generate-auth.js"},"dist":{"shasum":"7ed38315b7fe7bc922e34b4e9eebe3587954492c","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-2.0.1.tgz","fileCount":44,"integrity":"sha512-EP6GfGhXf2zL9Kw/L7c8lJ5aA8yKVAQ1dQZ5bUdEQiCRj5Szs29mm5K/kP6DF/G97rBO16lgQAKyKwDfan7mBQ==","signatures":[{"sig":"MEYCIQDSUYQB594j+xAQWM0w/9y9OKAfsjlJVN2CG54AsemyCAIhAMtPgiG/QZi5QRpbrF27U7gRh2H8C44tGXTW3QfGjE7I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bluejeans%2fflexdoc-backend@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":570668},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d80dce8c54a2590d43a7cba6f441d60a5d1ea5c5","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && node scripts/copy-renderer.js","test:watch":"jest --watch","test:coverage":"jest --coverage","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b897d945-3348-41e3-8f31-9d5eae3bf3eb"}},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"11.19.1","description":"Thin self-hosted FlexDoc integrations for Express, Fastify, and NestJS","directories":{},"_nodeVersion":"24.19.0","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_2.0.1_1788089168464_0.4362143788400352","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@bluejeans/flexdoc-backend","version":"2.0.2","keywords":["openapi","openapi-docs","api-explorer","documentation","nestjs","express","fastify","typescript"],"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"AGPL-3.0-or-later","_id":"@bluejeans/flexdoc-backend@2.0.2","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"homepage":"https://github.com/bluejeans117/flexdoc#readme","bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"bin":{"flexdoc-auth-generator":"dist/scripts/generate-auth.js"},"dist":{"shasum":"f76796ce01b59bdad8a66529eec1af1676a64a41","tarball":"https://registry.npmjs.org/@bluejeans/flexdoc-backend/-/flexdoc-backend-2.0.2.tgz","fileCount":44,"integrity":"sha512-Dkxk/XtD2btu1Qhsx15trxfGpOWzJMp8jF0Aw5McxRp8Bo/PZNq784z3O0WlUE7eu37XJlBgvFfwu/4NBLdVxw==","signatures":[{"sig":"MEYCIQD2bactv9HnNKQsvnZwCNJYPSemUSZRS3Q2v7Ef0kuJ1gIhAM/g/5WlU0G4nboL3K8aTuJ5+CxQ/Yz4sPk4Xzibm/OI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bluejeans%2fflexdoc-backend@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":570668},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4cd4ef35a02ce3bc99f57c23b54ec68727e961c","scripts":{"dev":"tsc --watch","test":"jest","build":"tsc && node scripts/copy-renderer.js","test:watch":"jest --watch","test:coverage":"jest --coverage","generate:basic":"npx ts-node src/scripts/generate-auth.ts basic","prepublishOnly":"npm run build","generate:bearer":"npx ts-node src/scripts/generate-auth.ts bearer"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b897d945-3348-41e3-8f31-9d5eae3bf3eb"}},"deprecated":"This package has moved to @prauga/flexdoc-backend. Please migrate to the @prauga scope; @bluejeans/flexdoc-backend is no longer maintained.","repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"_npmVersion":"11.19.1","description":"Thin self-hosted FlexDoc integrations for Express, Fastify, and NestJS","directories":{},"_nodeVersion":"24.19.0","dependencies":{"yargs":"^17.7.2","nunjucks":"^3.2.4","jsonwebtoken":"^9.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","ts-node":"^10.9.2","copyfiles":"^2.4.1","typescript":"^5.0.0","@types/jest":"^29.5.0","@types/node":"^20.0.0","@nestjs/core":"^11.1.3","@types/yargs":"^17.0.32","@nestjs/common":"^11.1.3","@nestjs/testing":"^11.1.3","@types/nunjucks":"^3.2.6","@types/jsonwebtoken":"^9.0.5"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0"},"peerDependenciesMeta":{"@nestjs/core":{"optional":true},"@nestjs/common":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/flexdoc-backend_2.0.2_1788091387579_0.4088461383178372","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-07-02T14:44:53.906Z","modified":"2026-08-31T07:46:20.408Z","1.0.0":"2025-07-02T14:44:54.193Z","1.0.1":"2025-07-02T15:06:22.374Z","1.0.2":"2025-07-02T19:30:05.111Z","1.0.3":"2025-07-12T19:39:14.220Z","2.0.0":"2026-08-30T10:33:38.644Z","2.0.1":"2026-08-30T11:26:08.644Z","2.0.2":"2026-08-30T12:03:07.728Z"},"bugs":{"url":"https://github.com/bluejeans117/flexdoc/issues"},"author":{"name":"Vishnu R","email":"vishnurajesh45@gmail.com"},"license":"AGPL-3.0-or-later","homepage":"https://github.com/bluejeans117/flexdoc#readme","keywords":["openapi","openapi-docs","api-explorer","documentation","nestjs","express","fastify","typescript"],"repository":{"url":"git+https://github.com/bluejeans117/flexdoc.git","type":"git","directory":"packages/backend"},"description":"Thin self-hosted FlexDoc integrations for Express, Fastify, and NestJS","maintainers":[{"name":"bluejeans","email":"vishnurajesh45@gmail.com"}],"readme":"# FlexDoc Backend\n\n[![npm version](https://img.shields.io/npm/v/@bluejeans/flexdoc-backend.svg)](https://www.npmjs.com/package/@bluejeans/flexdoc-backend)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nThe backend package for FlexDoc, a modern, customizable OpenAPI documentation generator that creates beautiful API documentation.\n\n## Screenshots\n\n### Light Mode\n\n![FlexDoc Light Mode](./images/flexdoc-light.png)\n\n### Dark Mode\n\n![FlexDoc Dark Mode](./images/flexdoc-dark.png)\n\n## Features\n\n- **Modern UI**: Clean, responsive interface with dark mode support\n- **Customizable**: Easily customize colors, typography, and layout\n- **Interactive**: Test API endpoints directly from the documentation\n- **Framework Agnostic**: Works with any JavaScript framework\n- **OpenAPI Compatible**: Supports OpenAPI 3.0 specifications\n\n## Installation\n\n```bash\nnpm install @bluejeans/flexdoc-backend\n```\n\n## Usage\n\n### Basic Usage\n\n```typescript\nimport { FlexDoc } from '@bluejeans/flexdoc-backend';\nimport { OpenAPIObject } from '@nestjs/swagger';\n\n// Create a new FlexDoc instance with your OpenAPI spec\nconst flexdoc = new FlexDoc({\n  spec: yourOpenAPISpec as OpenAPIObject,\n  title: 'My API Documentation',\n  description: 'Documentation for my awesome API',\n});\n\n// Generate HTML documentation\nconst html = flexdoc.generateHTML();\n\n// Serve the documentation\napp.get('/api/docs', (req, res) => {\n  res.send(html);\n});\n```\n\n### Configuration Options\n\nFlexDoc is highly customizable through the `FlexDocOptions` interface:\n\n```typescript\nimport { FlexDoc, FlexDocOptions } from '@bluejeans/flexdoc-backend';\n\nconst options: FlexDocOptions = {\n  // Required\n  spec: yourOpenAPISpec,\n\n  // Basic metadata\n  title: 'My API Documentation',\n  description: 'Documentation for my awesome API',\n\n  // Theme configuration\n  themeConfig: {\n    colors: {\n      primary: {\n        main: '#3b82f6',\n        light: '#eff6ff',\n        dark: '#2563eb',\n      },\n      // Additional color options...\n    },\n    typography: {\n      fontFamily: 'Inter, system-ui, sans-serif',\n      fontSize: '16px',\n      // Additional typography options...\n    },\n  },\n\n  // Footer customization\n  footer: {\n    copyright: '© 2025 My Company',\n    links: [\n      {\n        text: 'Terms',\n        url: '/terms',\n        icon: 'file-text', // Optional Lucide icon name\n      },\n      {\n        text: 'Privacy',\n        url: '/privacy',\n      },\n    ],\n  },\n\n  // Additional options...\n};\n\nconst flexdoc = new FlexDoc(options);\n```\n\n### Framework Integration Examples\n\n#### NestJS\n\n```typescript\nimport { NestFactory } from '@nestjs/core';\nimport { SwaggerModule, DocumentBuilder } from '@nestjs/swagger';\nimport { FlexDoc } from '@bluejeans/flexdoc-backend';\nimport { AppModule } from './app.module';\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule);\n\n  // Create OpenAPI spec with Swagger\n  const config = new DocumentBuilder()\n    .setTitle('My API')\n    .setDescription('My API description')\n    .setVersion('1.0')\n    .build();\n  const document = SwaggerModule.createDocument(app, config);\n\n  // Create FlexDoc instance\n  const flexdoc = new FlexDoc({\n    spec: document,\n    title: 'My API Documentation',\n    description: 'Documentation for my awesome API',\n    footer: {\n      copyright: '© 2025 My Company',\n    },\n  });\n\n  // Serve FlexDoc at /api/docs\n  app.use('/api/docs', (req, res) => {\n    res.send(flexdoc.generateHTML());\n  });\n\n  await app.listen(3000);\n}\nbootstrap();\n```\n\n#### Express\n\n```typescript\nimport express from 'express';\nimport { FlexDoc } from '@bluejeans/flexdoc-backend';\nimport swaggerJsdoc from 'swagger-jsdoc';\n\nconst app = express();\n\n// Generate OpenAPI spec\nconst options = {\n  definition: {\n    openapi: '3.0.0',\n    info: {\n      title: 'My API',\n      version: '1.0.0',\n    },\n  },\n  apis: ['./src/routes/*.js'],\n};\nconst openapiSpec = swaggerJsdoc(options);\n\n// Create FlexDoc instance\nconst flexdoc = new FlexDoc({\n  spec: openapiSpec,\n  title: 'My API Documentation',\n});\n\n// Serve FlexDoc\napp.get('/api/docs', (req, res) => {\n  res.send(flexdoc.generateHTML());\n});\n\napp.listen(3000);\n```\n\n## API Reference\n\n### `FlexDoc` Class\n\nThe main class for generating API documentation.\n\n#### Constructor\n\n```typescript\nconstructor(options: FlexDocOptions)\n```\n\n#### Methods\n\n- `generateHTML()`: Generates the HTML documentation\n- `getOpenAPISpec()`: Returns the processed OpenAPI specification\n\n### `FlexDocOptions` Interface\n\nConfiguration options for FlexDoc:\n\n| Property       | Type                            | Description                      |\n| -------------- | ------------------------------- | -------------------------------- |\n| `spec`         | `OpenAPIObject`                 | The OpenAPI specification object |\n| `title`        | `string`                        | Documentation title              |\n| `description`  | `string`                        | Documentation description        |\n| `themeConfig`  | `ThemeConfig`                   | Theme configuration              |\n| `footer`       | `FooterConfig`                  | Footer configuration             |\n| `favicon`      | `string`                        | URL to favicon                   |\n| `customCss`    | `string`                        | Custom CSS to inject             |\n| `customJs`     | `string`                        | Custom JavaScript to inject      |\n| `defaultTheme` | `'light' \\| 'dark' \\| 'system'` | Default theme mode               |\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n","readmeFilename":"README.md"}