Scan your whole stack
From OX Research Newsroom
Are you using @archdraw/core?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.16.0
@archdraw/core was last scanned on 25 Nov 2026 at version 0.16.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.16.0 LATEST | 25 Nov 2026 | No rules fired |
| 0.15.0 | 12 Nov 2026 | No rules fired |
| 0.14.0 | 12 Nov 2026 | No rules fired |
| 0.13.1 | 23 Oct 2026 | Not shown |
| 0.13.0 | 23 Oct 2026 | Not shown |
Findings for v0.16.0. 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.16.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
English · 한국어
The whole archdraw pipeline — parse, validate (zod), flat IR, ELK layout, SVG.
It carries no icon assets. It exposes only the IconResolver interface, so icons come separately as packs. It never touches the DOM, so a browser and Node run the same code and get the same SVG.
npm i @archdraw/core @archdraw/icons-aws
import { renderToSvg } from '@archdraw/core'
import { awsIcons } from '@archdraw/icons-aws'
const svg = await renderToSvg(
`
nodes:
- { id: alb, type: alb, label: public alb }
- { id: api, type: ecs, label: api }
edges:
- { from: alb, to: api, label: https }
`,
{ icons: awsIcons },
)
renderToSvg(source, options?) |
A YAML/JSON string or a parsed document → an SVG string |
renderToSvgFrames(source, options?) |
One flow cycle as an async iterable of 24 { svg, delay } frames; shares one layout |
parse(source) |
YAML/JSON → an unvalidated document |
normalize(doc) |
Validate and flatten to the IR. Throws DiagramError on failure |
selectView(ir, options?) |
Select scenario/focus/collapsed groups before layout |
diagnose(ir, root) |
Versioned quality report for the same layout result |
layout(ir) |
Run the ELK layout, returning an ElkNode tree |
Diagram(props) |
The React element that draws a layout result |
createResolver(...packs) |
Fold icon packs into one IconResolver |
toJsonSchema(form?) |
The input contract as JSON Schema |
defaultTheme |
Colours and font stacks. Replace via options.theme |
RenderOptions.icons accepts a single pack, an array of packs, or a resolver you built yourself.
Two shapes are accepted — nested (children) and flat (parent) — and normalize() turns both into the same flat IR. The flat shape has no recursion, so a generator can emit it in one pass.
groups:
- id: vpc
label: Production VPC
kind: vpc
children:
- { id: api, type: ecs, label: API }
nodes:
- { id: vpc, kind: vpc, label: Production VPC }
- { id: api, type: ecs, label: API, parent: vpc }
Every field is in docs/schema.md.
A validation failure throws DiagramError, and the message carries what is wrong, why, and the clue to fix it — an unknown slug, a dangling edge, a duplicate id.
DiagramError.issue exposes a DiagramIssue with code, severity, message, input path, element ids, and optional hint/icon suggestions. Syntax failures from parse() also throw DiagramError with code: 'parse-error' and line/column when known. Existing message/hint properties remain available. The CLI exposes this as --check --json; see the validation report contract.
Unknown type 'lambdaa'.
Did you mean: lambda?
An icon that does not resolve is never silently substituted. Failing beats drawing the wrong icon.
To use it as a CLI instead, archdraw bundles every pack.
MIT
import { diagnose, renderToSvg } from '@archdraw/core'
const svg = await renderToSvg(diagram, {
icons,
scenario: 'normal',
focus: true,
collapsed: ['project'],
onLayout: (ir, root) => console.log(diagnose(ir, root)),
}) 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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.