furi
Version:
File URI manipulation library
41 lines (27 loc) • 1.28 kB
Markdown
[](https://www.npmjs.com/package/furi)
[](https://github.com/demurgos/furi)
[](https://codecov.io/gh/demurgos/furi)
File URI manipulation library.
This library is intended as a toolbox to handle `file://` URIs. It currently
focuses on conversion between file URIs and system dependent paths.
The conversion supports Windows UNC paths, Windows long paths, trailing
separators, special characters and non-ASCII characters.
This library has no dependencies and is compatible with browsers.
```shell
yarn add furi
npm install --save furi
```
See [documentation](https://demurgos.github.io/furi/).
- https://tools.ietf.org/html/rfc3986#section-3.3
- https://url.spec.whatwg.org/
- https://github.com/nodejs/node/blob/deaddd212c499c7ff88d20034753b5f3f00d5153/lib/internal/url.js#L1414
- https://github.com/nodejs/node/blob/master/test/parallel/test-url-pathtofileurl.js
- https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file
[](./LICENSE.md)