light-join

Join urls or paths into single path.

Usage no npm install needed!

<script type="module">
  import lightJoin from 'https://cdn.skypack.dev/light-join';
</script>

README

light-join

Join urls or paths into single path.

NPM Minzipped Bundle Size

Install

with npm

npm i -s light-join

with yarn

yarn add light-join

Usage

JavaScript

import lightJoin from 'light-join';

lightJoin('/your-base/url/', 'some/path', '/some-other/path');

License

MIT © hakobpogh