Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

run-func

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

run-func

Run exported function from package.json scripts

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
33K
decreased by-0.58%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 28 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc