# @smake/llvm

> smake LLVM toolchain

Latest version **1.2.5** (published 2024-05-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @smake/llvm
pnpm add @smake/llvm
yarn add @smake/llvm
bun add @smake/llvm
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.5 |
| Published | 2024-05-27 |
| First published | 2022-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.0.0 |
| Dependencies | 2 |
| Unpacked size | 129.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yu Chen |
| Maintainers | kuyoonjo |
| Keywords | typescript, generator, node, module, javascript, js |

## Links

- npm: https://www.npmjs.com/package/@smake/llvm
- npm.io page: https://npm.io/package/@smake/llvm

## Dependencies (2)

- [colors](https://npm.io/package/colors.md) ^1.4.0
- [@smake/utils](https://npm.io/package/@smake/utils.md) ^1.0.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.2.5 (latest) — 2024-05-27
- 1.2.4 — 2024-05-07
- 1.2.3 — 2023-05-18
- 1.2.2 — 2023-05-17
- 1.2.1 — 2023-05-17
- 1.2.0 — 2023-04-14
- 1.1.2 — 2022-08-10
- 1.1.1 — 2022-05-23
- 1.1.0 — 2022-05-22
- 1.0.4 — 2022-05-12
- 1.0.3 — 2022-05-06
- 1.0.2 — 2022-05-04
- 1.0.1 — 2022-05-04
- 1.0.0 — 2022-05-04

## README

# @smake/llvm

```js
// smake.js
const { Fn, Shell } = require('@smake/utils');

const target = 'armv7-unknown-linux-gnu';

const executable = new LLVM('executable', target);
executable.files = ['examples/src/main.c'];

const static = new LLVM('static', target);
static.type = 'static';
static.files = ['examples/src/lib.cpp'];

const static_executable = new LLVM('static_executable', target);
static_executable.files = ['examples/src/libmain.cpp'];
static_executable.libs.push(static);

const shared = new LLVM('shared', target);
shared.type = 'shared';
shared.files = ['examples/src/dll.cpp'];

const shared_executable = new LLVM('shared_executable', target);
shared_executable.files = ['examples/src/dllmain.cpp'];
shared_executable.libs.push(shared);

module.exports = [
  executable,
  static,
  static_executable,
  shared,
  shared_executable,
];
```

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