@@ -6,9 +6,11 @@ objects don't handle timezones very well.
6
6
7
7
ComPlainDate is a collection of tools for ** expressive and timezone-safe
8
8
manipulation of dates and times** on top of the JavaScript features already
9
- available in today's browsers and runtime systems.
9
+ available in today's browsers and runtime systems. The package is
10
+ dependency-free and supports tree-shaking, making production bundle size
11
+ increase as little as ` 1 kB ` for most projects.
10
12
11
- The central idea in ComPlainDate is to provide timezone-agnostic
13
+ The central idea in ComPlainDate is to provide immutable timezone-agnostic
12
14
[ ` PlainDate ` ] ( #plaindate-for-calendar-dates ) and
13
15
[ ` PlainTime ` ] ( #plaintime-for-time-of-day ) objects with composable utility
14
16
functions for common calendar and time related operations.
@@ -560,11 +562,11 @@ utilities outside of ComPlainDate.
560
562
### Composable functions
561
563
562
564
Inspired by concepts from functional programming, functions are pure and
563
- composable and all operations requiring multiple arguments are implemented as
565
+ composable and operations requiring multiple arguments are implemented as
564
566
higher-order functions for currying.
565
567
566
- Also, there are no classes here, only objects adhering to interfaces and
567
- accompanying factory functions to create them.
568
+ Also, there are no classes here, only immutable objects adhering to interfaces
569
+ and accompanying factory functions to create them.
568
570
569
571
Please don't let this scare you, the ComPlainDate utilities are just as easy to
570
572
use in a non-functional paradigm too!
0 commit comments