rittenhop-ghost/versions/5.94.2/node_modules/parse-uri
2024-09-23 19:05:38 -04:00
..
src adding local files for running this....locally 2024-09-23 19:05:38 -04:00
LICENSE.md adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
README.md adding local files for running this....locally 2024-09-23 19:05:38 -04:00

parse-uri

Last version Coverage Status NPM Status

Lightweight module for parsing an URI Based in Steven Levithan method.

Install

$ npm install parse-uri --save

Usage

const parseUri = require('parse-uri')

parseUri('myURL')

API

parseURI(str, [options])

options

strictMode

Type: boolean Default: false

Determinate if use loose or strict mode.

Loose mode deviates slightly from the official generic URI spec (RFC 3986)

  • is-uri Determinate if a string is a valid URI.

License

MIT © Kiko Beats