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

1.0.6 • Public • Published

💫 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}`);
});

Readme

Keywords

none

Package Sidebar

Install

npm i keyskin

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

103 kB

Total Files

14

Last publish

Collaborators

  • ice1