npm install @js-toolkit/web-utils
A lightweight utility library for common operations in the browser environment. This package simplifies tasks such as DOM manipulation, event handling, and other browser-related utilities.
Install the library via npm:
``bash`
yarn add @js-toolkit/web-utilsor
npm install @js-toolkit/web-utils
Here’s an example of how to use the library:
`ts
import { getRandomID } from '@js-toolkit/web-utils/getRandomID';
const id = getRandomID();
``
- Simplifies common browser tasks
- Lightweight and fast
- Easy to integrate with other JavaScript projects
Contributions are welcome! Please follow these steps:
1. Fork the repository.
1. Create a new branch (git checkout -b feature/my-feature-name).
1. Commit your changes (git commit -m 'Add some feature').
1. Push the branch (git push origin feature/my-feature-name).
1. Open a pull request.