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.
- Host: GitHub
- URL: https://github.com/wesleyara/essentials-utils
- Owner: wesleyara
- License: mit
- Created: 2022-11-28T20:38:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T18:47:34.000Z (2 months ago)
- Last Synced: 2025-04-15T03:02:14.591Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://essentials-utils.wesleyaraujo.dev/
- Size: 1.12 MB
- Stars: 17
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
essentials-utilsessentials-utils provides important functions for react and vanilla javascript/typescript
[](https://github.com/ellerbrock/open-source-badges/)
[](https://opensource.org/licenses/mit-license.php)
[](https://www.npmjs.com/package/essentials-utils)
[](http://npm-stat.com/charts.html?package=cz-conventional-changelog&from=2015-08-01) [](#contributors-)
:rocket: How use •
🛠️ Tools •
:pencil: Contributing •
:adult: Thanks •
:page_facing_up: LicenseSee 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 fixesThese 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
## ✨ 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).