open-index/open-npm huggingface dataset:
npm package: @sportpoisk/react-draft-wysiwyg
Description: Fork of @fi1osof/react-draft-wysiwyg React component
Author: Fi1osof
Latest version: 1.14.0

# React Draft Wysiwyg

Fork from https://github.com/jpuri/react-draft-wysiwyg

A Wysiwyg editor built using ReactJS and DraftJS libraries.
[Demo Page](https://jpuri.github.io/react-draft-wysiwyg).

[![Build Status](https://travis-ci.org/jpuri/react-draft-wysiwyg.svg?branch=master)](https://travis-ci.org/jpuri/react-draft-wysiwyg)

![](http://i.imgur.com/tU7kJ6i.gif)

## Features
- Configurable toolbar with option to add/remove controls.
- Option to change the order of the controls in the toolbar.
- Option to add custom controls to the toolbar.
- Option to change styles and icons in the toolbar.
- Option to show toolbar only when editor is focused.
- Support for inline styles: Bold, Italic, Underline, StrikeThrough, Code, Subscript, Superscript.
- Support for block types: Paragraph, H1 - H6, Blockquote, Code.
- Support for setting font-size and font-family.
- Support for ordered / unordered lists and indenting.
- Support for text-alignment.
- Support for coloring text or background.
- Support for adding / editing links
- Choice of more than 150 emojis.
- Support for mentions.
- Support for hashtags.
- Support for adding / uploading images.
- Support for aligning images, setting height, width.
- Support for Embedded links, flexibility to set height and width.
- Option provided to remove added styling.
- Option of undo and redo.
- Configurable behavior for RTL and Spellcheck.
- Support for placeholder.
- Support for WAI-ARIA Support attributes
- Using editor as controlled or un-controlled React component.
- Support to convert Editor Content to HTML, JSON, Markdown.
- Support to convert the HTML generated by the editor back to editor content.
- Support for internationalization.

## Installing
The package can be installed from npm `react-draft-wysiwyg`

## Getting started
Editor can be used as simple React Component:
```js
import { Editor } from 'react-draft-wysiwyg';
import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
<Editor
  editorState={editorState}
  toolbarClassName="toolbarClassName"
  wrapperClassName="wrapperClassName"
  editorClassName="editorClassName"
  onEditorStateChange={this.onEditorStateChange}
/>
```

## Docs
For more documentation check [here](https://jpuri.github.io/react-draft-wysiwyg/#/docs?_k=jjqinp).

## Questions Discussions
For discussions join public channel #rd-wysiwyg in [DraftJS Slack Organization](https://draftjs.herokuapp.com/).

## Thanks
Original motivation and sponsorship for this work came from [iPaoo](http://www.ipaoo.com/). I am thankful to them for allowing the Editor to be open-sourced.

## License
MIT.
npm package: @sportrecs-ui/player
Description: Sportrecs Player
Author: kulakowka
Latest version: 1.0.4

# Sportrecs UI Player

## Install

```bash
npm install --save @sportrecs-ui/player
```

## Publish

```bash
npm publish --access public
```

## Usage

```jsx
import React, { Component } from 'react'

import { Player } from '@sportrecs-ui/player'

class Example extends Component {
  render() {
    return <Player />
  }
}
```

## License

MIT © [kulakowka](https://github.com/kulakowka)
npm package: @sports-club-manager/leaguesort
Description: NPM module to generate sorted league tables based on sets of results between teams
Author: Sports Club Manager
Latest version: 1.2.0

# leaguesort

A simple set of utilities to create a sorted leaguetable based on a 
series of results from matches played between the teams.

Takes an input that is a list of results, returning a sorted array
representing the league table based on those results.  The sorted array
can be passed to a templating library or front-end code for display.

The default comparator for a league table is based on the following 
hierarchy; 

Points > Goal Difference > Goals Scrored > Wins > Head2Head

.. but this can be changed by supplying a custom comparator.


## Installation

    npm install leaguesort --save

## Usage

    var leaguesort = require('leaguesort'),
        results = [], 
        table = [];

    results.push({
        homeTeam:'Fuz', 
        awayTeam:'Foo', 
        homeGoals:2, 
        awayGoals:1
    });

    results.push({
        homeTeam:'Bar', 
        awayTeam:'Baz', 
        homeGoals:3, 
        awayGoals:2
    });

    leaguesort.calculateTable(results, table);
    console.log(table);

    // add another result.. cumulative on the same table
    var newResult = {
        homeTeam:'Foo', 
        awayTeam:'Bar', 
        homeGoals:2, 
        awayGoals:2
    };

    leaguesort.calculateTable([newResult], table);

    // change to 2 points per win (default == 3)
    table = [];
    leaguesort.options({winPoints: 2});
    leaguesort.calculateTable(results, table);
    
    // use a non-default comparator to sort the table
    table = [];
    leaguesort.calculateTable(results, table, function(a, b) {
        // alphabetical only
        return (a.name > b.name);
    });


## ToDo

- Enable property mapping for the stats so that callers are not forced
  to use the same input convention

- Create runtime comparators based on desired ordering (i.e. allow a
  runtime configuration that selects "points > goal-diff > head2head"