-
singleton(id, mdl, fn)
-
Ensures that only one instance for the wrapped module is instantiated. Works similar to #ifndef/#define pragmas in C
Parameters:
Name Type Description id
string the unique id under which the module is stored in the global namespace
mdl
Object the module variable that is passed to each node/browserify module
fn
function function that wraps the code of the module
Maintenance
Commit Frequency
Further analysis of the maintenance status of 1t based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.
An important project maintenance signal to consider for 1t is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.