/essentials-utils

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

Primary LanguageTypeScriptMIT LicenseMIT

essentials-utils

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

Open Source Love MIT Licence npm version npm downloads All Contributors


🚀 How use

Instalation:

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.

import { upperFirst } from "essentials-utils";

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

useDebounce

Debounce hook is used to minimize backend requests on inputs.

import { useDebounce } from "essentials-utils";

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

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

for more information, see the docs, Vanilla and React

📝 Contributing

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

  • Open an issue to clear doubts, report bugs or give ideas
  • Open a pull request 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 for more information

🧑 Authors


Wesley Araújo

✨ Contributors


Patryck Silva


João Vitor Ianuci


Guilherme Felipe

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

📄 License

essentials-utils is a open source project licensed as MIT.