@sensebox/opensensemap-api-models
Data models and database connection for openSenseMap
require()
openSenseMap API models
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
.
Configuration
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.
Changelog
See CHANGELOG.md
Releasing a new version
- 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
License
MIT - Matthias Pfeil 2015 - now
Maintained by Gerald Pape