New: Introducing PHP and Composer Support.Read the Announcement
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

Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
3
-40%
Maintainers
1
Weekly downloads
 
Created
Source

wanip

get the wan ipv4 from different resolvers

prerequisites

  • access to curl and dig

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/src/**/*"
]

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

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

Keywords

wan

FAQs

Package last updated on 15 Feb 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