holepunchto / bare-url

WHATWG URL implementation for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

WHATWG URL implementation for JavaScript

License:Apache License 2.0


Languages

Language:JavaScript 75.8%Language:C 22.3%Language:CMake 1.8%