{"_id":"is-url-superb","_rev":"1373242","name":"is-url-superb","description":"Check if a string is a URL","dist-tags":{"latest":"6.1.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-11-02T23:06:04.000Z","created":"2014-11-26T08:14:01.936Z","6.1.0":"2021-11-01T13:03:05.262Z","6.0.0":"2021-04-17T18:24:23.515Z","5.0.0":"2020-11-29T16:07:08.062Z","4.0.0":"2020-06-14T09:43:11.176Z","3.0.0":"2019-04-21T13:52:40.566Z","2.0.0":"2015-06-22T16:33:37.556Z","1.0.1":"2014-11-26T12:42:21.414Z","1.0.0":"2014-11-26T08:14:01.936Z"},"users":{"rocket0191":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-url-superb.git"},"versions":{"6.1.0":{"name":"is-url-superb","version":"6.1.0","description":"Check if a string is a URL","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-url-superb.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["url","uri","string","validate","check","is"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"3f65908bc2e66c0c5f58d9f97db11ab9772f4821","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb#readme","_id":"is-url-superb@6.1.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"182f0d92b482412afeadfba8e6ea2c76680e3631","size":1710,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-6.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-url-superb_6.1.0_1635771785130_0.7629129019887337"},"_hasShrinkwrap":false,"publish_time":1635771785262,"_cnpm_publish_time":1635771785262},"6.0.0":{"name":"is-url-superb","version":"6.0.0","description":"Check if a string is a URL","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-url-superb.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["url","uri","string","validate","check","is"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"23ceca9e01fec6e23a2ccaeb1677c39cab755496","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb#readme","_id":"is-url-superb@6.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d8d235d4ad00a456aeeebea906df5f23c1ec2271","size":1520,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-6.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-url-superb_6.0.0_1618683863396_0.5731514659407062"},"_hasShrinkwrap":false,"publish_time":1618683863515,"_cnpm_publish_time":1618683863515},"5.0.0":{"name":"is-url-superb","version":"5.0.0","description":"Check if a string is a URL","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-url-superb.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["url","uri","string","validate","check","is"],"devDependencies":{"ava":"^2.4.0","tsd":"^0.13.1","xo":"^0.35.0"},"gitHead":"cd72e3929d12f3144ff2f3170ea67c2d641f02a9","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb#readme","_id":"is-url-superb@5.0.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8b3c0ce1ceacaa7561fefb9510018106091dccf5","size":1532,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-5.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-url-superb_5.0.0_1606666027819_0.14104702719001505"},"_hasShrinkwrap":false,"publish_time":1606666028062,"_cnpm_publish_time":1606666028062},"4.0.0":{"name":"is-url-superb","version":"4.0.0","description":"Check if a string is a URL","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-url-superb.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["url","uri","string","validate","check","is"],"devDependencies":{"ava":"^2.4.0","tsd":"^0.11.0","xo":"^0.32.0"},"gitHead":"69aa1f432ace2a5eba04366bb450fecad762b5b4","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb#readme","_id":"is-url-superb@4.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b54d1d2499bb16792748ac967aa3ecb41a33a8c2","size":1567,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-url-superb_4.0.0_1592127790997_0.5603080948115688"},"_hasShrinkwrap":false,"publish_time":1592127791176,"_cnpm_publish_time":1592127791176},"3.0.0":{"name":"is-url-superb","version":"3.0.0","description":"Check if a string is a URL","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-url-superb.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["url","uri","string","validate","check","is"],"dependencies":{"url-regex":"^5.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"c07eb48ce4c81510178c000f896469b34e505de5","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb#readme","_id":"is-url-superb@3.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b9a1da878a1ac73659047d1e6f4ef22c209d3e25","size":1616,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-url-superb_3.0.0_1555854760405_0.8546486796230157"},"_hasShrinkwrap":false,"publish_time":1555854760566,"_cnpm_publish_time":1555854760566},"2.0.0":{"name":"is-url-superb","version":"2.0.0","description":"Check if a string is an URL","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-url-superb"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["url","uri","string","validate","check","is"],"dependencies":{"url-regex":"^3.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"23617d3460cc5c5a54302888f8b11de5e7ec7079","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb","_id":"is-url-superb@2.0.0","_shasum":"b728a18cf692e4d16da6b94c7408a811db0d0492","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b728a18cf692e4d16da6b94c7408a811db0d0492","size":1581,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1434990817556,"_cnpm_publish_time":1434990817556,"_hasShrinkwrap":false},"1.0.1":{"name":"is-url-superb","version":"1.0.1","description":"Check if a string is an URL","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-url-superb"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["url","uri","string","validate","check","is"],"dependencies":{"url-regex":"^2.0.3"},"devDependencies":{"ava":"0.0.4"},"gitHead":"fbe010d5d5f0463b732bc5a03b056a27eec3a294","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb","_id":"is-url-superb@1.0.1","_shasum":"3b7cb0a62f9b45adaea59d900cde34915baeed0c","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"3b7cb0a62f9b45adaea59d900cde34915baeed0c","size":1568,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-1.0.1.tgz"},"directories":{},"publish_time":1417005741414,"_cnpm_publish_time":1417005741414,"_hasShrinkwrap":false},"1.0.0":{"name":"is-url-superb","version":"1.0.0","description":"Check if a string is an URL","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-url-superb"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["url","uri","string","validate","check","is"],"dependencies":{"url-regex":"^2.0.3"},"devDependencies":{"ava":"0.0.4"},"gitHead":"8d9002e297603c3c9f82d8d6f914f4b9d9c08924","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"homepage":"https://github.com/sindresorhus/is-url-superb","_id":"is-url-superb@1.0.0","_shasum":"9f8d9ffaf3771dbdfc2b0d9212b52518ecb07d02","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"9f8d9ffaf3771dbdfc2b0d9212b52518ecb07d02","size":908,"noattachment":false,"key":"/is-url-superb/-/is-url-superb-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-url-superb/download/is-url-superb-1.0.0.tgz"},"directories":{},"publish_time":1416989641936,"_cnpm_publish_time":1416989641936,"_hasShrinkwrap":false}},"readme":"# is-url-superb\n\n> Check if a string is a URL\n\n## Install\n\n```\n$ npm install is-url-superb\n```\n\n## Usage\n\n```js\nimport isUrl from 'is-url-superb';\n\nisUrl('https://sindresorhus.com');\n//=> true\n\nisUrl('unicorn');\n//=> false\n```\n\n## API\n\n### isUrl(string, options?)\n\n#### options\n\nType: `object`\n\n##### lenient\n\nType: `boolean`\\\nDefault: `false`\n\nAllow URLs without a protocol.\n\n```js\nimport isUrl from 'is-url-superb';\n\nisUrl('example.com');\n//=> false\n\nisUrl('example.com', {lenient: true});\n//=> true\n```\n\n## Related\n\n- [is](https://github.com/sindresorhus/is) - Type check values\n","_attachments":{},"homepage":"https://github.com/sindresorhus/is-url-superb#readme","bugs":{"url":"https://github.com/sindresorhus/is-url-superb/issues"},"license":"MIT"}