supplemental-lighting

0.0.1 • Public • Published

Supplemental Lighting

About

A simple Node.js library to calculate the current sunlight for use in supplemental lighting projects.

Usage

const supplementallighting = new SupplementalLighting(process.env.DARK_SKY, process.env.LATITUDE, process.env.LONGITUDE);
console.log(await supplementallighting.getCurrentLighting()); // returns sunlight amount on a scale from 0/100.

Readme

Keywords

none

Package Sidebar

Install

npm i supplemental-lighting

Weekly Downloads

1

Version

0.0.1

License

BSD-2-Clause

Unpacked Size

4.99 kB

Total Files

5

Last publish

Collaborators

  • charles-young