2.1.0 • Published 3 years ago
schoolsoft v2.1.0
node-schoolsoft
A SchoolSoft API wrapper for both the browser and Node.js!
Features
- Zero dependencies!
- Built with TypeScript and comes with types!
- Utilises the native
fetchAPI!- Works with the browser, Node.js v18+, and frameworks that implement the
fetchAPI like Next.js!
- Works with the browser, Node.js v18+, and frameworks that implement the
- Uses ESM instead of CommonJS!
Disclaimer
This library has not been tested with guardian nor staff accounts, so please be aware that it's highly unlikely they will work with this API wrapper.
Installation
npm i schoolsoftDocumentation
No documentation yet, but check out the source code and the testing file for all methods available.
Testing
Testing is implemented with jest. Here's how to run the test cases:
Create a
.envfile with the environment variables found in__tests__/environment.d.tsin the root directory.Run the test cases with
npm test.
Credits
Thank you to this repository for giving me a head start.