https://github.com/behzadam/yotils
Yotils is a powerful TypeScript utility library that provides a collection of convenient and performant utility functions, inspired by popular libraries like Lodash.
https://github.com/behzadam/yotils
api-extractor codechallenge rollup rollupjs typescript typescript-library utility-library
Last synced: 5 months ago
JSON representation
Yotils is a powerful TypeScript utility library that provides a collection of convenient and performant utility functions, inspired by popular libraries like Lodash.
- Host: GitHub
- URL: https://github.com/behzadam/yotils
- Owner: behzadam
- License: mit
- Created: 2022-01-13T11:41:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T12:04:15.000Z (almost 2 years ago)
- Last Synced: 2024-12-08T00:49:52.921Z (6 months ago)
- Topics: api-extractor, codechallenge, rollup, rollupjs, typescript, typescript-library, utility-library
- Language: TypeScript
- Homepage:
- Size: 813 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yotils is a collection of TypeScript utility functions
With Yotils, you can effortlessly handle common tasks such as array manipulation, object manipulation, string operations, functional programming, and more. Each utility function is carefully crafted to be efficient, reliable, and easy to integrate into your projects.

## Getting Started
```bash
npm i yotils
```## Local
```bash
git clone https://github.com/behzadam/yotils.git
```Install dependencies
```bash
npm install
```Run tests
```bash
npm test
```Build
```bash
npm build
```## Utilities
- [areSame](src/are-same.ts)
- [countItems](src/count-items.ts)
- [getLength](src/get-length.ts)
- [hasDuplicates](src/has-duplicates.ts)
- [isArrayOfString](src/is-array-of-string.ts)
- [isArray](src/is-array.ts)
- [isDateString](src/is-date-string.ts)
- [isDate](src/is-date.ts)
- [isDefined](src/is-defined.ts)
- [isEmpty](src/is-empty.ts)
- [isEmpty](src/is-empty.ts)
- [isEqual( @alpha )](src/is-equal.ts)
- [isMap](src/is-map.ts)
- [isNull](src/is-null.ts)
- [isNumber](src/is-number.ts)
- [isObject](src/is-object.ts)
- [isSet](src/is-set.ts)
- [isString](src/is-string.ts)
- [omitBy](src/omit-by.ts)
- [toChunks](src/to-chunks.ts)
- [wrapInArray](src/wrap-in-array.ts)URL:
- [isValidUrl](src/url/is-valid-url.ts)
- [getDomainWithoutWWW](src/url/get-domain-without-www.ts)## License
The "Yotils" repository is licensed under the [MIT License](https://opensource.org/licenses/MIT). Feel free to use, modify, and distribute the code as per the terms of the license.
## Contact
If you have any questions or suggestions regarding the repository, please feel free to [contact me](mailto:[email protected]).