package
0.0.0-20200508083234-acc7c72c752d
Repository: https://github.com/pulsarteam/pulsar.git
Documentation: pkg.go.dev

# Functions

New initializes a JavaScript interpreted runtime environment and sets defaults with the config struct.

# Constants

DefaultPrompt is the default prompt line prefix to use for user input querying.
HistoryFile is the file within the data directory to store input scrollback.

# Variables

Stdin holds the stdin line reader (also using stdout for printing prompts).

# Structs

Config is the collection of configurations to fine tune the behavior of the JavaScript console.
Console is a JavaScript interpreted runtime environment.

# Interfaces

UserPrompter defines the methods needed by the console to promt the user for various types of inputs.

# Type aliases

WordCompleter takes the currently edited line with the cursor position and returns the completion candidates for the partial word to be completed.