@karibash/node-access-route
v1.0.1
Published
Parse the http header to determine the client's IP address.
Downloads
2
Maintainers
Readme
node-access-route
Parse the http header to determine the client's IP address.
👏 Getting Started
The basic usage is as follows:
import express from 'express';
import accessRoute from '@karibash/node-access-route';
const app = express();
const port = 3000;
app.get('/', (request, response) => {
response.json(accessRoute(request));
});
app.listen(port, () => {
console.log(`Example app listening at http://127.0.0.1:${port}`);
});
🚀 Installation
$ npm install @karibash/node-access-route
🤝 Contributing
Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
📝 License
Copyright © 2020 @Karibash.
This project is MIT
licensed.