Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

riot-route

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riot-route

Simple isomorphic router

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.4K
increased by11.99%
Maintainers
3
Weekly downloads
 
Created
Source

Riot Router

Build Status Code Quality NPM version NPM downloads MIT License Coverage Status

Simple client-side router

The Riot Router is the minimal router implementation with such technologies:

  • pushState and history API
  • multiple routing groups
  • replacable parser
  • compatible with IE9 and higher

It started as a part of Riot.js, but now it becomes an independent library. It works with or without Riot.js.

Table of Contents

Install

We have 4 editions:

editiontargetfilevia
Standalone<script> tagdist/route.min.jsjsdelivr ⋅ Bower ⋅ download
AMDRequireJSdist/amd.route.min.jsjsdelivr ⋅ Bower ⋅ download
CommonJSBrowserify, webpackdist/cjs.route.jsnpm
ES moduleRolluplib/index.jsnpm

jsdelivr

<script src="https://cdn.jsdelivr.net/riot-route/x.x.x/route.min.js"></script>

Note: change the part x.x.x to the version numbers what you want to use: ex. 2.5.0 or 3.0.0.

npm

$ npm install --save riot-route

Bower

$ bower install --save riot-route

Download by yourself

Usage

See also riotjs.com.

Demos

Contribute

Feel free to dive in! Open an issue or submit PRs.

  • $ npm install to setup
  • $ npm run build to build it once
  • $ npm run watch to watch and build it continuously
  • $ npm test to test

License

MIT (c) Muut, Inc. and other contributors

Keywords

FAQs

Package last updated on 23 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc