Data models and database connection for openSenseMap
Install it as dependency: npm install --save @sensebox/opensensemap-api-models
or yarn add @sensebox/opensensemap-api-models
This allows you to use parts like models and decoding in your own project. See index.js
.
The package uses lorenwest/node-config. The available configuration keys can be found in the index.js
file. If you need an example for configuring the package, take a look at the docker-compose.yml
file of the api tests.
See CHANGELOG.md
- Document your changes in
CHANGELOG.md
. Do notgit add
the file. - Run
yarn version
git push --tags origin master
npm publish
- Use the new version in the api package
MIT - Matthias Pfeil 2015 - now
Maintained by Gerald Pape