open-index/open-npm huggingface dataset:
npm package: @redturtle/eslint-config
Description: Shared eslint config for js projects
Author: Piero Nicolli
Latest version: 3.0.1

RedTurtle - eslint-config
=========================

[![Build Status](https://travis-ci.org/RedTurtle/eslint-config.svg?branch=master)](https://travis-ci.org/RedTurtle/eslint-config)

This package provides an eslint-config with mostly recommended rules. It already includes prettier configuration.

Installation and usage
----------------------

Install with yarn or npm:
```shell
# Yarn
$ yarn add --dev @redturtle/eslint-config

# Npm
$ npm install --save-dev @redturtle/eslint-config
```

If you don't have those already, install peer dependencies:
```shell
# Yarn
$ yarn add --dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier prettier

# Npm
$ npm install --save-dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier prettier
```

Extend this config in your `.eslintrc` file:
```json
{
  "extends": "@redturtle/eslint-config"
}
```
npm package: @redturtle/eslint-config-react
Description: Shared eslint config for js projects that include react
Author: Piero Nicolli
Latest version: 1.0.2

# RedTurtle - eslint-config-react

[![Build Status](https://travis-ci.org/RedTurtle/eslint-config-react.svg?branch=master)](https://travis-ci.org/RedTurtle/eslint-config-react)

This package provides the [RedTurtle default eslint-config](https://github.com/RedTurtle/eslint-config), with added react rules.

## Installation and usage

Install with yarn or npm:

```shell
# Yarn
$ yarn add --dev @redturtle/eslint-config-react

# Npm
$ npm install --save-dev @redturtle/eslint-config-react
```

If you don't have those already, install peer dependencies:

```shell
# Yarn
$ yarn add --dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier

# Npm
$ npm install --save-dev babel-eslint eslint eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier
```

Extend this config in your `.eslintrc` file:

```json
{
  "extends": "@redturtle/react"
}
```
npm package: @redturtle/grunt-blocks
Description: Grunt configuration helper
Author: Piero Nicolli
Latest version: 2.0.0

# grunt-blocks

Grunt configuration helper for Plone add-ons and themes

## Usage

Example `Gruntfile.js`:

```javascript
const blocks = require('@redturtle/grunt-blocks').default;

module.exports = function(grunt) {
  'use strict';
  require('load-grunt-tasks')(grunt);
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    sass: {
      options: blocks.sass.options(['./optional/sass/include/path']),
      main: blocks.sass.file('theme'),
      backend: blocks.sass.file('theme.backend'),
    },
    postcss: {
      prefix_main: blocks.postcss.prefix('theme'),
      prefix_be: blocks.postcss.prefix('theme.backend'),
      min_main: blocks.postcss.cssmin('theme'),
      min_be: blocks.postcss.cssmin('theme.backend'),
    },
  });

  grunt.registerTask('compile', ['sass', 'postcss']);
  grunt.registerTask('main', [
    'sass:main',
    'postcss:prefix_main',
    'postcss:min_main',
  ]);
  grunt.registerTask('be', [
    'sass:backend',
    'postcss:prefix_be',
    'postcss:min_be',
  ]);
};
```

## Installation

```bash
# npm
npm install --save-dev @redturtle/grunt-blocks

# or yarn
yarn add --dev @redturtle/grunt-blocks
```
npm package: @redturtle/volto-comuni-chiamo
Description: volto-comuni-chiamo: Volto add-on
Latest version: 1.1.1

# Volto Comuni-Chiamo Block

Block for [Volto](https://github.com/plone/volto).

To be used with mrs-developer, see [Volto docs](https://docs.voltocms.com/customizing/add-ons/) for further usage informations.

### How to use it

1. Install the add-on via [NPM](https://www.npmjs.com/package/@redturtle/volto-comuni-chiamo) or manually

* package.json
```
  "addons": [
    "@redturtle/volto-comuni-chiamo"
  ],
```
```
  "dependencies": {
    "@redturtle/volto-comuni-chiamo": "x.x.x"
  },
```

2. Deploy the Frontend
3. Create a block "Blocco Comuni-Chiamo"
4. Add the API Key in the block’s sidebar, the other options and save your changes
5. If it works, the block will look like this:
![comuni-chiamo](/docs/screenshot-comuni-chiamo.png)
npm package: @redturtle/volto-newsletter
Description: volto-newsletter: Volto add-on
Latest version: 1.2.7

# volto-newsletter

Volto addon for newsletter integration. For now, it only works with [rer.newsletter](https://github.com/redturtle/rer.newsletter) and with [design-comuni-plone-theme](https://github.com/italia/design-comuni-plone-theme).

Install with mrs-developer (see [Volto docs](https://6.docs.plone.org/volto/addons/index.html)) or with:

```bash
yarn add @redturtle/volto-newsletter
```

## Usage

This add-on adds the necessary views for the Channel content-type.

It requires an environment variable `RAZZLE_HONEYPOT_FIELD` in order to work, and it has to be the same value of the `HONEYPOT_FIELD` env var set on the backend.

## Translations

This addon has Italian and English localizations.
npm package: @reducer/render
Description: The Reducer To Render Elements On The Page And Keep Them There Whenever The Parent Is Present.
Author: Anton
Latest version: 0.0.0

# @reducer/render

[![npm version](https://badge.fury.io/js/@reducer/render.svg)](https://npmjs.org/package/@reducer/render)

`@reducer/render` is The Reducer To Render Elements On The Page And Keep Them There Whenever The Parent Is Present.

```sh
yarn add -E @reducer/render
```

## Table Of Contents

- [Table Of Contents](#table-of-contents)
- [API](#api)
- [`render(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)
  * [`Config`](#type-config)
- [Copyright](#copyright)

<p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/0.svg?sanitize=true"></a></p>

## API

The package is available by importing its default function:

```js
import render from '@reducer/render'
```

<p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/1.svg?sanitize=true"></a></p>

## `render(`<br/>&nbsp;&nbsp;`arg1: string,`<br/>&nbsp;&nbsp;`arg2?: boolean,`<br/>`): void`

Call this function to get the result you want.

__<a name="type-config">`Config`</a>__: Options for the program.

|   Name    |   Type    |    Description    | Default |
| --------- | --------- | ----------------- | ------- |
| shouldRun | _boolean_ | A boolean option. | `true`  |
| __text*__ | _string_  | A text to return. | -       |

```js
/* yarn example/ */
import render from '@reducer/render'

(async () => {
  const res = await render({
    text: 'example',
  })
  console.log(res)
})()
```
```
example
```

<p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/2.svg?sanitize=true"></a></p>

## Copyright

(c) [Reducer][1] 2019

[1]: https://rdcr.artd.eco

<p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/-1.svg?sanitize=true"></a></p>
npm package: @reducible/core
Description: Redicble data structures and actions
Author: Ali Taheri Moghaddar
Latest version: 0.1.0

# Reducible
[![npm](https://badge.fury.io/js/reducible-state.svg)](https://badge.fury.io/js/reducible-state)
[![Build Status](https://travis-ci.org/alitaheri/reducible-state.svg?branch=master)](https://travis-ci.org/alitaheri/reducible-state)

This library is inspired by [redux](https://github.com/reactjs/redux) and is as small.

This is mostly here to inrtroduce a new concept called `reducible`. Redux encourages you to have
separate files for you reducers and your components (react, etc...). Yet Graph-QL encourages you
to have your component and the data it needs in the same file.

This new concept tries to have the best of both worlds. With a trade-off of cource. You'll lose
hydration/dehydration.

A `reducible` is an `object`/`class`/`module` that has data and a `[REDUCER]` method:

```ts
import { REDUCER } from 'reducible-state';

export interface Reducible {
  [REDUCER](action: Action<any>): this;
};
```

As an example take the following class:

```ts
import { REDUCER } from 'reducible-state';

class MyState implements Reducible {
    public readonly value: string;

    public constructor(value: string) {
        this.value = value;
    }

    public [REDUCER](action: Action<any>): this {
        if (action.type === 'MY_ACTION') {
            return new MyState(action.payload);
        }

        return this;
    }
}
```

You can then use and build an initial state for your component:

```ts
import React from 'react';
import { combineReducibles } from 'reducible-state';
import MyState from './MyState';

const initialState = combineReducibles({
  myState: new MyState(),
});

type Props = { state: typeof initialState };

class MyComponent extends React.Component<Props> {
  public render() {
    const { state: { myState } } = this.props;

    return <div>{myState.value}</div>;
  }
}

// Later on how to patch state with MyComponent
```

## Installation

You can install this package with the following command:

```sh
npm install reducible-state
```

## Typings

The typescript type definitions are also available and are installed with npm.

## License
This project is licensed under the [MIT license](https://github.com/alitaheri/reducible-state/blob/master/LICENSE).