open-index/open-npm huggingface dataset:
npm package: @rachitiitr/golden-layout
Description: A multi-screen javascript Layout manager  https://golden-layout.com
Author: Rachit Jain
Latest version: 1.6.2

# [Golden Layout](https://golden-layout.com/)  [![NPM version](https://badge.fury.io/js/golden-layout.svg)](http://badge.fury.io/js/golden-layout) [![Build Status](https://travis-ci.org/deepstreamIO/golden-layout.svg?branch=master)](https://travis-ci.org/deepstreamIO/golden-layout)

![Screenshot](https://cloud.githubusercontent.com/assets/512416/4584449/e6c154a0-4ffa-11e4-81a8-a7e5f8689dc5.PNG)

# [https://golden-layout.com/](https://golden-layout.com/)

## Installation

Add `golden-layout` to your bower.json, or [download](https://golden-layout.com/download/) the source.

## Features

* Native popup windows
* Completely themeable
* Comprehensive API
* Powerful persistence
* Works in IE8+, Firefox, Chrome
* Reponsive design


## [Examples](https://golden-layout.com/examples/)

## License
MIT
npm package: @rachnerd/test-plugin
Description: Workaround for NativeScript to run unit tests located in source code (Angular style guide)
Author: Rachnerd
Latest version: 0.0.3

# NativeScript tests hook
Workaround for running unit tests located in source code (according to Angular style guide)

Currently NativeScript runs spec files located in app/tests. This hook copies all source code (in app) to
a .tmp folder inside app/tests, so NativeScript can run unit tests that follow the [Angular style guide](https://angular.io/docs/ts/latest/guide/style-guide.html).

### Example
~~~
app
|-- feature
     |- feature.component.html
     |- feature.component.ts
     |- feature.component.spec.ts
~~~

## Installation

### Npm

```bash
npm install nativescript-tests-hook --save-dev
```

## Usage
Unfortunately the test runner fetches the files before the hook is finished.
To get around this you'll have to prepare before executing the test command.
```bash
tns prepare [platform] && tns test [platform]
```
npm package: @rachuta/rabbitmq-wrapper
Description: A wrapper around amqplib.
Author: Raj Achuta
Latest version: 0.0.1

# RabbitMQ Wrapper

This is built on top amqplib which helps your team to write the consumer & publisher faster.
This is built thinking in the mind of worker queues pattern.

While creating any queues through the wrapper will automitically create and DLQ & retry.

## How to use?
Add this package under the dependencies.

```
npm install @rachuta/rabbitmq-wrapper --save
```

```js
// src/index.js

import { Broker } from '@rachuta/rabbitmq-wrapper'

const broker = new Broker()
    .setConfig({
        username: 'username',
        password: 'password',
        hostname: 'hostname',
        port: 5671,
        protocol: 'amqps',
        heartbeat: 20
    })
    .setLogger(winston_loger) // optional; console is the default logger.
    .setConnectionRecoveryTimeout(3000) // optional, value is in MS; default value is 10 seconds
    .build()

// Subscriber
broker.consume('test.queue', function(msg, props, notify) {
    if(!inputValidator(msg))
        notify.reject() // Move message to DLQ

    try {
        // place your code here
    } catch (err) {
        notify.nack() // Move message to delay queue and retry for 3 times with 5 mins interval and move DLQ if unable to process the message in all retries.
    }
 
    notify.ack() // message processed and deleted.
})

// publisher
broker.publish('test.queue', 'Hello World!!', {})
```

Consumer and publisher functions can take the message as an object/string/buffer. If you pass an object, the message properties are set to `application/json`, and the message are passed as an object to the consumer.

Publisher can't create queues so, we recommend to deploying consumers before publishers.

### Message retry mechanism

@rachuta/rabbitmq-wrapper enables message retry mechanism by default, and there is no way to disable it. So please set the below headers to configure the retry mechanism.

```js
broker.consume('notification.t.sms', handler , {
    messageTtl: 60000, // message live in queue before move to DLQ; default value is 5 min
    headers: {
        'x-max-retry': 4, // maximum message retries; default value is 3
        'x-delay': 30000 // each retry delay; default value is is 5 min
    }
})
```

P.S: Only nack messages will be retried.

## How to run test locally?

You need [Docker][1] to run RabbitMQ Install.

```bash
# Terminal 1
$ docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:latest

# Terminal 2(code base)
$ npm run test
```

[1]: https://docs.docker.com/engine/install/
npm package: @racinep/client-generator
Description: Generate a CRUD application built with React, Redux and React Router from an Hydra-enabled API
Author: Racine Pilote
Latest version: 0.3.5

# API Platform Client Generator

[![Build Status](https://travis-ci.org/api-platform/client-generator.svg?branch=master)](https://travis-ci.org/api-platform/client-generator)
[![npm version](https://badge.fury.io/js/%40api-platform%2Fclient-generator.svg)](https://badge.fury.io/js/%40api-platform%2Fclient-generator)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)

API Platform Client Generator is a generator to scaffold app with Create-Retrieve-Update-Delete features for any API exposing a [Hydra](http://www.hydra-cg.com/spec/latest/core/) or [OpenAPI](https://www.openapis.org/) documentation for:
 * React/Redux
 * React Native
 * Vue.js

Works especially well with APIs built with the [API Platform](https://api-platform.com) framework.

## Documentation

The documentation of API Platform's Client Generator can be browsed [on the official website](https://api-platform.com/docs/client-generator).

## Usage

**Hydra**
```sh
npx @api-platform/client-generator https://demo.api-platform.com/ output/ --resource Book
```

**OpenAPI v2 (formerly known as Swagger)** (experimental)
```sh
npx @api-platform/client-generator https://demo.api-platform.com/docs.json output/ --resource Book --format swagger
```

or

```sh
npx @api-platform/client-generator https://demo.api-platform.com/docs.json output/ --resource Book --format openapi2
```

**OpenAPI v3** (experimental)
```sh
npx @api-platform/client-generator https://demo.api-platform.com/docs.json?spec_version=3 output/ --resource Book --format openapi3
```

## Features

* Generate high-quality ES6 components and files built with [React](https://facebook.github.io/react/), [Redux](http://redux.js.org), [React Router](https://reacttraining.com/react-router/) and [Redux Form](http://redux-form.com/) including:
  * A list view
  * A creation form
  * An edition form
  * A deletion button
* Use the Hydra or Swagger API documentation to generate the code
* Generate the suitable HTML5 input type (`number`, `date`...) according to the type of the API property
* Display of the server-side validation errors under the related input (if using API Platform Core)
* Client-side validation (`required` attributes)
* The generated HTML is compatible with [Bootstrap](https://getbootstrap.com/) and include mandatory classes
* The generated HTML code is accessible to people with disabilities ([ARIA](https://www.w3.org/WAI/intro/aria) support)
* The Redux and the React Router configuration is also generated

## Credits

Created by [Kévin Dunglas](https://dunglas.fr). Sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).
Commercial support available upon request.