new_day_event
v1.0.2
Published
Package that can help you to now if new day is started in javascript
Downloads
2
Readme
New day event
Very simple library that can help you to now if new day is started
Npm installing:
npm i new_day_event
import from node_modulesimport 'new_day_event'
Installing without npm:
git clone https://github.com/Volizik/new_day_event.git
and inside your project add this line before your own script tag<script src="path/to/new_day_event/directory"></script>
Usage:
document.addEventListener('new-day', function() {
alert('New day is started!')
});