run-func

3.0.0 • Public • Published

run-func

Run exported JavaScript functions directly from command line

Installation globally

npm i -g run-func

Usage from CLI

run-func script.js functionName param1 param2

Installation locally

npm i -S run-func

Usage in package.json

"scripts": { "myFunc": "run-func script.js myFunc param1 param2" }

4GB node flag

run-func-mem instead of run-func

Readme

Keywords

none

Package Sidebar

Install

npm i run-func

Weekly Downloads

33,322

Version

3.0.0

License

ISC

Unpacked Size

6.46 kB

Total Files

10

Last publish

Collaborators

  • rockclimber