
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
https://github.com/omkarajagunde/granthai/assets/50138744/35d42210-307e-4cb8-a320-106b661b1593
const GranthAi = require("granthai")
const app = express()
app.use(GranthAi({
docTitle: "..." // optional
key: "..." // optional
baseUrl: "..." // required
}))
Note: If you use nodemon on your server, put openapi.json
(this file is created at the level of server entry point file) to nodemon ignore else documentation will not show up
When the NodeJs server starts up, GranthAi will add a new public route to your server url at /api-docs
, you can simply visit this /api-docs
route to access your generated API Documentation
Absolutely, this tool is completely free to use. Signup here to get updates
FAQs
Nodejs package to generate automatic API documentation
The npm package granthai receives a total of 7 weekly downloads. As such, granthai popularity was classified as not popular.
We found that granthai demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.