Home Automation
A library for visualizing temperature in a LCD form in the terminal.
A package that receives a temperature and couple of settings for border and size.
And prints the temperature in the terminal with given settings.
Installation
npm install @mamamiracolie/temperature-visualizer
Usage example
Use convertToBinary() to setup the output of the temperature:
import Settings from '@mamamiracolie/temperature-visualizer/src/settings'
const settings = new Settings()
let number = -98.45;
let border = false;
let doubleSize = false;
settings.convertToBinary(number + " °C", border, doubleSize)
Supported characters:
0 1 2 3 4 5 6 7 8 9 - . ° C and space
Development setup
npm install
Documentation
Meta
Username: mamamiracolie
Email: benjamin.dhondt@student.vives.be
School: VIVES Brugge
License: MIT