Skip to content

WHATWG URL implementation for JavaScript

License

Notifications You must be signed in to change notification settings

holepunchto/bare-url

Repository files navigation

bare-url

WHATWG URL implementation for JavaScript.

npm i bare-url

Usage

const url = require('bare-url')

const p = url.fileURLToPath('file:///foo') // --> /foo

License

Apache-2.0