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');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.0
    3
  • 0.3.0
    4
  • 0.2.0
    4
  • 0.1.0
    7

Package Sidebar

Install

npm i hook.io-repl

Weekly Downloads

10

Version

0.4.0

License

none

Last publish

Collaborators

  • marak