awrepl

A slightly better REPL utility

Usage no npm install needed!

<script type="module">
  import awrepl from 'https://cdn.skypack.dev/awrepl';
</script>

README

AwREPL

Node's REPL, only more awesome.

AwREPL is a Read-Eval-Print-Loop based on the REPL bundled with Node. It's currently designed as an executable for the command line, and provides additional commands and other niceties to compliment the original REPL.

Features

Commands

module

Shortcut to require().

Examples:

> var blessed = require("blessed");
undefined
> typeof blessed
'function'
> var Message = require("irc-message");
undefined
> typeof Message
'function'

becomes

> .module blessed
> typeof blessed
'function'
> .module irc-message Message
> typeof Message
'function'