@kerf-js/compiler-linux-arm64-gnu 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,42 @@
1
- # Temporary Holding Version
1
+ <p align="center">
2
+ <a href="https://github.com/Ravonus/kerf"><img src="https://raw.githubusercontent.com/Ravonus/kerf/main/site/public/logo.svg" width="72" height="72" alt="Kerf"></a>
3
+ </p>
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
5
+ <h1 align="center">@kerf-js/compiler-linux-arm64-gnu</h1>
6
+
7
+ <p align="center">
8
+ <strong>Kerf's Rust compiler as a native Node addon for linux-arm64-gnu.</strong><br>
9
+ Installed for you by <a href="https://www.npmjs.com/package/@kerf-js/core">@kerf-js/core</a>. You never depend on it directly.
10
+ </p>
11
+
12
+ <p align="center">
13
+ <a href="https://www.npmjs.com/package/@kerf-js/compiler-linux-arm64-gnu"><img src="https://img.shields.io/npm/v/@kerf-js/compiler-linux-arm64-gnu?color=145c3c&label=npm" alt="npm version"></a>
14
+ <a href="https://github.com/Ravonus/kerf/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-145c3c" alt="MIT license"></a>
15
+ </p>
16
+
17
+ ## What this is
18
+
19
+ [@kerf-js/core](https://www.npmjs.com/package/@kerf-js/core) lists one of these addons per platform in its
20
+ `optionalDependencies`. Your package manager installs only the one that matches your OS, CPU and C library, and
21
+ core's compiler loader picks it up. When no addon fits, or the one installed is a different version or fails to load,
22
+ core runs the same compiler as WebAssembly instead: the output is byte-identical, a little slower to produce.
23
+ `npx kerf doctor` says which one your app is using.
24
+
25
+ | Platform | Package |
26
+ | ------------------ | -------------------------------------- |
27
+ | macOS, Apple silicon | `@kerf-js/compiler-darwin-arm64` |
28
+ | macOS, Intel | `@kerf-js/compiler-darwin-x64` |
29
+ | Linux x64, glibc | `@kerf-js/compiler-linux-x64-gnu` |
30
+ | Linux x64, musl | `@kerf-js/compiler-linux-x64-musl` |
31
+ | Linux arm64, glibc | `@kerf-js/compiler-linux-arm64-gnu` |
32
+ | Linux arm64, musl | `@kerf-js/compiler-linux-arm64-musl` |
33
+ | Windows x64 | `@kerf-js/compiler-win32-x64` |
34
+ | Everything else | WebAssembly, built into core |
35
+
36
+ ## Links
37
+
38
+ - [Compiler source](https://github.com/Ravonus/kerf/tree/main/crates/kerf-compiler) (Rust, on [Oxc](https://oxc.rs))
39
+ - [@kerf-js/core](https://www.npmjs.com/package/@kerf-js/core) and [Kerf on GitHub](https://github.com/Ravonus/kerf)
40
+ - [Changelog](https://github.com/Ravonus/kerf/blob/main/CHANGELOG.md) · [Issues](https://github.com/Ravonus/kerf/issues)
41
+
42
+ MIT licensed.
Binary file
package/package.json CHANGED
@@ -1,6 +1,31 @@
1
1
  {
2
2
  "name": "@kerf-js/compiler-linux-arm64-gnu",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "kerf compiler addon for linux-arm64-gnu",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Ravonus/kerf.git",
9
+ "directory": "crates/kerf-compiler"
10
+ },
11
+ "homepage": "https://github.com/Ravonus/kerf/tree/main/packages/core#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/Ravonus/kerf/issues"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "main": "kerf-compiler.node",
19
+ "files": [
20
+ "kerf-compiler.node"
21
+ ],
22
+ "os": [
23
+ "linux"
24
+ ],
25
+ "cpu": [
26
+ "arm64"
27
+ ],
28
+ "libc": [
29
+ "glibc"
30
+ ]
6
31
  }