pioche-extras
v0.1.2
Published
Prebuilt utilities for the pioche framework
Downloads
6
Maintainers
Readme
Note: This repository is extra features built on top of pioche, to use these features install pioche first
🔋 Tree Shakeable Batteries For Pioche
- [ ] Password & OAuth controllers
- [x] WebSocket logging utility
- [ ] Configurable CORS middleware
💾 Installation
To install just run
npm install pioche-extras
Then to implement the features just use them as you would normal pioche controllers and middleware
import { DiscordAuthController } from 'pioche-extras/discordauthcontroller';
export { DiscordAuthController } from 'pioche-extras/discordauthcontroller';
...
Router.register(DiscordAuthController, {binding = "DISCORDAUTH"});
...
Now you can login to your API using discord!
People
Pioche was created by Garrett Peake