Common Utils
This package provides utility methods for common operations which cover a wide
range of use cases and helps in avoiding writing boilerplate code.
Install
npm install @b613/utils
Install Peer Dependencies by needed modules
Module | Peer Dependencies |
---|
@b613/utils/lib/client | npm install axios axios-cache-adapter |
@b613/utils/lib/color | npm install cli-color (only for Node.js usage) |
@b613/utils/lib/image | npm install image-downloader jimp |
@b613/utils/lib/server | npm install body-parser express morgan |
@b613/utils/lib/trace | npm install cli-color (only for Node.js usage) |
Libraries
Development Setup
-
Install Nix Package Manager
-
Install direnv
with your OS package manager
-
Hook it direnv
into your shell
-
At the top-level of your project run:
direnv allow
The next time your launch your terminal and enter the top-level of your
project, direnv
will check for changes.
License
Under the MIT license.
See LICENSE file for
more details.