@atlas.js/repl

2.1.2 • Public • Published

@atlas.js/repl

This package contains an action which allows you to drop into an interactive shell (REPL) with the application exposed as atlas on the console.

Usage

import { Atlas } from '@atlas.js/atlas'
import { Action as Repl } from '@atlas.js/repl'

atlas.action('repl', Repl)
await atlas.prepare() // or atlas.start(), up to you
// Drop into REPL! 🚀
// Just hit ctrl+c to quit escape from the prompt
await atlas.actions.repl.enter()

License

See the LICENSE file for information.

Dependencies (2)

Dev Dependencies (1)

Package Sidebar

Install

npm i @atlas.js/repl

Weekly Downloads

28

Version

2.1.2

License

BSD-3-Clause

Unpacked Size

62.2 kB

Total Files

12

Last publish

Collaborators

  • robertrossmann
  • strvuser