stackexchange-api
A Node.js wrapper for the StackExchange API
Disclaimer: WIP. Doesn't work with many endpoints yet.
Features:
- stackexchange-api provides a simple way to access the StackExchange API endpoints
- All complex data types from the API have a corresponding Object
- stackexchange-api is written in TypeScript and every field of every request option / result has (will eventually have) type definitions. As a result, modern editors are able to provide extensive autocompletion.
Installation
Using npm:
npm install --save stackexchange-api
Using yarn:
yarn add stackexchange-api
Usage
Including in a project:
- ES6:
;
- CommonJS:
const StackExchangeApi = ;
Example usage:
;StackExchange;