@acta/router

A simple imperative router build in TypeScript for node and the browser.

Usage no npm install needed!

<script type="module">
  import actaRouter from 'https://cdn.skypack.dev/@acta/router';
</script>

README

Router @acta/router

A simple imperative router build in TypeScript for node and the browser.

Table of Contents

Declaring a route

Dev scripts

Scripts :

  • npm run dev to dev (build, test and watch)
  • npm run build to build the production version
  • npm run release to release a new version. Relies on release-it for deployments.

To develop in local using the package from another application or package, go for a symlink: npm link /the/absolute/path/url.

To publish: npm publish --access=public.