README
oneday
The number of milliseconds in one day
Usage
import oneday from 'oneday'
setInterval(function () {
console.log('this occurred 24 hours later')
}, oneday)
Install
- Install:
npm install --save oneday
- Import:
import pkg from ('oneday')
- Require:
const pkg = require('oneday').default
<script type="module">
import pkg from '//cdn.skypack.dev/oneday@^4.17.0'
</script>
<script type="module">
import pkg from '//unpkg.com/oneday@^4.17.0'
</script>
<script type="module">
import pkg from '//dev.jspm.io/oneday@4.17.0'
</script>
Editions
This package is published with the following editions:
oneday/source/index.ts
is TypeScript source code with Import for modulesoneday/edition-browsers/index.js
is TypeScript compiled against ES2020 for web browsers with Import for modulesoneday
aliasesoneday/edition-es2019/index.js
oneday/edition-es2019/index.js
is TypeScript compiled against ES2019 for Node.js 10 || 12 || 14 || 16 with Require for modulesoneday/edition-es2019-esm/index.js
is TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 with Import for modules
History
Discover the release history by heading on over to the HISTORY.md
file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
- Benjamin Lupton — view contributions
- Dom Christie — view contributions
- Dominic Tarr — view contributions
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
- Copyright © 2015+ Bevry Pty Ltd
and licensed under: