vantage-repl

    1.1.4 • Public • Published

    vantage-repl

    Build Status

    Simple REPL extension for vantage.js

    Installation
    npm install vantage-repl
    npm install vantage
    Programmatic use
    // index.js
    var Vantage = require('vantage')
      , repl = require('vantage-repl)
      ;
     
    var vantage = Vantage();
     
    vantage
      .delimiter('node~$')
      .use(repl)
      .show();
    $
    $ node index.js
    node~$ 
    node~$ repl
    Entering REPL Mode. To exittype 'exit'.
    node~$ repl:
    node~$ repl: 6 * 6
    32
    node~$ repl: exit
    node~$
    Realtime use
    $
    $ vantage 192.168.0.100:4000
    websvr~$ 
    websvr~$ use vantage-repl
    Successfully installed vantage-repl
    websvr~$ 
    websvr~$ repl
    Entering REPL Mode. To exittype 'exit'.
    websvr~$ repl:
    websvr~$ repl: 6 * 6
    32
    websvr~$ repl: exit
    websvr~$

    Install

    npm i vantage-repl

    DownloadsWeekly Downloads

    43

    Version

    1.1.4

    License

    MIT

    Last publish

    Collaborators

    • dthree