Modules@robinpath/ip

@robinpath/ip

0.1.0Public

IP module for RobinPath.

@robinpath/ip

IP module for RobinPath.

Category Functions Auth License

Why use this module?

The ip module lets you:

  • getMyIp
  • geolocate
  • geolocateBatch
  • isPrivate
  • isValid

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/ip

Quick Start

No credentials needed — start using it right away:

ip.geolocate

Available Functions

FunctionDescription
ip.getMyIpgetMyIp
ip.geolocategeolocate
ip.geolocateBatchgeolocateBatch
ip.isPrivateisPrivate
ip.isValidisValid
ip.isIpv4isIpv4
ip.isIpv6isIpv6
ip.cidrContainscidrContains
ip.cidrRangecidrRange
ip.subnetInfosubnetInfo
ip.reverseDnsreverseDns
ip.checkBlacklistcheckBlacklist

Examples

geolocate

ip.geolocate

geolocateBatch

ip.geolocateBatch

isPrivate

ip.isPrivate

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/ip";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  ip.geolocate
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/ip
Version0.1.0
LicenseMIT
Unpacked Size3.5 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

utilities