Nodejs client for Clearip web-service API to determine location of visitors based on their IP.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.eslintignore
.eslintrc
.gitignore
.travis.yml
package.json
readme.md
yarn.lock

readme.md

clear ip node library

client library for clear ip

Installation

yarn add clearip

usage

Get ip info:

const Clearip = require("./package/dist/index");

const main = async () => {
  const clearIpClient = new Clearip.Client("api key here");

  const response = await clearIpClient.Ipinfo.getIpInfo("ip here");
  console.log(response);
};

Contributing

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

Please make sure to update tests as appropriate.

License

MIT