# inline-functions

> This library allows you to inline functions in your JS/TS code. This is useful for performance reasons, as it allows you to avoid function calls and instead inline the function body directly. It provides plugins for Vite, Rollup and esbuild.

Latest version **0.0.3** (published 2025-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install inline-functions
pnpm add inline-functions
yarn add inline-functions
bun add inline-functions
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2025-09-03 |
| First published | 2023-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | w8r |
| Keywords | performance, inline, vite, rollup, esbuild |

## Links

- npm: https://www.npmjs.com/package/inline-functions
- npm.io page: https://npm.io/package/inline-functions

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2025-09-03
- 0.0.2 — 2025-04-25
- 0.0.1 — 2023-07-05

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