Skip to content
/ lazy Public

A simple implementation of the Kotlin lazy

License

Notifications You must be signed in to change notification settings

joooKiwi/lazy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy

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)

Publication location

This project only has the Javascript (with Typescript) uploaded.

But other languages will be eventually added

Language Published
Javascript
Typescript
version
downloads
Java Maven
Kotlin Integrated in the language
(but common values are to be added)
PHP Composer
C# Nuget

Related projects

Here is a list of the related projects made by me

Contribution

You can contribute to my projects in 2 different ways

Version history

JS/TS Date Quick note
1.7.1 August 12th, 2025 Dependencies update
type (1.2.0 → 1.2.1)
1.7.0 January 8th, 2025 2025 update
type (1.1.01.2.0)
1.6.0 November 7th, 2024 Addition of predefined lazyOf for the Date
type (1.0.01.1.0)
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 BIG_INT / BIGINT to only be BIGINT
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

About

A simple implementation of the Kotlin lazy

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published