Skip to content

nshiab/journalism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
npx 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.