oneday
The number of milliseconds in one day
Usage
Complete API Documentation.
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
import pkg from 'https://unpkg.com/oneday@^5.0.0/edition-deno/index.ts'
<script type="module">
import pkg from '//cdn.skypack.dev/oneday@^5.0.0'
</script>
<script type="module">
import pkg from '//unpkg.com/oneday@^5.0.0'
</script>
<script type="module">
import pkg from '//dev.jspm.io/oneday@5.0.0'
</script>
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 ES2022 for web browsers with Import for modulesoneday
aliases oneday/edition-es2022/index.js
oneday/edition-es2022/index.js
is TypeScript compiled against ES2022 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modulesoneday/edition-es2022-esm/index.js
is TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modulesoneday/edition-deno/index.ts
is TypeScript source code made to be compatible with Deno
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:
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
License
Unless stated otherwise all works are:
and licensed under: