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

@freereportjs/core

v0.13.1

Published

FreeReport — a web reporting engine (free for personal use): banded report designer, paged viewer, printing, PDF with embedded Korean fonts, Excel export.

Readme

FreeReport

A web reporting tool that runs in the browser: a banded report designer, a paged viewer, exact printing, PDF with embedded Korean fonts, Excel (as printed or as data), HWPX (한/글), watermarks and web embossing, barcodes (Code128, EAN-13, QR, DataMatrix, PDF417), charts, crosstabs and label sheets. No plugin, ActiveX or print module.

Free for personal use. Companies need a domain license — ₩500,000 per domain per year or ₩900,000 perpetual. See freereport.app/pricing.

  • Website, demos and docs: https://freereport.app
  • 한국어: https://freereport.app/ko/

Install

npm i @freereportjs/core

Framework components: @freereportjs/react, @freereportjs/vue, @freereportjs/svelte, @freereportjs/angular. Script tag: https://freereport.app/cdn/latest/freereport.min.js (global FreeReport).

Viewer

import { createViewer } from '@freereportjs/core';
import '@freereportjs/core/styles.css';

const definition = {
  name: '매출 보고서',
  page: { size: 'A4', margins: 15 },
  bands: {
    title: { height: 14, elements: [{ type: 'text', x: 0, y: 0, w: 180, h: 12, text: '매출 보고서', style: { fontSize: 16, bold: true, align: 'center' } }] },
    detail: { height: 6, elements: [
      { type: 'field', x: 0, y: 0, w: 120, h: 6, expr: 'product', style: { border: true } },
      { type: 'field', x: 120, y: 0, w: 60, h: 6, expr: 'qty * price', format: '#,##0', style: { border: true, align: 'right' } },
    ] },
    summary: { height: 8, elements: [{ type: 'text', x: 0, y: 1, w: 180, h: 7, text: '합계 {sum(qty * price):#,##0}원', style: { align: 'right', bold: true } }] },
    pageFooter: { height: 8, elements: [{ type: 'text', x: 0, y: 1, w: 180, h: 6, text: '{page} / {pages}', style: { align: 'center' } }] },
  },
};

createViewer(document.getElementById('report')!, {
  definition,
  data: { rows: [{ product: '노트북', qty: 2, price: 1290000 }] },
  onOutput: e => console.log('output log', e), // return false to cancel a print or download
});

Designer

import { createDesigner } from '@freereportjs/core';

createDesigner(document.getElementById('designer')!, {
  definition, data,
  onChange: def => save(def), // the report definition is plain JSON
});

Without the viewer

import { createReport } from '@freereportjs/core';

const report = createReport(definition, data, { pdfSecurity: { userPassword: '1234', permissions: { copy: false } } });
await report.ready();
const pdf = await report.toPdf();          // Blob
const xlsx = await report.toXlsx('form');  // or 'data'
await report.print();

Server side (Node, Deno, Bun): renderPdf(definition, data, { fonts }) and renderXlsx(...).

License key

import { setLicenseKey } from '@freereportjs/core';
setLicenseKey('FR1....');

Without a key on a public domain the library prints a notice to the browser console once; nothing else changes. See LICENSE.

© 2026 (주)세컨드코리아 · [email protected]