npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@oge-ui/spreadsheet-engine

v1.1.10

Published

Framework-free engine of the OGE UI Spreadsheet, shared by its Angular and React render layers: a dependency-free xlsx reader (styles, merges, links, notes, pictures, charts, conditional formats, opaque passthrough, import issues), Excel number formats, t

Readme

@oge-ui/spreadsheet-engine

The framework-free engine of the OGE UI Spreadsheet — an Excel-faithful workbook viewer and editor with no runtime dependencies. The Angular (@oge-ui/spreadsheet) and React (@oge-ui/react-spreadsheet) components will both be thin render layers over this package, so the two cannot drift: one workbook model, one xlsx codec, one number-format renderer, one formula engine.

The engine never touches the DOM. It runs on the main thread, in a Web Worker (where a million-cell workbook is parsed) and in Node (server-side xlsx pipelines).

Status: phase P0 of ADR 0005. This package holds the foundation the viewer (P1), editor (P2) and formula engine (P3) build on. It is not published yet; it joins the release with P1.

What ships today

  • Workbook model — createOgeWorkbook, OgeWorkbook (sheets, defined names with sheet scope, date system, theme colours, default font) and OgeWorksheet (sparse cells, row and column formatting, merged ranges, frozen panes and the rest of the sheet view). Styles are interned in an OgeStyleRegistry, so a million styled cells cost one record per distinct style. Sheet and defined names are validated against Excel's rules.
  • Addresses — A1 and R1C1 parsing and formatting with $ anchors, whole rows and columns, quoted and 3-D sheet prefixes, range arithmetic and the relative offsetting Excel applies when it copies a formula.
  • Number formats — formatOgeCellValue renders values through Excel format codes the way Excel displays them: up to four sections and conditions, grouping and scaling commas, percent, scientific and engineering notation, continued-fraction fractions, dates and times with elapsed fields and sub-seconds, AM/PM, colours, _x padding and *x fills, [$-xxxx] locale prefixes and the system long date/time, and Excel's General format. Rounding works on the 15-significant-digit decimal Excel keeps, so 2.675 shows 2.68. Locale data comes from Intl (ogeFormatLocale('tr-TR')); the default is United States English, the meaning of an xlsx file's built-in format ids.
  • Dates — serials in the 1900 system (with Lotus 1-2-3's phantom 1900-02-29) and the 1904 system, without Date or time-zone dependence.
  • Colours and metrics — theme slots (in SpreadsheetML's swapped order), the indexed palette, tint, and Excel's column-width (maximum digit width) and row-height arithmetic.
import { createOgeWorkbook, formatOgeCellValue, ogeFormatLocale } from '@oge-ui/spreadsheet-engine';

const workbook = createOgeWorkbook();
const sheet = workbook.sheets[0];
const style = workbook.styles.intern({ numberFormat: '#,##0.00 "TL"' });
sheet.setCell(0, 0, { value: 1234.5, style });

const cell = sheet.getCell(0, 0);
formatOgeCellValue(cell?.value as number, '#,##0.00 "TL"', {
  locale: ogeFormatLocale('tr-TR'),
}).text; // "1.234,50 TL"

License

Source-available commercial software — free for evaluation and development, a paid license is required for production use. See LICENSE and https://www.ogeui.com/license.