Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 303 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 303 Bytes

qrepl

Quick repl helper

npm install qrepl
qrepl = require 'qrepl'

history_name = 'test'

runLine = (line, cb) ->
    cb null, 'your line was ' + line

qrepl history_name, runLine
> hello
your line was hello

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