is-http-resource.js 152 B

1234567
  1. var HTTP_RESOURCE_PATTERN = /^http:\/\//;
  2. function isHttpResource(uri) {
  3. return HTTP_RESOURCE_PATTERN.test(uri);
  4. }
  5. module.exports = isHttpResource;