1.1.0 • Published 9 months ago

redcedars-builder v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

redcedars-builder

Module for building a jpeg image with data from an Ambient Weather station.

Requires a URL from AmbientWeather.net See: https://github.com/ambient-weather/api-docs/wiki/Device-Data-Specs See: https://ambientweather.docs.apiary.io/#introduction/helper-libraries

This module just uses axios to pull the REST data since it does not need to update in real time.

test.ts shows how to use the module

The normal use of this module is to build an npm module that can be used as part of a bigger progress.

index.d.ts describes the interface for the module

The LoggerInterface, KacheInterface and ImageWriterInterface interfaces are dependency injected into the module. Simple versions are provided and used by the test wrapper.

Once instanciated, the CreateImages() method can be called to create the image.

To use the test wrapper to build a screen, run the following command.

$ npm start

or

$ node app.js 
1.1.0

9 months ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago