
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@blitzm/doccy
Advanced tools
Doccy is a documentation tool for GRPC APIs.
Doccy includes a CLI program that can be used to generate a static JSON file that represents your GRPC Proto Spec.
Doccy also includes a React component that can use the generated JSON file to render documentation inside your website.
See the "./example" directory to see a minimal React application that shows
the Doccy's <DoccyPage protojson={require('../doccyprotos.json')} /> component.
npm install @blitzm/doccy
# see usage
./node_modules/.bin/doccy --help
# generate a doccyprotos.json file from
# a directory containing .proto files
./node_modules/.bin/doccy -o doccyprotos.json ./path/to/protos/**/*.proto
import { DoccyPage } from '@blitzm/doccy';
export function Documentation() {
return (
<DoccyPage protojson={require('./doccyprotos.json')} />
);
}
To develop doccy you can use the "./example" project.
There's an included script called ./doccy.sh that runs the doccy CLI from source using ts-node.
You can use this script to run the doccy CLI from source to generate test doccyprotos.json files.
The example project is a small React app that imports DoccyPage from the lib directory.
To develop the <DoccyPage /> component you can run the example app:
cd ./example
./doccy.sh -o doccyprotos.json ../../path/to/some/protos/**/*.proto
npm install
npm start
# build the image
docker build -t website .
# run the container (localhost:3000)
docker run --rm -it -p 3000:80 website`
FAQs
## Overview
The npm package @blitzm/doccy receives a total of 4 weekly downloads. As such, @blitzm/doccy popularity was classified as not popular.
We found that @blitzm/doccy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.