Skip to content

Files

Latest commit

Aug 9, 2024
d39da28 · Aug 9, 2024

History

History

models

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 2, 2018
Mar 10, 2022
Aug 6, 2024
Oct 2, 2023
Jan 7, 2021
Aug 9, 2024
Jan 23, 2018
Sep 11, 2023
Jan 2, 2018
Aug 9, 2024

@sensebox/opensensemap-api-models

Data models and database connection for openSenseMap

NPM Version

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

  1. Document your changes in CHANGELOG.md. Do not git add the file.
  2. Run yarn version
  3. git push --tags origin master
  4. npm publish
  5. Use the new version in the api package

License

MIT - Matthias Pfeil 2015 - now

Maintained by Gerald Pape