https://github.com/js-toolkit/web-utils
Web Utils
https://github.com/js-toolkit/web-utils
browser dom events html image javascript typescript utils web
Last synced: 4 months ago
JSON representation
Web Utils
- Host: GitHub
- URL: https://github.com/js-toolkit/web-utils
- Owner: js-toolkit
- License: mit
- Created: 2020-05-24T14:46:04.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-09-30T12:37:05.000Z (9 months ago)
- Last Synced: 2025-10-20T08:46:16.910Z (9 months ago)
- Topics: browser, dom, events, html, image, javascript, typescript, utils, web
- Language: TypeScript
- Homepage:
- Size: 965 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web Utils
[](https://www.npmjs.org/package/@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.
## Installation
Install the library via npm:
```bash
yarn add @js-toolkit/web-utils
# or
npm install @js-toolkit/web-utils
```
# Usage
Here’s an example of how to use the library:
```ts
import { getRandomID } from '@js-toolkit/web-utils/getRandomID';
const id = getRandomID();
```
# Features
- Simplifies common browser tasks
- Lightweight and fast
- Easy to integrate with other JavaScript projects
# Contributing
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.