noffy

1.0.0 • Public • Published

noffy

Using the nodecli-gui to Monitor Servers

Noffy NPM Noffy Github
Go NPM Go Github

Usage

import express from 'express';
import requestIp from 'request-ip';
import noffy from 'noffy';

const app = express();

app.use(requestIp.mw());
app.use(noffy());

app.post(`/post`, (req, res) => {
    res.send(`siiiii`);
});

app.get(`/`, (req, res) => {
    fetch(`http://127.0.0.1:8080/post`, {
        method: `POST`,
        body: JSON.stringify({})
    });

    res.send(`send`);
});

app.listen(8080);

Package Sidebar

Install

npm i noffy

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.44 kB

Total Files

5

Last publish

Collaborators

  • ice1