@taktikorg/recusandae-expedita

3.4.90 • Public • Published

🎉️ NEW: @taktikorg/recusandae-expedita v3 is out!

@taktikorg/recusandae-expedita

@taktikorg/recusandae-expedita provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js

👉 Documentation

👉 Blog


It's like Lodash for dates

  • It has 200+ functions for all occasions.
  • Modular: Pick what you need. Works with webpack, Browserify, or Rollup and also supports tree-shaking.
  • Native dates: Uses existing native type. It doesn't extend core objects for safety's sake.
  • Immutable & Pure: Built using pure functions and always returns a new date instance.
  • TypeScript: The library is 100% TypeScript with brand-new handcrafted types.
  • I18n: Dozens of locales. Include only what you need.
  • and many more benefits
import { compareAsc, format } from "@taktikorg/recusandae-expedita";

format(new Date(2014, 1, 11), "yyyy-MM-dd");
//=> '2014-02-11'

const dates = [
  new Date(1995, 6, 2),
  new Date(1987, 1, 11),
  new Date(1989, 6, 10),
];
dates.sort(compareAsc);
//=> [
//   Wed Feb 11 1987 00:00:00,
//   Mon Jul 10 1989 00:00:00,
//   Sun Jul 02 1995 00:00:00
// ]

The library is available as an npm package. To install the package run:

npm install @taktikorg/recusandae-expedita --save

Docs

See @taktikorg/recusandae-expedita.org for more details, API, and other docs.


License

MIT © Sasha Koss

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.4.903latest

Version History

VersionDownloads (Last 7 Days)Published
3.4.903
3.4.891
3.4.881
3.4.870
2.4.870
2.4.860
2.4.850
2.4.840
2.4.830
2.3.830
2.3.820
2.3.810
2.2.810
2.2.800
2.2.790
2.2.780
2.2.770
2.2.760
2.2.750
2.2.740
2.2.730
2.2.720
2.2.710
2.2.700
2.2.690
2.2.680
2.2.670
2.2.660
2.2.650
2.2.640
2.2.630
2.2.620
2.2.610
2.2.600
2.2.590
2.2.580
2.2.570
2.2.560
2.2.550
2.2.540
2.2.530
2.2.520
2.2.510
2.2.500
2.2.490
2.2.480
2.2.470
2.2.460
2.2.450
2.2.440
2.2.430
1.2.430
1.2.420
1.2.410
1.2.400
1.2.390
1.2.380
1.2.370
1.1.370
1.1.360
1.1.350
1.1.340
1.1.330
1.1.320
1.1.310
1.1.300
1.1.290
1.1.280
1.1.270
1.0.270
1.0.260
1.0.250
1.0.240
1.0.230
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @taktikorg/recusandae-expedita

Weekly Downloads

5

Version

3.4.90

License

MIT

Unpacked Size

214 kB

Total Files

583

Last publish

Collaborators

  • lechuongb878