-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Proposed Feature
e.g. mytest.js
const lodash = require('lodash')
lodash.get({a: {b: 10}}, 'a.b')Introduce the ability to run baapan command similar to node command in order to run JavaScript.
e.g,
baapan mytest.js
baapan should automatically download any required dependencies and run the script.
Alternative suggestion
This is currently possible by .load repl command as follows:
$ baapan
Creating workspace...
Initializing workspace...
Workspace loaded!
> .load mytest.js
const lodash = require('lodash')
lodash.get({a: {b: 10}}, 'a.b')
Fetching and installing module 'lodash' from npm...
Done!
10
>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels