/alfred-js-repl

A simple JS repl with LoDash and Underscore

Primary LanguageJavaScript

Alfred JS repl

Allows evaluating JS in Alfredapp.

One can use LoDash and Underscore with this Workflow.

To use LoDash use _:

js> _.find([{ a: 1 }, { a: 2 }], (x) => x.a % 2 === 0)
# { a: 2 }

To use Underscore use __:

js> __.find([{ a: 1 }, { a: 2 }], (x) => x.a % 2 === 0)
# { a: 2 }