essentials-utils
v1.2.5
Published
A React utils functions.
Downloads
6
Maintainers
Readme
:rocket: 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
: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 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
:adult: Authors
✨ Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
:page_facing_up: License
essentials-utils is a open source project licensed as MIT.