This package provides utility methods for common operations which cover a wide range of use cases and helps in avoiding writing boilerplate code.
npm install @b613/utils
Install Peer Dependencies by needed modules
Module | Peer Dependencies |
---|---|
@b613/utils/lib/color |
npm install cli-color (only for Node.js usage) |
@b613/utils/lib/image |
npm install image-downloader sharp |
@b613/utils/lib/server |
npm install body-parser express morgan |
@b613/utils/lib/trace |
npm install cli-color (only for Node.js usage) |
Module | Browser | Node.js | Documentation |
---|---|---|---|
@b613/utils/lib/array |
✔️ | ✔️ | array.d.ts |
@b613/utils/lib/clist |
✔️ | ✔️ | CircularList.d.ts |
@b613/utils/lib/client |
✔️ | ✔️ | client.d.ts |
@b613/utils/lib/color |
✔️ | ✔️ | color.d.ts |
@b613/utils/lib/http |
✔️ | ✔️ | color.d.ts |
@b613/utils/lib/image |
✔️ | ✔️ | image.d.ts |
@b613/utils/lib/number |
✔️ | ✔️ | number.d.ts |
@b613/utils/lib/object |
✔️ | ✔️ | object.d.ts |
@b613/utils/lib/ping |
✔️ | ping.d.ts | |
@b613/utils/lib/promise |
✔️ | ✔️ | promise.d.ts |
@b613/utils/lib/qs |
✔️ | ✔️ | qs.d.ts |
@b613/utils/lib/regex |
✔️ | ✔️ | regex.d.ts |
@b613/utils/lib/schema |
✔️ | ✔️ | schema.d.ts |
@b613/utils/lib/server |
✔️ | Server.d.ts | |
@b613/utils/lib/string |
✔️ | ✔️ | string.d.ts |
@b613/utils/lib/trace |
✔️ | ✔️ | trace.d.ts |
-
Load environment
At the top-level of your project run:
direnv allow
-
Install dependencies
make install
-
Start dev environment
make env
This will starts a preconfigured Tmux session. Please see the .tmuxinator.yml file.
Under the MIT license. See LICENSE file for more details.