Skip to content

Shopify/function-runner-javascript

@shopify/function-runner

This is the npm package for function-runner. The package contains a small Node script that downloads the appropriate function-runner binary on demand and invokes it with the parameters given.

Usage

# Install function-runner globally
$ npm install -g @shopify/function-runner

# Directly invoke it via npm
$ npx @shopify/function-runner

Updating function-runner

The npm package won't download function-runner again once its downloaded. If a new version of function-runner has been published, you can use the following invocation to update to the latest release:

REFRESH_FR=1 npx @shopify/function-runner

Building from source

If there are no binaries available for your platform or the available binaries don't work for you for some reason, the npm package can also build function-runner from source.

BUILD_FR=1 npx @shopify/function-runner

Please note that for this to work you must have Rust installed.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published