open-index/open-npm huggingface dataset:
npm package: @justbe-native-js/fetch-api
Description: Wrapper around javascript fetch api using rxjs methods and operators.
Latest version: 0.1.0

# Javascript Fetch api powered by Rxjs 
    Wrapper around javascript fetch api using rxjs methods and operators.

## Installation
Use the node package manager [npm](https://www.npmjs.com/package/@justbe-native-js/fetch-api) to install @justbe-native-js/fetch-api.
```bash
npm install @justbe-native-js/fetch-api --save
```
## Usage
```typescript
import { FetchApi } from '@justbe-native-js/fetch-api';
constructor(){
    let url = 'https://jsonplaceholder.typicode.com/posts/1';
    let options = {};
    FetchApi.fetch(url, options).subscribe(res => {
        console.log(res);
    })
}
```
### Fetch api options
```typescript
    method?: 'GET' | 'POST' | 'PUT' | 'DELETE';//default GET;
    headers?: any;
    body?: any;
```

## License
[MIT](https://choosealicense.com/licenses/mit/)
npm package: @justbe-native-js/in-memory-store
Description: InMemoryStore.init();     InMemoryStore.storeGet('sandman').subscribe(res => {       console.log(res);     }, err => {       console.log(err);     })     InMemoryStore.storeUpdate('sandman', { "id": "1", "name": "sandip" }, 'array');     InMemorySt
Latest version: 0.0.4

InMemoryStore.init();
    InMemoryStore.storeGet('sandman').subscribe(res => {
      console.log(res);
    }, err => {
      console.log(err);
    })
    InMemoryStore.storeUpdate('sandman', { "id": "1", "name": "sandip" }, 'array');
    InMemoryStore.storeUpdate('sandman', { "id": "2", "name": "sandip" }, 'array');
    setTimeout(() => {
      InMemoryStore.storeDelete('sandman','array',{ "id": "2", "name": "sandip" });
    }, 5000)