@softcripto/utils
v1.0.0
Published
Collection of utility libraries
Downloads
1
Maintainers
Readme
@softcripto/utils
Collection of utility libraries
Install
npm install @softcripto/utils --save
Usage
There are several utility methods.
Dependency Injector
Why? Submodule should not use any services by directly requiring from other submodules but we have dependency injector to use external services
const dependencies = require("./dependencies"); //this is target object where external services will be injected
const injectDependencies = require("@softcripto/utils/injectDependencies");
injectDependencies(dependencies, externals, __filename); //