Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@rohal12/spindle

Latest version: v0.64.32

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: rohal12
1 Stars
0 Forks
112 Versions
6.9K Downloads
TypeScript Repo language

Scan summary

@rohal12/spindle was last scanned on 28 Nov 2026 at version 0.64.32. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 112 versions; the latest 5 were published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.64.32.
  • Downloads: 6,938 downloads.

Versions

112 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.64.32 LATEST 28 Nov 2026 No rules fired
0.64.31 27 Nov 2026 No rules fired
0.64.30 26 Nov 2026 No rules fired
0.64.29 25 Nov 2026 Not shown
0.64.28 25 Nov 2026 Not shown

No rules fired in 0.64.32

Findings

Findings for v0.64.32. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.64.32; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Spindle

npm version npm downloads CI last commit license TypeScript docs

A modern Twine 2 story format built with Preact. Variables, macros, saves, settings, widgets, and full CommonMark markdown — all using a concise curly-brace syntax.

Documentation

Install

npm install @rohal12/spindle

The package (the compiler entry point, @rohal12/spindle/tooling, @rohal12/spindle/headless and @rohal12/spindle/play) needs Node.js 24 or later. Compiled stories run in current browsers.

Features

  • Curly-brace macro syntax: {if $health > 0}...{/if}, {set $name = "Hero"}
  • Story and temporary variables with dot notation
  • Full CommonMark markdown (GFM tables, strikethrough)
  • Form inputs: textbox, numberbox, checkbox, radio, listbox, cycle
  • Save system with playthroughs, quick save/load, and export/import
  • Persistent settings (toggle, list, range)
  • Reusable widgets
  • window.Story JavaScript API for scripting
  • StoryVariables passage for strict variable declarations

Usage with twee-ts

import * as spindle from '@rohal12/spindle';
import { compile } from '@rohal12/twee-ts';

const result = await compile({
  sources: ['src/'],
  format: spindle,
});

Spindle’s optional compiler/play integration requires twee-ts 2.x.

Or install both and let twee-ts auto-discover the format via the twine-story-format keyword.

Documentation

Full docs at rohal12.github.io/spindle:

Development

bun install
bun run test            # run tests
bun run build           # build format
bun run preview         # build + compile dev story
bun run docs:dev        # local docs dev server
bun run docs:build      # build docs for deployment
bun run duplication     # code duplication checks (CPD needs PMD_BIN)
Code duplication

CI measures duplication in src/ with three tools, each a separate check: jscpd and PMD CPD (exact copies) and fallow (copies with renamed identifiers). A pull request fails when it adds duplication compared with main or exceeds duplication-budget.json. The settings are in .jscpd.json and .fallowrc.json; scripts/duplication.ts runs the checks and compares against a base (--base main). Locally, CPD needs PMD 7 with PMD_BIN set to its bin/pmd.

Before adding a helper, parser or hook, look for the one that already does the job and extend it; most fixes then land in one place. The shared modules:

Job Module
Name-keyed storage, own-key reads (hasOwn, ownValue) src/utils/namespace.ts
Case-insensitive macro/widget names src/utils/macro-names.ts
Clone, equality, structural diff and merge src/structural.ts
Macro arguments: declared parameters, ctx.args src/components/macros/macro-args.ts
Quoting, escapeRegExp, splitting, string scanning src/components/macros/arg-utils.ts
JavaScript scanning (findCodeEnd, lexJs) src/js-lexer.ts
Which declaration a variable names (Bindings) src/js-bindings.ts
Sigils and scopes (SIGIL_SCOPES, SCOPE_SIGILS) src/markup/tokens.ts
Passage markup (parseMarkup, tokenizeMarkup) src/markup/parse.ts (grammar: src/markup/spindle.peggy)
Where code in {…} ends (closeBrace, rawBodyEnd) src/markup/code-end.ts
Which closer closes which opener (pairMarkup, the AST) src/markup/pair.ts (buildAst in src/markup/ast.ts)
Code, passage names and markup text in a passage src/code-check.ts (passagePiecesOf)
Declarations of StoryVariables (parseDeclarations) src/story-variables.ts (literals: src/static-literal.ts)
Reading story state / render contexts in components src/hooks/use-story-fields.ts, src/hooks/use-render-options.ts
Save storage operations src/saves/storage.ts (createBackend)
Listeners to notify (createListeners) src/utils/listeners.ts
Checking plain data handed in (checkObject, matchers) src/utils/field-checks.ts (checkActionMatcher: action registry)

License

This is free and unencumbered software released into the public domain. See UNLICENSE.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @rohal12/spindle

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229