GitHub
D

Day.js

41,000
2,000
Updated 3 months ago

Fast 2kB alternative to Moment.js with the same modern API

datetime
About Day.js

Fast 2kB alternative to Moment.js with the same modern API Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin euismod, nisi vel consectetur interdum, libero augue commodo nisi, at lacinia enim ex vitae est. Etiam et condimentum tortor. Donec euismod, nisi vel consectetur interdum, libero augue commodo nisi, at lacinia enim ex vitae est.

Key Features:

  • Feature one of Day.js
  • Another important feature
  • Something that makes it stand out
  • Performance benefits
  • Developer experience improvements
Getting Started

Here's a simple example to get started with Day.js:

import { Day.js } from 'dayjs';

// Example code
const app = new Day.js({
  target: document.body,
  props: {
    message: 'Hello world!'
  }
});
Package Information

Latest Version

v2.3.1Stable

Bundle Size

32.7 kBminified + gzipped

Weekly Downloads

1.2M+

License

MIT

Dependencies

3 production, 15 development

Community Stats

GitHub Stars

41,000

Contributors

146

Open Issues

78

Last Commit

2 days ago