https://github.com/matisbyar/byarutils
Simple, powerful, lightweight helpers library to assist your projects
https://github.com/matisbyar/byarutils
byarutils helpers library react
Last synced: 3 months ago
JSON representation
Simple, powerful, lightweight helpers library to assist your projects
- Host: GitHub
- URL: https://github.com/matisbyar/byarutils
- Owner: matisbyar
- License: mit
- Created: 2023-09-24T12:09:09.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T12:25:51.000Z (over 2 years ago)
- Last Synced: 2025-04-27T12:26:08.312Z (about 1 year ago)
- Topics: byarutils, helpers, library, react
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/byarutils
- Size: 235 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# byarutils
> Simple, powerful, lightweight helpers library to assist your projects
[](https://www.npmjs.com/package/byarutils) [](https://standardjs.com)
## Install
```bash
npm install --save byarutils
```
## Usage
```jsx
import { log } from 'byarutils'
import { addToPool } from 'byarutils'
function send(to, subject, body) {
try {
// ...
log('SUCCESS', 'Mail Sender Service', 'Mail sent successfully to: ' + to)
} catch (error) {
log('ERROR', 'Mail Sender Service', 'Mail sending failed to: ' + to)
addToPool(send, [to, subject, body], 3)
}
}
```
## License
MIT © [matisbyar](https://github.com/matisbyar)
## Thanks to contributors
- [Valentin Vanhove](https://github.com/vanhovev)