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

66

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

66

Simple client-side router.

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-18.18%
Maintainers
2
Weekly downloads
 
Created
Source

66

Simple client-side router.

Install

Install 66 via NPM or Bower.

Usage

var Router = require('66'),
    rt = new Router();

rt.get('/', function(){
  // render the index page
});

rt.get('/post/:id', function(params) {
  // render post page
  // you can get at the id via `params.id`
});

// start listening for changes
rt.start();

// capture all <a> tag clicks
rt.captureAnchorTagClicks();

Keywords

FAQs

Package last updated on 04 Jan 2015

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