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

https://github.com/wesleyara/essentials-utils

essentials-utils a collection of utility functions for Javascript/Typescript ecosystem.
https://github.com/wesleyara/essentials-utils

Last synced: about 2 months ago
JSON representation

essentials-utils a collection of utility functions for Javascript/Typescript ecosystem.

Awesome Lists containing this project

README

        


essentials-utils

essentials-utils provides important functions for react and vanilla javascript/typescript

[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)
[![npm version](https://img.shields.io/npm/v/essentials-utils.svg?style=flat-square)](https://www.npmjs.com/package/essentials-utils)
[![npm downloads](https://img.shields.io/npm/dm/essentials-utils.svg?style=flat-square)](http://npm-stat.com/charts.html?package=cz-conventional-changelog&from=2015-08-01) [![All Contributors](https://img.shields.io/badge/all_contributors-2-green.svg?style=flat-square)](#contributors-)


:rocket: How use
🛠️ Tools
:pencil: Contributing
:adult: Thanks
:page_facing_up: License

See the documentation: https://essentials-utils.wesleyaraujo.dev/


# :rocket: How use

Instalation:

```bash
npm install essentials-utils
#or
yarn add essentials-utils
```

Answer the questions (When choosing the tool, use the arrows keys to navigate, the spacebar to select and enter to finish)

# 🛠️ Tools

Example:

## upperFirst

Capitalize the first letter of the string.

```js
import { upperFirst } from "essentials-utils";

upperFirst("hello world"); // Hello world
```

## useDebounce

Debounce hook is used to minimize backend requests on inputs.

```js
import { useDebounce } from "essentials-utils";

const [value, setValue] = useState("");
const debouncedValue = useDebounce(value, 1000);

useEffect(() => {
console.log(debouncedValue);
}, [debouncedValue]);
```

# :pencil: Contributing

Your contribution to the `essentials-utils` is essential for the evolution of the project, you can do it as follows:

- Open an [issue](https://github.com/wesleyara/essentials-utils/issues) to clear doubts, report bugs or give ideas
- Open a [pull request](https://github.com/wesleyara/essentials-utils/pulls) to give ideas for code improvement, implementation of new features and bug fixes

These are just some of the ways you can contribute to the project read the [CONTRIBUTING](https://github.com/wesleyara/essentials-utils/blob/main/.github/CONTRIBUTING.md) for more information

# :adult: Authors



Wesley Araújo


## ✨ Contributors



Patryck Silva



João Vitor Ianuci



Guilherme Felipe



Heron Amaral


Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

# :page_facing_up: License

essentials-utils is a open source project licensed as [MIT](LICENSE).