Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 573 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 573 Bytes

This repository mirrors the CommonJS version of router.js and all its dependencies within.

Also exposes globally a Promise implementation to work with the router.js

You can install it as NPM module and then using Browserify bring it out to the window.

$ npm install promise-routerjs
$ browserify main.js --no-detect-globals > router.js

main.js

window.Router = require('promise-routerjs')['default'];

This repository is only experimental.