An open API service indexing awesome lists of open source software.

https://github.com/creemama/utiljs

Reusable JavaScript utilities for Node.js
https://github.com/creemama/utiljs

javascript javascript-library javascript-tools node nodejs

Last synced: 8 months ago
JSON representation

Reusable JavaScript utilities for Node.js

Awesome Lists containing this project

README

          

# Util.js

> Reusable JavaScript utilities for Node.js


Code Style: Prettier

Util.js is a [Lerna](https://lerna.js.org/) monorepo with the following packages:

| Package | NPM Status |
| ---------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| [@util.js/arrays](https://github.com/creemama/utiljs/tree/master/packages/utiljs-arrays) | NPM Status |
| [@util.js/aws](https://github.com/creemama/utiljs/tree/master/packages/utiljs-aws) | NPM Status |
| [@util.js/emails](https://github.com/creemama/utiljs/tree/master/packages/utiljs-emails) | NPM Status |
| [@util.js/errors](https://github.com/creemama/utiljs/tree/master/packages/utiljs-errors) | NPM Status |
| [@util.js/jquery](https://github.com/creemama/utiljs/tree/master/packages/utiljs-jquery) | NPM Status |
| [@util.js/node-files](https://github.com/creemama/utiljs/tree/master/packages/utiljs-node-files) | NPM Status |
| [@util.js/node-http](https://github.com/creemama/utiljs/tree/master/packages/utiljs-node-http) | NPM Status |
| [@util.js/node-lerna](https://github.com/creemama/utiljs/tree/master/packages/utiljs-node-lerna) | NPM Status |
| [@util.js/node-streams](https://github.com/creemama/utiljs/tree/master/packages/utiljs-node-streams) | NPM Status |
| [@util.js/node-timers](https://github.com/creemama/utiljs/tree/master/packages/utiljs-node-timers) | NPM Status |
| [@util.js/numbers](https://github.com/creemama/utiljs/tree/master/packages/utiljs-numbers) | NPM Status |
| [@util.js/objects](https://github.com/creemama/utiljs/tree/master/packages/utiljs-objects) | NPM Status |
| [@util.js/privates](https://github.com/creemama/utiljs/tree/master/packages/utiljs-privates) | NPM Status |
| [@util.js/promises](https://github.com/creemama/utiljs/tree/master/packages/utiljs-promises) | NPM Status |
| [@util.js/strings](https://github.com/creemama/utiljs/tree/master/packages/utiljs-strings) | NPM Status |

The anatomy for each package is loosely based on ["Directory structure for JavaScript/Node Projects"](https://gist.github.com/tracker1/59f2c13044315f88bee9).

Use [conventional commits](https://github.com/pvdlg/conventional-changelog-metahub) for commit messages.

See scripts/README.md for information on the scripts used to maintain this project.

## Maintenance

The scripts in this directory do the following:

- Run a Docker container for development.

- `./dev.sh docker`

- Install and update dependencies. Use [fix] as the commit type.

- `./dev.sh docker-update-dockerfile`
- `./dev.sh docker-update`
- `./dev.sh install-globals` - used in docker/Dockerfile
- `./dev.sh install-dev-globals` - used in docker/Dockerfile
- `./dev.sh install`
- `./dev.sh audit`
- `npm audit fix && ./dev.sh install` - run if an audit finds something

- Format and run a linter.

- `./dev.sh prettier` (Use [style] as the commit type.)
- `./dev.sh eslint`
- `` prettier --write `git ls-files -m` ``
- `./dev.sh shell-format`

- Update documentation. Use [docs] as the commit type.

- `./dev.sh jsdoc`
- `./dev.sh jsdoc2md`
- `./dev.sh prettier`
- `git commit -am "style: run prettier"`

- Test and publish.

- `./dev.sh clean`
- `./dev.sh babel`
- `./dev.sh build` - executes clean and babel
- `./dev.sh mocha`
- `npm run test` - executes mocha
- `./dev.sh publish` - bumps up the version number