Documentation

daet

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
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.

Install

npm

  • Install: npm install --save daet
  • Require: require('daet')

jspm

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

Editions

This package is published with the following editions:

  • daet/source/index.ts is typescript source code with import for modules
  • daet/edition-browsers/index.js is typescript compiled for browsers with import for modules
  • daet aliases daet/edition-node-13/index.js
  • daet/edition-node-13/index.js is typescript compiled for node.js 13 with require for modules

Usage

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

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:

  • Benjamin Lupton

Sponsors

No sponsors yet! Will you be the first?

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:

  • Copyright © 2019+ Benjamin Lupton

and licensed under: