This project has the purpose to expand on the lazy pattern on giving ways to have a "lazy-like" holder or "true-lazy" holder in the same structure.
It has its origin in Kotlin & C#,
but expand on their use to include the nullable type as a valid type.
It will try to include its behaviour across different languages
(Javascript, Java, Kotlin, PHP, C# and possibly more)
This project only has the Javascript (with Typescript) uploaded.
But other languages will be eventually added
| Language | Published |
|---|---|
| Javascript Typescript |
|
| Java | Maven |
| Kotlin | Integrated in the language (but common values are to be added) |
| PHP | Composer |
| C# | Nuget |
Here is a list of the related projects made by me
You can contribute to my projects in 2 different ways
| JS/TS | Date | Quick note |
|---|---|---|
| 1.7.1 | August 12th, 2025 | Dependencies update type ( |
| 1.7.0 | January 8th, 2025 | 2025 update type ( |
| 1.6.0 | November 7th, 2024 | Addition of predefined lazyOf for the Datetype ( |
| 1.5.0 | July 21st, 2024 | Addition of predefined lazyOf for the boolean, bigint & number |
| 1.4.0 | March 31st, 2024 | Addition of type to the dependency |
| 1.3.0 | February 19th, 2024 | Standardization of the |
| 1.2.1 | December 4th, 2023 | Dependencies update |
| 1.2.0 | September 28th, 2023 | Addition of lazy "bigint" numbers Fix on the empty array to be readonly [] |
| 1.1.1 | August 14th, 2023 | Relocation of the lazy & lazyOf methods in their own standalone file |
| 1.1.0 | August 14th, 2023 | New CommonLazy |
| 1.0.1 | July 1st, 2023 | Dependencies update |
| 1.0.0 | June 28th, 2023 | The first implementation used in Javascript |