1.2.2 • Published 10 years ago

nali-repl v1.2.2

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

nali-repl

make an interactive repl from any nali container

usage

const nali = require('nali')
const repl = require('nali-repl')

const container = nali()
repl(container, {
  hi: function () {
    return 'hi'
  }
})

cli

> npm i -g nali-repl
# installs `nali` cli tool to start a repl from a container file

> nali container.js
# start a repl attached to the target nali container file

A container file is a javascript file which exports a nali container or a factory function which returns a nali container.

api

NaliRepl(container : NaliContainer, commands? : Dictionary<String,Function>) => Repl

installation

$ npm install nali-repl

running the tests

From package root:

$ npm install
$ npm test

contributors

license

ISC. (c) MMXV jden jason@denizac.org. See LICENSE.md

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago