This release is 14 versions behind 1.22.0 — the latest version of @nshiab/journalism. Jump to latest
@nshiab/journalism@1.20.1Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Helper functions for journalism projects.
This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers




JSR Score
88%
Published
3 months ago (1.20.1)
The Journalism Library
A collection of TypeScript functions for journalistic projects.
The library is available on JSR with its documentation.
The library is maintained by Nael Shiab, computational journalist and senior data producer for CBC News.
You might also find the simple-data-analysis library and Code Like a Journalist interesting.
To install the library, you can use the following commands:
# DENO deno install jsr:@nshiab/journalism # NODE.JS npx jsr add journalism # BUN bunx jsr add journalism
If you run your code in a browser, use the web
entry point:
import { formatNumber } from "@nshiab/journalism/web";
If you wish to contribute, please check the guidelines.
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@nshiab/journalism
Import symbol
import * as journalism from "@nshiab/journalism";
---- OR ----
Import directly with a jsr specifier
import * as journalism from "jsr:@nshiab/journalism";
Add Package
npx jsr add @nshiab/journalism
Import symbol
import * as journalism from "@nshiab/journalism";
Add Package
yarn dlx jsr add @nshiab/journalism
Import symbol
import * as journalism from "@nshiab/journalism";
Add Package
pnpm dlx jsr add @nshiab/journalism
Import symbol
import * as journalism from "@nshiab/journalism";
Add Package
bunx jsr add @nshiab/journalism
Import symbol
import * as journalism from "@nshiab/journalism";