Socket
Book a DemoInstallSign in
Socket

wanip

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wanip

get the wan ipv4 from different resolvers

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

wanip

get the wan ipv4 from different resolvers

prerequisites

  • access to curl, dig and tr

pure typescript package

your relevant webpack.config.js should look like this

module: {
    rules: [
        {
            test: /\.ts$/,
            loader: 'ts-loader',
            options: {
                allowTsInNodeModules: true
            }
        }
    ]
},

your relevant tsconfig.json should look like this

"include": [
    "src/**/*",
    "node_modules/wanip"
]

If you have to use js, you can require it via

const checkipv4 = require('wanip/dist').checkIpv4;

Keywords

wan

FAQs

Package last updated on 12 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts