1.1.1 • Published 5 years ago

@studiowebux/ip v1.1.1

Weekly downloads
2
License
SEE LICENSE IN li...
Repository
github
Last release
5 years ago

Webux IP

This module retrieve the client IP within the req parameter

Installation

npm i --save webux-ip

Usage

const webuxIP = require('webux-ip');
const express = require('express');
const app = express();

app.get('/', (req, res) => {
  return res.status(200).json({
    msg: "Bonjour !",
    ip: webuxIP(req)
  });
});

app.listen(1337);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

SEE LICENSE IN license.txt

1.1.1

5 years ago

1.0.2

5 years ago