Displaying 1 to 3 from 3 results

lazy-value - Create a lazily evaluated value

  •    Javascript

Useful when a value is expensive to generate, so you want to delay the computation until the value is needed. For example, improving startup performance by deferring nonessential operations.Expected to return a value.

import-lazy - Import a module lazily

  •    Javascript

Note: Version 3 is exclusively Proxy-based and requires Node.js 6+. Use version 2 if you need Node.js <=5 support.

define-lazy-prop - Define a lazily evaluated property on an object

  •    Javascript

Useful when the value of a property is expensive to generate, so you want to delay the computation until the property is needed. For example, improving startup performance by deferring nonessential operations.Object to add property to.