hivejs

0.6.0 • Public • Published

hive.js

The hivejs module

The hive command

hivejs is intended to be installed globally as a command. It will allow you to call any global command named hive-mycommand via hive mycommand.

If no such command can be found, the hive binary will bootstrap the component system using the current working directory as a hive instance directory from where it will try to load installed hive components.

Note that components can extend the hive cli, too. Their subcommands will be available in the context of the current instance.

Require'ing hive in your application

hivejs also provides an API that allows you to access and start your hive instance in a different node application.

var hive = require('hivejs')
 
hive.load(pathToHiveDir, function(err, app) {
  if(er) throw err
})

Todo

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hivejs

    Weekly Downloads

    13

    Version

    0.6.0

    License

    GPL-3.0

    Last publish

    Collaborators

    • marcelklehr