|
|
||
|---|---|---|
| .. | ||
| lib | ||
| prebuilds | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
| binding.c | ||
| binding.js | ||
| global.d.ts | ||
| global.js | ||
| index.d.ts | ||
| index.js | ||
| package.json | ||
README.md
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