@oj-bin/oj-x86_64-unknown-linux-gnu
v0.1.24
Published
Prebuilt oj binary + plugins for x86_64-unknown-linux-gnu. Optional platform package of @oj-bin/oj; do not install directly.
Readme
@oj-bin/oj
Prebuilt binaries for only-js (oj) — a low-code backend framework that embeds a
JavaScript/TypeScript runtime (V8, via deno_core) into Rust. Write business logic as
JS/TS handlers; Rust serves them over HTTP with injected globals (db, kv, blob,
bus, es, fetch, WebSocket, …).
Install
npm i @oj-bin/ojA postinstall script copies the binaries for your platform into ./bin/ of the
directory where you ran npm i:
bin/oj # main CLI (oj.exe on Windows)
bin/plugins/<triple>/ # backend plugin cdylibs (db/kv/blob/bus/es/auth)
bin/devkit/ # API manual + global.d.ts./bin/oj server -c config.yaml --api-path srcSupported platforms
| platform | triple |
|---|---|
| linux x64 (glibc) | x86_64-unknown-linux-gnu |
| macOS arm64 | aarch64-apple-darwin |
| windows x64 (msvc) | x86_64-pc-windows-msvc |
Other platforms: download from GitHub Releases or build from source.
Notes
- pnpm ≥ 10 does not run dependency lifecycle scripts by default; add to
pnpm-workspace.yaml:onlyBuiltDependencies: ["@oj-bin/oj"] - If you install with
--ignore-scripts, run the installer manually:node node_modules/@oj-bin/oj/postinstall.js - Global install (
npm i -g) is not supported (binaries land in./bin/of the current project). Use a project-local install or the GitHub Release archives. - China mirrors: npmmirror syncs this package automatically —
npm i @oj-bin/oj --registry=https://registry.npmmirror.com
Repo & docs: https://github.com/everpan/only-js
