Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/maximilianmairinger/projectobj
- Owner: maximilianMairinger
- Created: 2022-05-06T15:37:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T00:39:16.000Z (over 2 years ago)
- Last Synced: 2024-11-11T06:52:18.538Z (2 months ago)
- Topics: fields, filter, json, mask, obj, object, project, projection, properties, query, select
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/project-obj
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.