berry-run

This tool can run the nodejs program at the browser end.✈️✈️✈️

Usage no npm install needed!

<script type="module">
  import berryRun from 'https://cdn.skypack.dev/berry-run';
</script>

README

Berry-run

This is a command line tool for your node.js file.
This tool can run the nodejs program at the browser end.✈️✈️✈️
Do you want to run your node.js server at front-end?
Just two step,then you can use them.

Step1:Download

Download with npm:

$:npm install berry-run -g
You also can download width yarn:

Download with yarn

$:yarn add berry-run -g
Try typing berry-run -v on the command line,Are you have the output. ---Yes. then the installation is successful!

Step2:Configure

Typing berry-run -c {"__filename": "index.js","__dirname": "/"}.

Then you can use!

Usage

--version/-v

$:berry-run -v#This is for get now version

--file/-f

$:berry-run -f xx/xxx.js#This is for create server

--change/-c

$:berry-run -c {"xx": "xx"}#This is for configure the change form of the nodejs unique function.

Can't use?

Maybe you don't have some modules.
Just typing on your command line:
$:npm install yargs -g
$:npm install ejs -g

license

ISC