htc 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
..
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
license 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
readme.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa

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

Related

See is-relative-url for the inverse.

License

MIT © Sindre Sorhus