3.0.0 • Published 3 years ago

run-func v3.0.0

Weekly downloads
7,836
License
ISC
Repository
github
Last release
3 years ago

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

3.0.0

3 years ago

2.1.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

2.0.0

3 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago