nrtv-library

0.56.0 • Public • Published

The Nrtv library allows you to richly specify the nature of a function and its dependencies, and then use that function with a high degree of control over when it is called and with what arguments.

So far, you can

  • Define singleton generators

  • Request a set of singletons be applied to a function

  • Have a scope which is global across generator runs, but which is private to the module, and can be reset when the module or one of its dependencies is used

In the future you may

  • Be able to specify whether a module is a generator or a plain function

  • Be able to specify whether you want a module's singleton or its function

  • Be able to use a module with a substitute for one of its dependencies

Readme

Keywords

none

Package Sidebar

Install

npm i nrtv-library

Weekly Downloads

6

Version

0.56.0

License

ISC

Last publish

Collaborators

  • erikdeprecated