UNPKG

@fakerjs/ip

Version:

IP package provides functionality to generate a fake ip value.

36 lines (25 loc) 1.08 kB
<h1 align="center">IP</h1> <p align="center"> IP package provides functionality to generate a fake ip value. </p> <p align="center"> <a href="https://github.com/faker-javascript/ip/releases"><img alt="Version" src="https://img.shields.io/github/release/faker-javascript/ip.svg?label=version&color=green"></a> <img src="https://img.shields.io/npm/dt/@fakerjs/ip"> <img alt="node-current" src="https://img.shields.io/node/v/@fakerjs/ip"> <a href="https://github.com/faker-javascript/ip/actions/workflows/ci.yml"><img src="https://github.com/faker-javascript/ip/actions/workflows/ci.yml/badge.svg"></a> <a href="https://github.com/faker-javascript/ip"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=green" alt="License"></a> </p> ## Install ``` $ npm install --save @fakerjs/ip ``` ## Usage ```js import ip from '@fakerjs/ip'; ip(); //=> 168.195.165.81 ``` ## Tests Run tests ``` npm run test ``` ## License [The MIT License (MIT)](https://github.com/faker-javascript/ip/blob/main/LICENSE.txt) Copyright (c) [Sergey Romanenko](https://github.com/Awilum)