PortablePosPrinterHamekara/node_modules/bare-url
mehranz c2686e7110 initial commit 2025-11-15 13:33:50 +03:30
..
lib initial commit 2025-11-15 13:33:50 +03:30
prebuilds initial commit 2025-11-15 13:33:50 +03:30
CMakeLists.txt initial commit 2025-11-15 13:33:50 +03:30
LICENSE initial commit 2025-11-15 13:33:50 +03:30
README.md initial commit 2025-11-15 13:33:50 +03:30
binding.c initial commit 2025-11-15 13:33:50 +03:30
binding.js initial commit 2025-11-15 13:33:50 +03:30
global.d.ts initial commit 2025-11-15 13:33:50 +03:30
global.js initial commit 2025-11-15 13:33:50 +03:30
index.d.ts initial commit 2025-11-15 13:33:50 +03:30
index.js initial commit 2025-11-15 13:33:50 +03:30
package.json initial commit 2025-11-15 13:33:50 +03:30

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