open-index/open-npm huggingface dataset:
npm package: @kubric/editable-entity-processors
Description: Editable Entity processors
Author: Abhijith Vijayan
Latest version: 1.2.2

# @kubric/editable-entity-processors

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [References](#references)
- [Build](#build)
- [Tests](#tests)

## Installation

Ensure you have [Node.js](https://nodejs.org) 10 or later installed. Then run the following:

```
# via npm
npm install @kubric/editable-entity-processors

# or yarn
yarn add @kubric/editable-entity-processors
```

## Usage

```js
import parameterProcessor, {ENTITY} from '@kubric/editable-entity-processors';

const definedParams = {
  // custom params
}

const {parameters, features} = parameterProcessor(definedParams, {
  [ENTITY.PRODUCT_IMAGE_ENTITY]: 'https://some.url',
  [ENTITY.IMAGE_HEIGHT_ENTITY]: 100,
  [ENTITY.IMAGE_WIDTH_ENTITY]: 100,
  [ENTITY.QUALITY_ENTITY]: 'preview',
  [ENTITY.ISLANDSCAPE_ENTITY]: 1,
});
```

## References

> https://kubric.slite.com/api/s/note/E68noyDw4HREMQpR9pWpAM/Sticker-shot-config

## Build

`npm run build` will build the library

## Tests

`npm test` will run the tests and print the results