Sign In

@nowline/export-xlsx

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nowline/export-xlsx

Exports a Nowline roadmap as an Excel workbook.

latest
npmnpm
Version
0.8.5
Version published
Maintainers
1
Created
Source

@nowline/export-xlsx

Five-sheet Excel workbook export for Nowline roadmaps. Built on exceljs; tuned for determinism and filter/sort-friendly column shapes.

License: Apache 2.0 Part of: lolay/nowline monorepo Spec: specs/handoffs/m2c.md § 7 + specs/rendering.md § XLSX Export

Install

pnpm add @nowline/export-xlsx @nowline/export-core

Usage

import { exportXlsx } from '@nowline/export-xlsx';

const xlsx = await exportXlsx(inputs, {
    author: 'Roadmap Bot',
    generated: new Date('2026-01-01T00:00:00Z'),
});

// `xlsx` is a Uint8Array — a zip-formatted Office Open XML workbook.

Sheet layout

SheetColumnsNotes
RoadmapTitle, Author, Generated, Source pathWorkbook overview.
Itemsid, title, swimlane, group, parallel, status, owner, after, before, duration (working days), duration (text), labels, descriptionOne row per item. The numeric duration column is in working days for SUM and filters; the text column preserves the original DSL literal (2w, 1m, etc.).
Milestonesid, title, after / before, dateOne row per milestone.
Anchorsid, title, dateOne row per anchor.
People & Teamsid, name, type (person|team)Ownership references.

Conditional formatting on Items.status highlights done, in-progress, blocked, and any custom statuses defined in the AST.

Determinism

  • workbook.created = inputs.today (UTC midnight) — never new Date() in the default code path.
  • Sheet 1's "Generated" cell takes the same today.
  • Style ids and column orders are explicit so ExcelJS's id allocator emits the same numbers across runs.
  • ExcelJS version is pinned in package.json. If the upstream library ever introduces zip-level non-determinism, the package's writer re-emits content streams in deterministic order before zipping (m2c Resolution 8).
  • Hash tests in test/export-xlsx.test.ts confirm byte stability.

Options

OptionDefaultNotes
author'Nowline'Workbook Author, also the Roadmap-sheet "Author" cell.
generatedinputs.todayWorkbook created, also the Roadmap-sheet "Generated" cell.

License

Apache-2.0. Bundles exceljs (MIT).

FAQs

Package last updated on 20 Jun 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