@b613/utils
v1.0.1 image promise array client number string regex schema server and 3 more...
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/color |
npm install cli-color (only for Node.js usage) |
@b613/utils/image |
npm install image-downloader sharp |
@b613/utils/server |
npm install body-parser express morgan |
Libraries
Module | Browser | Node.js | Documentation |
---|---|---|---|
@b613/utils/array |
๐ธ | ๐ธ | array.d.ts |
@b613/utils/clist |
๐ธ | ๐ธ | CircularList.d.ts |
@b613/utils/client |
๐ธ | ๐ธ | client.d.ts |
@b613/utils/color |
๐ธ | ๐ธ | color.d.ts |
@b613/utils/http |
๐ธ | ๐ธ | color.d.ts |
@b613/utils/image |
๐ธ | ๐ธ | image.d.ts |
@b613/utils/number |
๐ธ | ๐ธ | number.d.ts |
@b613/utils/object |
๐ธ | ๐ธ | object.d.ts |
@b613/utils/ping |
๐ธ | ping.d.ts | |
@b613/utils/promise |
๐ธ | ๐ธ | promise.d.ts |
@b613/utils/qs |
๐ธ | ๐ธ | qs.d.ts |
@b613/utils/regex |
๐ธ | ๐ธ | regex.d.ts |
@b613/utils/schema |
๐ธ | ๐ธ | schema.d.ts |
@b613/utils/server |
๐ธ | Server.d.ts | |
@b613/utils/string |
๐ธ | ๐ธ | string.d.ts |
@b613/utils/trace |
๐ธ | ๐ธ | trace.d.ts |
Development Setup
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.
License
Under the MIT license. See LICENSE file for more details.