1.0.0 • Published 5 years ago

@softcripto/utils v1.0.0

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
5 years ago

@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); //

License

MIT

1.0.0

5 years ago