@esm2cjs/is-ip
Version:
Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.
84 lines (83 loc) • 1.35 kB
JSON
{
"name": "@esm2cjs/is-ip",
"version": "4.0.0",
"description": "Check if a string is an IP address. This is a fork of sindresorhus/is-ip, but with CommonJS support.",
"license": "MIT",
"repository": "esm2cjs/is-ip",
"funding": "https://github.com/sponsors/AlCalzone",
"author": {
"name": "Dominic Griesel",
"email": "d.griesel@gmx.net"
},
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"cjs/",
"esm/"
],
"keywords": [
"ip",
"ipv6",
"ipv4",
"regex",
"regexp",
"match",
"test",
"find",
"text",
"pattern",
"internet",
"protocol",
"address",
"validate",
"detect",
"check",
"is",
"string"
],
"dependencies": {
"@esm2cjs/ip-regex": "^5.0.0"
},
"devDependencies": {
"ava": "^3.15.0",
"tsd": "^0.19.1",
"xo": "^0.47.0"
},
"publishConfig": {
"access": "public"
},
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"typesVersions": {
"*": {
"esm/index.d.ts": [
"esm/index.d.ts"
],
"cjs/index.d.ts": [
"esm/index.d.ts"
],
"*": [
"esm/*"
]
}
},
"xo": {
"ignores": [
"cjs",
"**/*.test-d.ts",
"**/*.d.ts"
]
}
}