Package

purescript-url-validator

Repository
bbarker/purescript-url-validator
License
MIT
Uploaded by
bbarker
Published on
2019-05-01

About

This is a fairly minimal URL parser. It relies on JavaScript APIs provided by the browser (DOM and RegExp), and has no external JavaScript or PureScript depenenciens, other than PureScript prelude.

It has not been extensively tested, and likely is not perfect, so if you do notice any issues. There are some existing unit tests for URLs, which can be easily extended by adding your own URLs.

Installation

bower install purescript-url-validator

Documentation

Module documentation is published on Pursuit.

Tests

Run tests in a browser

Do npm run testbrowser then open up dist/index.html with your browser's web console open.

Headless testing

Currently not working, but could be run with npm run test

Modules
URL.Validator
Dependencies