npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@geylianlingier/home-automation

v0.8.0

Published

home automation library

Readme

Home Automation

npm version

Master Branch :

ESLint Markdown Linter Tests

Dev Branch :

ESLint Markdown Linter Tests

Description

This library contains three classes :

  1. convertTemperature

    • This class converts temperature from different units.
  2. thermostat

    • This class contains everything you need to create a thermostat
  3. jsonTHermostat

    • This class contains everything you need to create a thermostat with json arguments and returns.
  4. httpThermostat

    • This class contains everything you need to create a httpThermostat instance by using a httpTemperatureSensor
  5. httpTemperatureSensor

    • This class contains everyhting you need to create a temperature sensor that gets its data from a REST API. You can give this url when creating an instance of this class with its constructor.

For more information about each class and how to use them, you can check the github pages from this project. Github Pages

Installation instructions

Make sure youre project is already an npm project:

npm init

To pull this project from npm you can use the next command :

npm i @geylianlingier/home-automation

Update package :

npm install

Running eslinter :

npm run lint

Updating docs :

npm run docs

Versions

v0.1

Creating first thermostat class, in next versions these classes were refactored.

v0.2

In this version the JSON Thermostat was added to the library.

v0.3

Adding support for units to the json class.

v0.4.0

Adding the library to npmjs.com.

v0.4.1

Added documentation.

v0.4.2

Cleaning the library:

-No Javascript documents -Also cleaning all classes from bugging code

v0.4.3

Added ES Linter and Markdown Linter + badge.

running linter :

npm run lint

v0.5

Added HTTPTemperatureSensor class and HTTPThermostat class

v0.6

Added typedoc documentation.

creating documentation docs :

npm run docs

v0.6.1

solve Github pages bug.

v0.7.0

Organized code better to handle any kind of change:

  • Single Responsibility
  • Managing Dependencies

v0.7.1

In v0.6.1 the github page bug was solved with adding .nojeckyll, But when using npm run docs the added document disappeared.

v0.8.0

In this version most of the test are added to check if the classes work correctly. I also added a few methods to use classes and to create test easier.

Also added a new github badge for github action tests.

License

This project is licensed with MIT.

To Do

  • The JSONThermostatSettings interface gets a unit as a string, but it should be of the Unit type. So the code in that class must be refactored.

Author Information

Hello, I am Geylian, and I made this library for an assignment for school. Please check my Github :octocat: