open-index/open-npm huggingface dataset:
npm package: @joinbox/eslint-config-joinbox
Description: Joinbox Ltd. airbnb based linter configuration for javascript
Author: Felix Steiner
Latest version: 2.1.0

# Joinbox Linter Configuration
Linter configuration for JavaScript project based on airbnb rules with some custom changes.

## Installation

Since the module is not published yet pull it form github.

`npm i -D @joinbox/eslint-config-joinbox`

## Usage

Add the following line to the `.eslintrc` file in the project root folder.

```
{
  "extends": "@joinbox/joinbox"
}
```

## Joinbox Coding Guildelines

The guidelines can be found [here](https://www.notion.so/JS-Style-Guide-ea3e222afdbc40829310dab92a29833d?pvs=4).
npm package: @joinbox/loopback-component-angular-sdk
Description: Loopback angular SDK delivered trough an API endpoint
Author: Lorenzo Kappeler
Latest version: 2.1.0

# loopback-component-angular-sdk
Loopback angualr sdk deliverd over the api

## Configuration

Add the configuration in your `component-config.json`

```
"@joinbox/loopback-component-angular-sdk": {
    "mountPath": "/sdk"
    "cacheOptions": {}
}
```

## Usage

Call the configured endpoint `http://localhost:10100/sdk?=api.example.com` and the loopback SDK will be returned.

### Params

- options: An Object with option for building the SDK (name: default value):
  - ngModuleName: 'lbServices'
  - apiUrl: ${req.headers.host}/${app.get('restApiRoot')} // request-host/api-root-path
  - includeCommonModules: true
  - namespaceModels: false
  - namespaceCommonModels: false
  - namespaceDelimiter: '.'
  - modelsToIgnore: []


### Cache options

See [lru-cache docs](https://github.com/isaacs/node-lru-cache#readme)
npm package: @joinbox/loopback-component-custom-headers
Description: Adds custom headers to loopback responses according to the model configuration
Author: Lorenzo Kappeler
Latest version: 0.1.2

# Loopback Component Custom Headers

Sets cache headers according to the model configuration

Add the following configuration to your model configuration if you want to enable
custom headers.

```
MyModel {
    "options": {
        "setCustomHeaders": true,
        "customHeaders": {
            "Cache-Control": "public, max-age=86400",
            "Vary": "User-Agent"
        }
    }
}
```
Pameters:

* setCustomHeaders: Boolean enables the feature for the given model.
* customHeaders: Object adds all configured headers to the response where the key is the name of the header and the value the header value.
npm package: @joinbox/loopback-postgres-error-handler
Description: Convert postgres error messages for the loopback error handler
Author: Lorenzo Kappeler
Latest version: 1.0.1

# loopback-postgres-error-handler

Convert postgres error messages for the loopback error handler.
Maps the errors `code` property to the configured status

## Usage and configuration

### Installation

`npm i @joinbox/loopback-postgres-error-handler`

### Configuration

Add the following configuration to your middleware config.
Make sure the error handler is included before the strong-error-handler or your
custom error handler. Also make sure you have disabled the rest error handler in the `config.json` file


```
{
    "remoting": {
        "rest": {
            "handleErrors": false
        }
    }
}

```


`middleware.json`

- errorCodeMappings: A key value mapping for postgres error codes and http status codes
Note: The postgres error code must be a String.

```
"final:after": {
        "./../../../index.js": {
            "params": {
                "errorCodeMappings": [
                    ["23000", 406],
                    ["23001", 406],
                    ["23502", 406],
                    ["23503", 406],
                    ["23514", 406],
                    ["23514", 406]
                ]
            }
        },
        "@joinbox/loopback-microservice#errorHandler": {
            "params": {
                "debug": false,
                "log": true,
                "serviceName": "test-service"
            }
        }
    }

```


## Testing

You can run `npm test` to run the integration and unit tests.

You must have a postgres database running with the credentials matching the ones in the `test/support/server/datasources.json` file.
npm package: @joinbox/soa-service-media
Description: Joinbox Media Service
Author: Michael van der Weg
Latest version: 1.3.0

# soa-service-image

Joinbox Image Service

[![Travis](https://img.shields.io/travis/eventEmitter/soa-service-image.svg?style=flat-square)](https://travis-ci.org/eventEmitter/soa-service-image)
[![node](https://img.shields.io/node/v/soa-service-image.svg?style=flat-square)](https://nodejs.org/)


## Dependencies

- [soa-service-generics](https://github.com/joinbox/soa-service-generics)
- [soa-service-storage](https://github.com/joinbox/soa-service-storage)

This package requires some other non npm packages.

***Ubuntu***

    sudo apt-get install libcv-dev libopencv-dev libhighgui-dev libjpeg-dev libpng-dev libwebp-dev libtiff-dev


***Crapple OS***

    brew tap homebrew/science
    brew install opencv

    sudo port install jpeg libpng tiff webp

## API


## Available Entities

- ***image***: Represents an image
- ***imageRendering***: A croppped / edited version of an image
- ***videoType***: Currently only youtube and native. Native is not implemented yet
- ***video***: A video may have multiple video sources (not implemented yet)
- ***mediaTag***: tags for media
- ***media***: A media (medium) represents one image or one video. it has locales (inluding videos and images). it has mediaTags
- ***mediaGroup***: A media group consits of multiple images. It has locales



## Version History

- *08082015*, **0.0.1** initial version, implemented the image, imageRendering, videoType, video, mediaTag, media and mediaGroup entites. All but the image entity are exposed via the defautl implementation
npm package: @joinbox/stylelint-config-joinbox
Description: Joinbox Ltd. stylelint configuration
Author: Tobias Kneubuehler
Latest version: 1.3.4

# Joinbox Linter Configuration
Linter configuration for SCSS project based on airbnb rules (with some custom changes).

## Installation

Since the module is not published yet pull it form github.

`npm i -D @joinbox/stylelint-config-joinbox`

## Usage

Add the following line to the `.stylelintrc` file in the project root folder.

```
{
  "extends": "@joinbox/stylelint-config-joinbox"
}
```

## Joinbox CSS / Sass Styleguide

The guidelines can be found [here](…).


---------

# Joinbox Style Guide
Date of latest change: April 18, 2019

## Basics


## Joinbox-Specific Changes


## Basic Considerations