1.0.9 • Published 11 years ago

valid-url v1.0.9

Weekly downloads
2,174,827
License
-
Repository
github
Last release
11 years ago

URI validation functions

Build Status

Synopsis

Replicates the functionality of http://search.cpan.org/~sonnen/Data-Validate-URI-0.01/lib/Data/Validate/URI.pm (http://anonscm.debian.org/gitweb/?p=users/dom/libdata-validate-uri-perl.git ) into a nodejs module.

#Description

Installation

fork it to install
TODO: need add to npm

Usage

var validUrl = require('validUrl');

Methods

is_uri(value)
accepts value as string to be checked as any protocol url
returns undefined if is not url, returns RFC 3986 url if valid

is_http_uri(value, allowHttps)
accepts value as string to be checked as HTTP url, allowHttps as boolean to include https urls (optional)
returns undefined if is not url, returns RFC 3986 url if valid

is_https_uri(value)
accepts value as string to be checked as HTTPS url
returns undefined if is not url, returns RFC 3986 url if valid

is_web_uri(value)
accepts value as string to be checked as HTTP or HTTPS url
returns undefined if is not url, returns RFC 3986 url if valid

vk-lib@streamerpolls/anvil-connect-jwtplopify@zqr33/lvlupzcmexnode-access-token-validationct-platform-backendgatsby-source-filesystem-frontmatter@zacharylimjx/st-scraperkurigashvili-testpackagekurigashvili-testpackage-xfondfoliosensor-canonagent-interface@ranb2002/prpl-server@ngs/mercury-parserzapisdemiotemp-eleventy-tempkakuri-ask-clikakuri2-ask-cliplopify-apideferred-maintenance@pankod/superplateserver-availability@thesis-co/mechamittens-extensionedunet_botct-log-monitorwpscanarsnapserveravailabilitywelkin-corewrm-troubleshooting-poc@project-christopher/client-libraryimage-butler-formfilepathspecs@project-christopher/communication@txdev/element-js-v2jai-sdk-testingbetter-deluge@mapbox/remark-lint-mapboxoidc-auth-manager-adapted@bgcbrasil/sharedmerge-markdownstalky-instagram-moduleyasgui-serverwpcheckgramsterinstagram-private-api-gramsterredux-cached-api@baotg/http-client@infinitebrahmanuniverse/nolb-valid-magneumwebdive@everything-registry/sub-chunk-3040saml-updatetgsp-sharedbanana-dev-typedeleventy-plugin-broken-forbiden-linksdbmmodsdbmmodsdevdev-blog-directory-savedmp-page-metadoipjsdomrenddocumark-page-metadeep-instagram-privatecyberchief-bolt-cli@concord-consortium/slate-editorcollection-json-basecordemia-geniam-comcordlr-requestcordlr-svgconnector-builder@cs125/gatsby-source-filesystem-frontmatterconsultant-cli@cube-dev/ui-kit@digidem/jsonschema2mdcreate-smktest@ddn/asset-dao@ddn/ddn@ddn/ddn-dao@ddn/ddn-dapp@ddn/peer@ddn/asset-dapp@dabblelab/plugin-autopilotconverse-cli@cybercongress/dapp-wallet@cybercongress/dapp-wallet2decider-webchatdashhookssquarespace-cliss-proxy-serversrvalidatorstackable-crawlerst-open-apist-scraperssrer-express-middlewaremagicmirrormaf-ui
1.0.9

11 years ago

1.0.8

11 years ago

1.0.7

11 years ago

1.0.6

11 years ago

1.0.5

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago