# include-static

> Inlines files to c/c++ header files

Latest version **1.1.0** (published 2023-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install include-static
pnpm add include-static
yarn add include-static
bun add include-static
```

Provides the command `include-static`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2023-01-05 |
| First published | 2023-01-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/include-static
- Repository: https://github.com/mafintosh/include-static
- Issues: https://github.com/mafintosh/include-static/issues
- npm.io page: https://npm.io/package/include-static

## Recent versions

- 1.1.0 (latest) — 2023-01-05
- 1.0.1 — 2023-01-03
- 1.0.0 — 2023-01-03

## README

# include-static

Inlines file contents to a c/c++ header file

```
npm install -g include-static
```

## Usage

```
include-static name file.ext output.h

# or if you have multiple ones

include-static name1 file1.ext name2 file2.ext output.h
```

Produces a header file similar to this

```
unsigned char name1[] = {
  ... content ...
};

size_t name1_len =  ... contentLength ...;
```

## License

MIT

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