Nanoprogrammed Penultimate Musicianship
    Have ideas to improve npm?Join in the discussion! »

    lazy-val
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.4 • Public • Published

    lazy-val

    Lazy value.

    class Lazy<T> {
        constructor(creator: () => Promise<T>)
        readonly hasValue: boolean
        value: Promise<T>
    }

    Keywords

    none

    Install

    npm i lazy-val

    DownloadsWeekly Downloads

    178,604

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    2.61 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar