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 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
>
Proposed Feature
e.g. mytest.js
Introduce the ability to run
baapancommand similar tonodecommand in order to run JavaScript.e.g,
baapanshould automatically download anyrequired dependencies and run the script.Alternative suggestion
This is currently possible by
.loadrepl command as follows: