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 documentation is also available as the markdown file llm.md, which can be passed as context to improve the use of the library by AI coding assistants or agents.

The library is maintained by Nael Shiab, computational journalist and senior data producer for CBC News.

Tip

To learn how to use this library and more, check out Code Like a Journalist, a free and open-source data analysis and data visualization course in TypeScript. You might also find the simple-data-analysis library interesting.

To install the library, you can use the following commands:

# DENO
deno install jsr:@nshiab/journalism

# NODE.JS
npx jsr add @nshiab/journalism

# BUN
bunx jsr add @nshiab/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.

About

Useful TypeScript functions for journalism projects.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 5