journalism v1.4.1
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.
2 days ago
7 days ago
9 days ago
12 days ago
14 days ago
19 days ago
19 days ago
23 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago