1.0.1 • Published 3 years ago

@karibash/node-access-route v1.0.1

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

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.

1.0.1

3 years ago

1.0.0

3 years ago