0.1.2 • Published 2 years ago

pioche-extras v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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
  • 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

License

MIT