JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3723
  • Score
    100M100P100Q135200F
  • License MIT

An assortment of delicious extras for the calorie-light itty-router.

Package Exports

  • itty-router-extras
  • itty-router-extras/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (itty-router-extras) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Itty Router

npm package Build Status Coverage Status Open Issues

Deprecation Notice

itty-router-extras has been fully deprecated in favor of using the built-in helpers within itty-router itself.

Before

import { Router } from 'itty-router'
import { json, withParams, withContent, error } from 'itty-router-extras'

Now

import { Router, json, withParams, withContent, error } from 'itty-router'

v5.x Migration Guide

https://itty.dev/itty-router/migrations/v4-v5