An open API service indexing awesome lists of open source software.

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.

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.

![GitHub top language](https://img.shields.io/github/languages/top/behzadam/yotils)
![GitHub](https://img.shields.io/github/license/behzadam/yotils)

## 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]).