Modules@robinpath/ip
@robinpath/ip
0.1.0PublicIP module for RobinPath.
@robinpath/ip
IP module for RobinPath.
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
| Function | Description |
|---|---|
ip.getMyIp | getMyIp |
ip.geolocate | geolocate |
ip.geolocateBatch | geolocateBatch |
ip.isPrivate | isPrivate |
ip.isValid | isValid |
ip.isIpv4 | isIpv4 |
ip.isIpv6 | isIpv6 |
ip.cidrContains | cidrContains |
ip.cidrRange | cidrRange |
ip.subnetInfo | subnetInfo |
ip.reverseDns | reverseDns |
ip.checkBlacklist | checkBlacklist |
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
@robinpath/json— JSON module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.0 | latest | yesterday |
Related Modules
utilities
1
@dev-tester/hello-world
v2.0.0dev-tester
Updated description
0 downloads
...
utilities
0
@robinpath/apollo
v0.1.1robinpath
Apollo module for RobinPath.
0 downloads
...
utilities
0
@robinpath/archive
v0.1.1robinpath
Create and extract .zip and .tar.gz file archives
0 downloads
...
utilities
0
@robinpath/assert
v0.1.1robinpath
Testing assertions: equal, deepEqual, truthy, falsy, type checks, includes, matches, throws, and more
0 downloads
...
Install
$ robinpath install @robinpath/ip Version0.1.0
LicenseMIT
Unpacked Size3.5 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

