Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 1.09 KB

README.md

File metadata and controls

13 lines (7 loc) · 1.09 KB

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.