pioche-extras
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

-extras

**PIOCHE/PIOCHE-EXTRAS IS A WORK IN PROGRESS AND DOES NOT YET FUNCTION**

TypeScript first framework for Cloudflare Workers enabling lightning fast development and execution

npm version

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

License

MIT

Package Sidebar

Install

npm i pioche-extras

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

215 kB

Total Files

28

Last publish

Collaborators

  • gepeake