Useful packages for manipulating air quality data. Shared between Sh**t! I Smoke projects.
| Packages | NPM | Description |
|---|---|---|
@shootismoke/convert |
Easily convert between AQIs (US, CN...) and raw concentration values (ug/m3, ppm) | |
@shootismoke/dataproviders |
A library to fetch air quality data from various providers (AqiCN, OpenAQ...) and normalizing data into one common format: the openaq-data-format. |
The below packages are used internally in Sh**t! I Smoke projects, but if you're interested, feel free to use them.
| Packages | NPM | Description |
|---|---|---|
@shootismoke/ui |
(Internal) UI components shared across Web & React Native projects. |
Inside each package in the packages/ folder, there is a tsconfig.settings.json. This is the canonical config file for each package, used by tsc, because we use -p tsconfig.settings.json. If you inspect it, it extends <rootDir>/tsconfig.settings.json. So <rootDir>/tsconfig.settings.json serves as a base template.
The various tsconfig.json are not used while building packages, they are only there for VSCode, so that jumping between packages is done smoothly, because we defined TypeScript paths.