Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maximilianmairinger/projectobj

Create a projection of a subset of (nested) object properties, inspired by mongodb's implementation.
https://github.com/maximilianmairinger/projectobj

fields filter json mask obj object project projection properties query select

Last synced: about 2 months ago
JSON representation

Create a projection of a subset of (nested) object properties, inspired by mongodb's implementation.

Awesome Lists containing this project

README

        

# Project obj

Create a projection of a subset of (nested) object properties, inspired by mongodb's implementation.

> Please note that Project obj is currently under development and not yet suited for production

## Installation

```shell
$ npm i project-obj
```

## Usage

```ts
import projectObj from "project-obj"

projectObj()
```

## Contribute

All feedback is appreciated. Create a pull request or write an issue.