# S.js: 2.9 out of 10

Do not start with it. 8th of 8 in [Signals and reactivity](https://elestia.ai/opensource/signals/index.md).

S.js is the small reactive library from 2013 where the word "signals" in today's sense comes from. Its last npm release was in 2018 and its last commit in 2022, so for new work pick Preact Signals, alien-signals or Vue Reactivity.

**Best for:** Readers who want to study the design behind modern signals, or teams already running Surplus or S.js code.

## Scores

- **Overall: 2.9** (likely 1.9 to 3.9)
  - Claude Opus 5.5 (2.0): S.js matters for the history of signals, but it has not had a release since 2018 and is effectively abandoned. Every maintained peer in the bundle does the same job with more features, better speed and active support. Keep it only where it already runs.
  - GPT-6.2 Sol (3.7): S.js still does useful work in codebases that depend on its synchronous batches and automatic cleanup. For most new projects, Preact Signals offers active maintenance and avoids extra downstream work in the tested cases where a computed value stays the same. The recommendation is firmer than the adoption estimate because the release history and comparison tests give direct evidence about the tradeoffs.
- **Needed by many: 5.1** (likely 3.4 to 6.2)
  - Claude Opus 5.5 (5.0): A standalone signals library is useful to a fair share of developers who build UI or state logic outside a framework. It works on any runtime. Most developers, though, get reactivity from their framework instead of a standalone core like this one.
  - GPT-6.2 Sol (5.1): Fine-grained reactivity serves a wide range of UI work, and S.js can also run outside a UI framework. Many teams already get reactivity from their framework, which narrows the audience for a standalone library. The survey measures frameworks, so the share of developers who need a separate signals package is uncertain.
- **Helps a lot: 5.1** (likely 4.0 to 6.6)
  - Claude Opus 5.5 (4.0): The design is clean and was influential: synchronous ticks, batching and owner-based disposal. It also has hard limits. It throws after 100,000 follow-on updates and when a signal is set to two values in one tick, subclocks are experimental, and it has no async or modern push-pull optimisations. Peers such as alien-signals and Preact Signals do the same job better today, and AI agents have little recent S.js code to learn from.
  - GPT-6.2 Sol (6.1): Version 0.4.9 has a well-documented, typed API for synchronous updates and automatic disposal. It performed well in a benchmark that repeatedly creates, updates, and disposes reactive graphs, while Preact Signals and alien-signals were faster in several propagation tests. A separate suite passed 125 of 161 cases and found extra downstream work when computed values stayed unchanged. The impact depends on the workload, and there is little direct evidence on how reliably coding agents handle the API’s edge cases.
- **Holds up over time: 1.4** (likely 0.5 to 2.5)
  - Claude Opus 5.5 (1.0): There have been no commits for about four years and no npm release since 2018. Pull requests sit unmerged. Only four people have ever contributed, and there is no funding. A known fork says the original does not seem to be maintained, and Solid keeps its own forks.
  - GPT-6.2 Sol (1.8): The npm release dates to 2018, the last recorded GitHub push was in 2022, and a cleanup report from 2023 is still open. Preact Signals and Vue Reactivity both shipped in 2026 and had hundreds of commits in the past year. The small core can remain usable for years, but the activity record gives little reason to expect timely fixes.
- **Used widely: 2.4** (likely 1.3 to 4.1)
  - Claude Opus 5.5 (2.0): Downloads went from 13k to 2M in four weeks, about 150 times the year before. With no release and only 41 dependent repositories, this is almost certainly a transitive install, not developers choosing S.js. Dependents are about the same as Maverick Signals and far below Preact Signals and Nano Stores. Bluesky and Hacker News show no recent attention.
  - GPT-6.2 Sol (2.7): Four-week downloads rose from about 13,300 to 2.01 million, around 151 times the prior year and far above the 4.1 median ratio. OpenTUI’s Solid renderer pulls in S.js automatically, so the share of that surge attributable to direct adoption is unclear. Ecosyste.ms found 41 dependent repositories and 46 npm packages, close to Maverick Signals on repository count and well below Preact Signals. The repository has 1,419 stars, but the collector found no Bluesky posts linking to it in the past two years.
- **Vouched for: 3.1** (likely 2.0 to 4.8)
  - Claude Opus 5.5 (2.0): S.js is credited with the term "signals" and the reactive ownership model, but that is historical credit. Nobody now runs it in production in a way that endorses it. Surplus and Sinuous built on it, and both are dormant. Benchmarks include it only as a reference point.
  - GPT-6.2 Sol (4.1): OpenTUI’s Solid renderer still declares S.js as a dependency, and Solid’s creator credits its design as an early influence. Recent outside tests show competitive lifecycle performance alongside gaps in update behavior. Current production case studies and survey results specific to S.js are scarce.
- **Safe: 5.5** (likely 3.8 to 7.1)
  - Claude Opus 5.5 (5.0): There are no known advisories, no dependencies and an MIT licence, so the attack surface is tiny. But the Scorecard is 2 out of 10, there is no security policy and no branch protection, and an abandoned package with a sudden jump in downloads deserves care. Any future issue would probably not get fixed.
  - GPT-6.2 Sol (5.9): The MIT license is permissive, the package has zero runtime dependencies, and OSV lists no advisories. OpenSSF Scorecard rates it 2 out of 10, with zero scores for maintenance, security policy, code review, and branch protection. The public npm release record points to one publisher, and the long gap since the last release makes future patch response hard to judge.

## Good

- Small API with no dependencies: data signals, computations, roots, freeze, sample and cleanup.
- Synchronous, glitch-free updates and owner-based automatic disposal, which later libraries such as Solid adopted.
- Ships TypeScript definitions and an MIT licence.

## Bad

- There has been no npm release since 0.4.9 in July 2018, and no commits since December 2022.
- There are 16 open pull requests, only 4 were ever merged, and only collaborators can open issues.
- Newer libraries such as alien-signals and Preact Signals are faster, more complete and actively maintained.
- The OpenSSF Scorecard is 2 out of 10, with no code review, no branch protection and no security policy.

## The numbers

- Downloads, 4 weeks: 2M
- In a year: ×151
- GitHub stars: 1.4k
- Commits, 12 months: 0
- Last npm release: Jul 2018
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/adamhaile/S
- npm: https://www.npmjs.com/package/s-js

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
