@bluejay/url

URL related utilities.

Usage no npm install needed!

<script type="module">
  import bluejayUrl from 'https://cdn.skypack.dev/@bluejay/url';
</script>

README

URL

npm npm npm

URL related utilities.

Requirements

  • node >= 8.6, tested with:
  • node@8.6.0
  • node@12.8.1
  • typescript >= 4.0, tested with:
  • typescript@4.0.2

Installation

npm i @bluejay/url

Usage

import * as URL from '@bluejay/url';

URL.ensureSlashes('/foo', { leading: false, trailing: true }); // foo/

Documentation

See Github Pages.