NodeJS microservice for serving Sourcegraph search count badges.
Name | Description |
---|---|
q |
The search query to execute |
label |
The text on the left side (default: the search query) |
suffix |
The suffix on the right side after the number of results (default: none) |
# Install dependencies
npm install
# Build TypeScript
npm run build
# Start server
npm start
Name | Default |
---|---|
API_URL |
https://sourcegraph.com/.api/graphql |