@skypager/helpers-repl

1.4.2 • Public • Published

Skypager REPL Helper

Provides an enhanced REPL which loads the skypager runtime in the context of your current project.

This helper is automatically loaded for the Skypager Node Runtime

CLI Usage

To use the REPL Helper, you can just run the console command with Skypager CLI

$ skypager console

Node Usage

const runtime = require('@skypager/node')
const repl = runtime.repl('interactive')

async function main() {
  await repl.launch({
    runtime,
    whatever: 'you pass to launch will be defined in the repl'
  })
}

main()

Readme

Keywords

none

Package Sidebar

Install

npm i @skypager/helpers-repl

Homepage

skypager.io

Weekly Downloads

4

Version

1.4.2

License

MIT

Unpacked Size

211 kB

Total Files

62

Last publish

Collaborators

  • soederpop