Sign In

@file-viewer/eda-orcad

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-viewer/eda-orcad

Pure TypeScript OrCAD and Allegro binary inspection helpers for File Viewer with CFB detection and safe string extraction.

latest
Source
npmnpm
Version
2.2.8
Version published
Maintainers
1
Created
Source

@file-viewer/eda-orcad

Flyfish File Viewer 的独立 OrCAD / Allegro 二进制检查内核包。它提供 CFB/OLE2 检测、安全文本采样、十六进制预览和字符串抽取等底层能力,不包含 UI。

import {
  isOrcadCompoundFile,
  collectOrcadStrings,
  decodeOrcadSample,
} from '@file-viewer/eda-orcad'

const bytes = new Uint8Array(buffer)
const isCfb = isOrcadCompoundFile(bytes)
const strings = collectOrcadStrings([bytes])
const sample = decodeOrcadSample(bytes)

定位

  • 当前用于 .olb.dra.psm.pad 等 OrCAD / Allegro 私有二进制文件的结构索引和安全退化预览。
  • 不依赖 UI 框架,不依赖 DOM,可独立发布、独立回归。
  • 完整符号/封装几何解析会继续沿 OpenOrCadParser / OpenAllegroParser 的 C++ WASM 或 TypeScript 分阶段移植路线推进。

为什么单独拆包

OrCAD / Allegro 文件格式公开资料有限,强行把 parser 混进 UI renderer 会让后续维护越来越难。本包把二进制检查和后续 WASM 内核边界固定下来,@file-viewer/renderer-eda 只负责展示。

Keywords

file-viewer

FAQs

Package last updated on 11 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts