revelrylabs/elixir-nodejs
56.8
Adequate · 15 November 2026
393
lines of production code
Elixir
with JavaScript
5
measurements over time
What this system is
Features
Introduces NodeJS bridge with configurable workers, ESM support, and robust error handling
This change adds a new NodeJS bridge library (lib/nodejs) that allows calling Node.js modules from Elixir via a supervised pool of workers. Users can now start a NodeJS supervisor with a configurable path, pool size, and custom worker module. The bridge supports importing ESM modules (via .mjs detection or explicit option), handles binary responses, and includes a unique prefix to prevent terminal corruption and cross-contamination of responses between concurrent requests. It also introduces a NodeJS.Error exception for better error reporting and configurable timeouts for both individual calls and worker lifecycle.
lib/nodejs · high confidence
New Node.js bridge server for executing JavaScript modules
A new \priv/server.js\ file introduces a Node.js bridge that allows the application to dynamically import and execute JavaScript modules (both CommonJS and ESM) from the Erlang/Elixir side. This server listens for JSON-RPC-style commands via stdin, resolves modules respecting \NODE\_PATH\, handles both synchronous and asynchronous function results, and returns structured responses (including error details) via stdout with a specific prefix to avoid console log interference. It also supports chunked output to handle large payloads.
priv · high confidence
Behavioural changes
Migrate configuration syntax to Elixir 1.10+ import Config
The application configuration has been updated to use the modern \import Config\ syntax instead of the deprecated \use Mix.Config\. This change aligns the codebase with current Elixir standards, ensuring compatibility with newer versions of the language and its build tools.
config · high confidence
Replace external render service with local Node.js bridge
The library has replaced the previous \ServerSideRender\ plug—which forwarded HTML requests to an external rendering service via HTTP—with a new \NodeJS\ module that acts as a generic bridge to a local Node.js process. This change removes the dependency on an external service URL and instead manages the Node.js runtime directly within the application's supervision tree, allowing callers to invoke Node.js functions synchronously or asynchronously from Elixir code.
lib · high confidence
Stabilize Node.js integration with debug message handling and terminal fixes
The Node.js bridge now includes a \debug\_mode\ configuration option that properly handles stdout/stderr messages from the Node.js runtime, preventing "unexpected message" errors and crashes during process termination. Additionally, this release fixes terminal corruption issues that occurred when running inside an iEx session, ensuring stable interaction with the Node.js processes.
(repo-wide) · high confidence
Test coverage
Added JavaScript test fixtures for module loading and terminal output; Added comprehensive Node.js bridge tests and removed React server render tests.
Dependencies
Dependency overhaul and project rebranding to NodeJS
The project has been renamed from ServerSideRender to NodeJS (version 3.1.4) with a significant update to its dependency graph and build configuration. The \mix.exs\ file now targets Elixir \~\> 1.12 and replaces the previous HTTP and process management stack (plug, httpoison, porcelain, confex, retry) with Jason, Poolboy, and ssl\_verify\_fun, while adding ExDoc for documentation. The \mix.lock\ reflects these changes, updating core libraries such as Jason to 1.2.2, Poolboy to 1.5.2, and ExDoc to 0.33.0, alongside various transitive dependency bumps. Additionally, a \priv/package.json\ file was added to explicitly define the Node.js package type as CommonJS, and the package metadata was updated to include maintainers, licenses, and source links.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 59 → 57 (-2.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 73 → 71 (-1.8)
- Architecture 69 → 69 (+0.0)
- Maturity 53 → 53 (+0.0)
- Readiness 58 → 58 (+0.0)
- Security 67 → 54 (-13.8)
- Performance 100 → 100 (+0.0)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (1)
- Off-boarding risk: anonymized user #1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
revelrylabs/elixir-nodejs was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit ecee74fc2bd312eeb51e1f2b042f6f2b6a44d206 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.