You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ysyxx e2037fbb59
项目工程内容
2 months ago
..
index.js 项目工程内容 2 months ago
license 项目工程内容 2 months ago
package.json 项目工程内容 2 months ago
readme.md 项目工程内容 2 months ago

readme.md

is-absolute-url Build Status

Check if an URL is absolute

Install

$ npm install --save is-absolute-url

Usage

var isAbsoluteUrl = require('is-absolute-url');

isAbsoluteUrl('http://sindresorhus.com/foo/bar');
//=> true

isAbsoluteUrl('//sindresorhus.com');
//=> false

isAbsoluteUrl('foo/bar');
//=> false

See is-relative-url for the inverse.

License

MIT © Sindre Sorhus