1.0.6 • Published 3 months ago

keyskin v1.0.6

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

💫 Keyskin

Easy and fast express monitoring.

Preview

preview

Different from typical monitoring services

  • Provides user experience gui.
  • Easy and simple monitoring settings.
  • Good library for express users.

Installation

$ npm install keyskin@latest

Usage

const { default: Keyskin } = require(`keyskin`);

const keyskin = new Keyskin();

keyskin.use((req, res, next) => {
    console.log(req.method);
    next();
});

keyskin.on(`get`, `/json`, (req, res) => {
    res.setHeader(`Content-type`, `application/json`);
    res.send({ a: 1, b: 2, c: 3 });
});

keyskin.listen(8080, () => {
    console.log(`localhost:${keyskin.port}`);
});
1.0.6

3 months ago

1.0.0

4 months ago