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

https://github.com/azdreamic/data-lib

This library is purpose of do array / object operation like merge, clone, loop and some other processes. We always confuse to choose the best practices, performance and maintaining the common source from different developers.
https://github.com/azdreamic/data-lib

angular array javascript json react typescript vuejs

Last synced: 2 months ago
JSON representation

This library is purpose of do array / object operation like merge, clone, loop and some other processes. We always confuse to choose the best practices, performance and maintaining the common source from different developers.

Awesome Lists containing this project

README

          

# Data Processor Library For TypeScript

![Release](https://github.com/azdreamic/data-lib/workflows/Release%20Build/badge.svg)
![Build](https://github.com/azdreamic/data-lib/workflows/Development%20Build/badge.svg)

This library is purpose of do array / object operation like merge, clone, loop and some other processes. We always confuse to choose the best practices, performance and maintaining the common source from different developers.

This is very simple library written in typescript to resolve those conflicts. Since, it is written in typescript & npm combo will gave you extra feature like we can use it in typescript, javascript, angular, react and vuejs applications.

## Installing Packages

Install the package from npm library.

```

npm install @azdreamic/data-lib --save

```

## Features

- Chains/pipes the process array fluently.
- TypeScript Supported
- Can use it in various platforms( TypeScript, JavaScript, Angular, React and VueJS )

## Sample Snippet to Use

```
import { ArrayProcessor } from '@azdreamic/data-lib';

const arr = [{ key: 1, value: 1 }, { key: 2, value: 2 }, { key: 3, value: 3 }];

let result = ArrayProcessor<{key:number,value:number}>(arr).filterByKeyValue('key', 2);

result.get();

```

[StackBlitz Sample](https://stackblitz.com/edit/angular-xtzbrd)

## Documentation

- [Guide Documentation](https://azdreamic.github.io/data-lib/)
- [Api Documentation](https://azdreamic.github.io/data-lib/api)

## License

MIT [License](license)