hivejs

Collaborating: Snap.

Usage no npm install needed!

<script type="module">
  import hivejs from 'https://cdn.skypack.dev/hivejs';
</script>

README

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