1.0.1 • Published 3 years ago

protecc v1.0.1

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

Protecc

Pwotecc youw expwess bwackend wif dis :3.

Howw to Usee

npm i protecc
const express = require('express');
const { protecc, limit } = require('protecc');

const app = express();

app.use(express());

/* put thwis befowe woutes */
protecc(app);

/* if uusing something othew than MongoDB, usee this inswtead :3 */
protecc(app, 0);

/* limit([app], [number of seconds], [maximum]) */
limit(app, 60, 10);

License

MIT © kito0