Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunesimonsen/nano-router

A tiny modern router
https://github.com/sunesimonsen/nano-router

Last synced: 1 day ago
JSON representation

A tiny modern router

Awesome Lists containing this project

README

        

# Nano Router [![Checks](https://github.com/sunesimonsen/nano-router/workflows/Checks/badge.svg)](https://github.com/sunesimonsen/nano-router/actions?query=workflow%3AChecks+branch%3Amaster)

A framework agnostic minimalistic router with a focus on named routes.

## Packages

| Package | Version | Size | Dependencies |
| ------------------------------------------ | ------------------------------------------------------- | -------------------------------------------------------- | ------------------------------------------------------------------------ |
| [`@nano-router/react`](packages/react) | [![npm version][react npm version]][react npm link] | [![Bundle Size][react size bundle]][react size link] | [![Dependency count][react dependency count]][react dependency link] |
| [`@nano-router/router`](packages/router) | [![npm version][router npm version]][router npm link] | [![Bundle Size][router size bundle]][router size link] | [![Dependency count][router dependency count]][router dependency link] |
| [`@nano-router/routes`](packages/routes) | [![npm version][routes npm version]][routes npm link] | [![Bundle Size][routes size bundle]][routes size link] | [![Dependency count][routes dependency count]][routes dependency link] |
| [`@nano-router/url`](packages/url) | [![npm version][url npm version]][url npm link] | [![Bundle Size][url size bundle]][url size link] | [![Dependency count][url dependency count]][url dependency link] |
| [`@nano-router/path`](packages/path) | [![npm version][path npm version]][path npm link] | [![Bundle Size][path size bundle]][path size link] | [![Dependency count][path dependency count]][path dependency link] |
| [`@nano-router/history`](packages/history) | [![npm version][history npm version]][history npm link] | [![Bundle Size][history size bundle]][history size link] | [![Dependency count][history dependency count]][history dependency link] |

[react npm version]: https://flat.badgen.net/npm/v/@nano-router/react
[react npm link]: https://www.npmjs.com/package/@nano-router/react
[react size bundle]: https://flat.badgen.net/bundlephobia/minzip/@nano-router/react
[react size link]: https://bundlephobia.com/result?p=@nano-router/react
[react dependency count]: https://flat.badgen.net/bundlephobia/dependency-count/@nano-router/react
[react dependency link]: https://www.npmjs.com/package/@nano-router/react?activeTab=dependencies
[router npm version]: https://flat.badgen.net/npm/v/@nano-router/router
[router npm link]: https://www.npmjs.com/package/@nano-router/router
[router size bundle]: https://flat.badgen.net/bundlephobia/minzip/@nano-router/router
[router size link]: https://bundlephobia.com/result?p=@nano-router/router
[router dependency count]: https://flat.badgen.net/bundlephobia/dependency-count/@nano-router/router
[router dependency link]: https://www.npmjs.com/package/@nano-router/router?activeTab=dependencies
[routes npm version]: https://flat.badgen.net/npm/v/@nano-router/routes
[routes npm link]: https://www.npmjs.com/package/@nano-router/routes
[routes size bundle]: https://flat.badgen.net/bundlephobia/minzip/@nano-router/routes
[routes size link]: https://bundlephobia.com/result?p=@nano-router/routes
[routes dependency count]: https://flat.badgen.net/bundlephobia/dependency-count/@nano-router/routes
[routes dependency link]: https://www.npmjs.com/package/@nano-router/routes?activeTab=dependencies
[url npm version]: https://flat.badgen.net/npm/v/@nano-router/url
[url npm link]: https://www.npmjs.com/package/@nano-router/url
[url size bundle]: https://flat.badgen.net/bundlephobia/minzip/@nano-router/url
[url size link]: https://bundlephobia.com/result?p=@nano-router/url
[url dependency count]: https://flat.badgen.net/bundlephobia/dependency-count/@nano-router/url
[url dependency link]: https://www.npmjs.com/package/@nano-router/url?activeTab=dependencies
[path npm version]: https://flat.badgen.net/npm/v/@nano-router/path
[path npm link]: https://www.npmjs.com/package/@nano-router/path
[path size bundle]: https://flat.badgen.net/bundlephobia/minzip/@nano-router/path
[path size link]: https://bundlephobia.com/result?p=@nano-router/path
[path dependency count]: https://flat.badgen.net/bundlephobia/dependency-count/@nano-router/path
[path dependency link]: https://www.npmjs.com/package/@nano-router/path?activeTab=dependencies
[history npm version]: https://flat.badgen.net/npm/v/@nano-router/history
[history npm link]: https://www.npmjs.com/package/@nano-router/history
[history size bundle]: https://flat.badgen.net/bundlephobia/minzip/@nano-router/history
[history size link]: https://bundlephobia.com/result?p=@nano-router/history
[history dependency count]: https://flat.badgen.net/bundlephobia/dependency-count/@nano-router/history
[history dependency link]: https://www.npmjs.com/package/@nano-router/history?activeTab=dependencies

## MIT License

Copyright (c) 2020 Sune Simonsen

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.