qrepl

0.1.3 • Public • Published

qrepl

Quick repl helper

npm install qrepl
qrepl = require 'qrepl'
 
history_name = 'test'
 
runLine = (line, cb) ->
    cb null'your line was ' + line
 
qrepl history_namerunLine
> hello
your line was hello

A history file will be saved as ~/.[history_name].qrepl

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i qrepl

    Weekly Downloads

    2

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • spro