🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

roughter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roughter

Tiny hash router.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Client-side URL Hash router

Build Status Code Climate Coverage Code Climate Score

Tiny hash router.

router.hash('/', index)
router.hash('/user/:user', show)
router.hash('/user/:user/edit', edit)
router.hash('/user/:user/album', album)
router.hash('/user/:user/album/sort', sort)
router.hash('*', notfound)

// start router
router.start()

Installation

for Browser

Download roughter.min.js (master)

for Node.js

npm install roughter --save

License

MIT.

Keywords

hash

FAQs

Package last updated on 06 Feb 2017

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