Skip to content

nshiab/journalism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 19, 2024
2c0a4d0 · Apr 19, 2024
Apr 5, 2024
Apr 19, 2024
Apr 15, 2024
Apr 17, 2024
Jun 5, 2023
Jun 5, 2023
Mar 26, 2024
Jun 5, 2023
Jun 5, 2023
Jun 5, 2023
Jun 5, 2023
Mar 26, 2024
Mar 26, 2024
Apr 19, 2024
Apr 19, 2024
Dec 21, 2023
Dec 21, 2023

Repository files navigation

The Journalism Library

A collection of helper functions written in TypeScrit for journalistic projects.

The library is available on npm. To install, run npm i journalism in your terminal.

The documentation can be found here.

If you wish to contribute, create an issue explaining what you would like to add, create a branch from the issue, make sure to add tests, import your function in index.ts and then create a pull request. To run a specific test, you can use a command like this one npx mocha --require ts-node/register ./test/finance/adjustToInflation.test.ts. To run all tests, including building the library and generating the docs (in ./test-docs), run npm run all-tests.

This repository is maintained by Nael Shiab, senior data producer at CBC/Radio-Canada.

Feel free to ping me on Mastodon, Twitter or LinkedIn if you have any questions.