Package Exports
- is-night-mode
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-night-mode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-night-mode 
Check if is night mode
Install
$ npm install is-night-mode
# or
$ yarn add is-night-mode
Usage
const isNightMode = require("is-night-mode");
// default options
const options = {
day: 6,
night: 20,
checkLocalStorage: false,
itemName: "night-mode",
checkOSTheme: false
};
isNightMode(); // without passing options default options are defined
//=> true || false
isNightMode(options); // with passing custom options
//=> true || false
License
MIT © Abdessalam BENHARIRA