JSPM

  • Created
  • Published
  • Downloads 62
  • Score
    100M100P100Q67872F
  • License

Collaborating: Snap.

Package Exports

  • hive

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hive) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

hive.js

This is the main module of Hive.js.

The hive module

The hive command

hive 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

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

var hive = require('hive')

hive.load(pathToHiveDir, function(err, app) {
  if(er) throw err
})