hook.io-repl

0.4.0 • Public • Published

hook.io-repl

a simple hook.io enabled REPL for interacting with your Hook cloud

Installation

 npm install hook.io-repl -g

Usage

 hookio-repl

Connects to hook.io server

Now you will be taken to Node's native ( and full featured ) repl. You also now have access to a new object "hook". You can then emit and listen for events on this hook object.

 hook.emit('*::myevent', 'mypayload');

Readme

Keywords

none

Package Sidebar

Install

npm i hook.io-repl

Weekly Downloads

4

Version

0.4.0

License

none

Last publish

Collaborators

  • marak