New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bespoke-history

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

bespoke-history

Bespoke.js `window.history` based URL router

0.2.3
latest
Source
npm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

bespoke-history

Bespoke.js window.history based URL router

Works in similar way as bespoke-hash but uses window.history instead

Usage

var history = require('bespoke-history');
bespoke.from(selector, [
  history()
]);

By default it will route urls against /, but you can customize root path:

bespoke.from(selector, [
  history('/my-custom-root/')
]);

Installation

npm

In your presentation path:

$ npm install bespoke-history

Keywords

bespoke

FAQs

Package last updated on 11 Oct 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