1.0.3 • Published 5 years ago

wanip v1.0.3

Weekly downloads
2
License
AGPL-3.0
Repository
github
Last release
5 years ago

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;
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago