# 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.

Latest version **4.0.2** (published 2023-02-08) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install function-runner
pnpm add function-runner
yarn add function-runner
bun add function-runner
```

Provides the command `function-runner`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 4.0.2 |
| Published | 2023-02-08 |
| First published | 2023-01-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Surma |
| Maintainers | saulecabrera, surma |

## Links

- npm: https://www.npmjs.com/package/function-runner
- npm.io page: https://npm.io/package/function-runner

## Dependencies (2)

- [cachedir](https://npm.io/package/cachedir.md) ^2.3.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^3.2.10

## Recent versions

- 4.0.2 (latest) — 2023-02-08
- 4.0.1 — 2023-02-08
- 4.0.0 — 2023-02-06
- 3.2.1 — 2023-01-24
- 3.2.0 — 2023-01-23
- 0.0.2 — 2023-01-12

## README

# function-runner npm package

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 function-runner

# Directly invoke it via npm
$ npx function-runner
```

## Updating function-runner

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

```
REFRESH_FR=1 npx 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 function-runner
```

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

---
_Source: https://npm.io/package/function-runner · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
