New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

parse-uri

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-uri

Lightweight module for parsing an URI

1.0.9
latest
Source
npm
Version published
Weekly downloads
63K
3.56%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

URI

FAQs

Package last updated on 24 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts