Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

parse-uri

kikobeats274.4kMIT1.0.11TypeScript support: definitely-typed

Lightweight module for parsing an URI

URI, parse

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.11 (2025-04-04)

1.0.10 (2025-04-03)

1.0.9 (2023-10-24)

1.0.8 (2023-09-05)

1.0.7 (2022-03-02)

1.0.6 (2022-02-25)

1.0.5 (2022-02-04)

1.0.4 (2022-02-04)

1.0.0 (2016-02-04)