open-index/open-npm huggingface dataset:
npm package: @kozjar/twitch-emoticons
Description: Gets Twitch emotes and BTTV emotes, as well as parsing text to emotes!
Author: MKody
Latest version: 2.3.3

# twitch-emoticons

Get a Twitch channel's Twitch emotes, BTTV emotes, and FFZ emotes!

### About this fork's 2.3.0+
You must now use a Twitch user ID instead of the username to fetch user's emotes.  
You can use [this page to quickly grab it](https://s.kdy.ch/twitchid/).

_FFZ still supports names, but usage of the ID is recommended._

### Note about Twitch emotes
We've seen twitchemotes.com's API returning "channel not found" at multiple occasions (as of early May 2021).  
A fallback system to a static json for the global emotes is in place, but if their service is down or not working you will not be able to fetch the list of emotes from a specific channel.  
If you have an alternative API or some quick code to get them from Twitch directly, feel free to share in Issue #8.

BetterTTV and FrankerFaceZ are still working fine.

### Install
```sh
npm install @mkody/twitch-emoticons
# or
yarn add @mkody/twitch-emoticons
```

### Example

```js
const { EmoteFetcher, EmoteParser } = require('@mkody/twitch-emoticons');

const fetcher = new EmoteFetcher();
const parser = new EmoteParser(fetcher, {
    type: 'markdown',
    match: /:(.+?):/g
});

fetcher.fetchTwitchEmotes(null).then(() => {
    const kappa = fetcher.emotes.get('Kappa').toLink();
    console.log(kappa);
    // https://static-cdn.jtvnw.net/emoticons/v1/25/1.0

    const text = 'Hello :CoolCat:!';
    const parsed = parser.parse(text);
    console.log(parsed);
    // Hello ![CoolCat](https://static-cdn.jtvnw.net/emoticons/v1/58127/1.0 "CoolCat")!
});
```

### Links

- [Github](https://github.com/mkody/twitch-emoticons)
- [Documentation](https://mkody.github.io/twitch-emoticons/)
- [Changelog](https://github.com/mkody/twitch-emoticons/releases)

This library uses the following:
- [Twitch Emotes API](https://twitchemotes.com/apidocs)
- [BetterTTV API](https://betterttv.com/)
- [FrankerFaceZ API](http://www.frankerfacez.com/developers)
npm package: @kozlowskanka/randomid-generator
Description: Generate random string of letters and digits. Parameter `idLength` represents length of the `randomID` you are going to create.
Latest version: 1.0.2

# IDgenerator

Generate random string of letters and digits.
Parameter `idLength` represents length of the `randomID` you are going to create.

`idLength` parameter is required and it should be a number. Otherwise generated string will be empty.
npm package: @kozlowskigrzegorz/react-gantt-localized
Description: A beautiful react gantt component with some localized elements.   This is a fork of [JSainsburyPLC/react-timelines](https://github.com/JSainsburyPLC/react-timelines)
Latest version: 0.0.5

# React-gantt-localized

A beautiful react gantt component with some localized elements.  
This is a fork of [JSainsburyPLC/react-timelines](https://github.com/JSainsburyPLC/react-timelines)

````
## API
### Gantt
| Property | value | default | Descriptions |
| :-----:| :----: | :----: | :---- |
| start | Date || The start date of the timeline |
| end | Date || The start date of the timeline |
| now | Date |new Date()| 'now' marker position |
| zoomIn | function | Zoom in control click handler |
| zoomOut | function | Zoom out control click handler |
| zoomMin | Number |1| Minimum zoom scale |
| zoomMax | Number |20| Maximum zoom scale |
| data | List |[]| The resources and tasks list |
| minWidth | Number |120| The min width of the timeline when resizing the window |
| sidebarWidth | Number |400| The width of the sidebar |
| onTaskClick | function || when click task element |
| enableSticky | Bool |true| Determine whether the header is sticky or not |
| scrollToNow | Bool |true| Determine whether to scroll to the now marker at first or not |
| showControls | Bool |false| Determine if zoom control is visible |
| monthsLabel | String | Localized text (months header) |
| weeksLabel | String | Localized text (weeks header) |
| daysLabel | String | Localized text (days header) |
| months | [String] | Array of comma separated strings naming months: e.g ['January','February'...] or ['Styczeń','Luty'] in polish |
| markerLabelFunction | function || provide function which return stringify date (shown when hovering marker at day) |
| shouldHighlightDay | function || provide function which return true if some day should be visualy highlighted|


### Resource
| Property | value | default | Descriptions |
| :-----:| :----: | :----: | :---- |
| id | String/Number || The id of the Resource |
| title | String/Element || The title of the Resource |
| tasks | List || All the tasks of the Resource |
| subTasks | List || All the sub tasks  |
| isOpen | Bool |false| Determine whether the project is folded  not |

### Task
| Property | value | default | Descriptions |
| :-----:| :----: | :----: | :---- |
| id | String/Number || The id of the Task |
| title | String/Element || The title of the Task |
| start | Date || The start date of the Task |
| end | Date || The start date of the Task |
| style | Object || CSS of task background style |
| tooltip | React.Component || If provided, custom tooltip will be rendered |


## Development

```sh
yarn install
yarn watch
yarn build
````