beanie

0.1.0 • Public • Published

Example

    
var beanie = require('beanie').loader();
 
beanie.
require(__dirname + "/path/to/plugin.js").
require(__dirname + "/path/to/dir").
require(__dirname + "/path/to/**/*.plugin.js").
load(function() {
    beanie.router.push('init');
})
 

Plugin example:

 
exports.plugin = function(router) {
    
 
    router.on({
        'push init': function() {
            //do something
        }
    })
}
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i beanie

Weekly Downloads

5

Version

0.1.0

License

none

Last publish

Collaborators

  • architectd