daet

Minimal immutable date class that supports relative time, calendar time, and plus/minus of different units.

Usage no npm install needed!

<script type="module">
  import daet from 'https://cdn.skypack.dev/daet';
</script>

README

daet

Status of the GitHub Workflow: bevry NPM version NPM downloads Dependency Status Dev Dependency Status
GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

Minimal immutable date class that supports relative time, calendar time, and plus/minus of different units.

Usage

Complete API Documentation.

Why use Daet over say?

Beause Daet:

  • is written in typescript, so you get great intellisense
  • is immutable, so no funy business
  • is absolutely tiny in size
  • yet it has the most intuitive, rich, and efficient relative date interface out there

Install

npm

  • Install: npm install --save daet
  • Import: import pkg from ('daet')
  • Require: const pkg = require('daet').default

Skypack

<script type="module">
    import pkg from '//cdn.skypack.dev/daet@^3.23.0'
</script>

unpkg

<script type="module">
    import pkg from '//unpkg.com/daet@^3.23.0'
</script>

jspm

<script type="module">
    import pkg from '//dev.jspm.io/daet@3.23.0'
</script>

Editions

This package is published with the following editions:

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?

GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

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: