Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hasufell/file-uri

Haskell library for parsing RFC 8089 style file URIs
https://github.com/hasufell/file-uri

haskell parser rfc3986 rfc8089

Last synced: 29 days ago
JSON representation

Haskell library for parsing RFC 8089 style file URIs

Awesome Lists containing this project

README

        

# file-uri [![Hackage](https://img.shields.io/hackage/v/file-uri.svg)](https://hackage.haskell.org/package/file-uri) [![GitHub Build Status](https://github.com/hasufell/file-uri/workflows/Haskell%20CI/badge.svg)](https://github.com/hasufell/file-uri/actions?query=workflow%3AHaskell%20CI)

This Haskell library parses `file:///foo/bar` URIs based on RFC [8089](https://www.rfc-editor.org/rfc/rfc8089.html),
including windows filepaths. It's a subset of [RFC3986](https://www.rfc-editor.org/rfc/rfc3986),
but is better at interpreting the filepaths (especially on windows).

Part of the code is based on [uri-bytestring](https://hackage.haskell.org/package/uri-bytestring)
from Soostone.