open-index/open-npm huggingface dataset:
npm package: @qwilapp/react-file-icon
Description: React component to render svg file icons
Author: Pixel Union
Latest version: 0.2.0

<img alt="Icon Samples" src="http://f.cl.ly/items/2r400P33330H0e3T3A1m/react-file-icons.png" width="290">

# React File Icon
[![npm version](https://img.shields.io/npm/v/react-file-icon.svg?style=flat-square)](https://www.npmjs.com/package/react-file-icon)
[![codeship](https://img.shields.io/codeship/39c7ab10-ece5-0135-7954-3244ec35664b/master.svg?style=flat-square)](https://app.codeship.com/projects/270457)

```js
import FileIcon from 'react-file-icon';
```

## Props

| Property          | Type   | Default    | Description                       |
|:---               |:---    |:---        |:---                               |
| `color`           | string | whitesmoke | Color of icon background          |
| `extension`       | string | undefined  | Text to display in label          |
| `fold`            | bool   | true       | Displays the corner fold          |
| `foldColor`       | string | undefined  | Color of the corner fold          |
| `glyphColor`      | string | undefined  | Color of file type icon           |
| `gradientColor`   | string | white      | Color of page gradient            |
| `gradientOpacity` | number | 0.25       | Opacity of page gradient          |
| `labelColor`      | string | undefined  | Color of label                    |
| `labelTextColor`  | string | white      | Color of label text               |
| `labelTextStyle`  | object | undefined  | Style of label text               |
| `labelUppercase`  | bool   | false      | Displays the label in all caps    |
| `radius`          | number | 4          | Corner radius of the file icon    |
| `size`            | number | undefined  | Width and height of the file icon |
| `type`            | enum   | undefined  | Type of glyph icon to display (One of: 3d, acrobat, audio, binary, code, compressed, document, drive, font, image, presentation, settings, spreadsheet, vector, video) |

## Default Styles

We also export an object of [default styles](https://github.com/pixelunion/react-file-icon/blob/master/src/components/defaultStyles/index.js) that can be used as a starting point when rendering icons. Object keys map to file extensions.

```js
import FileIcon, { defaultStyles } from 'react-file-icon';

// Render a .docx icon with default styles
<FileIcon extension="docx" {...defaultStyles.docx} />
```
npm package: @qwilapp/remove-markdown
Description: Remove Markdown formatting from text
Author: Stian Grytøyr
Latest version: 0.3.0-redos-fix-5

[![CircleCI](https://circleci.com/gh/stiang/remove-markdown.svg?style=svg&circle-token=cac2feef7dc90e6b8578aec361be369412be1c6a)](https://circleci.com/gh/stiang/remove-markdown)

## What is it?
**remove-markdown** is a node.js module that will remove (strip) Markdown formatting from text.
*Markdown formatting* means pretty much anything that doesn’t look like regular text, like square brackets, asterisks etc.

## When do I need it?
The typical use case is to display an excerpt from some Markdown text, without any of the actual Markdown syntax - for example in a list of posts.

## Installation

```
npm install remove-markdown
```

## Usage
```js
const removeMd = require('remove-markdown');
const markdown = '# This is a heading\n\nThis is a paragraph with [a link](http://www.disney.com/) in it.';
const plainText = removeMd(markdown); // plainText is now 'This is a heading\n\nThis is a paragraph with a link in it.'
```

You can also supply an options object to the function. Currently, the following options are supported:

```js
const plainText = removeMd(markdown, {
  stripListLeaders: true , // strip list leaders (default: true)
  listUnicodeChar: '',     // char to insert instead of stripped list leaders (default: '')
  gfm: true                // support GitHub-Flavored Markdown (default: true)
  useImgAltText: true      // replace images with alt-text, if present (default: true)
});
```

Setting `stripListLeaders` to false will retain any list characters (`*, -, +, (digit).`).

## TODO
PRs are very much welcome. Here are some ideas for future enhancements:

* Allow the RegEx expressions to be customized per rule
* Make the rules more robust, support more edge cases
* Add more (comprehensive) tests

## Credits
The code is based on [Markdown Service Tools - Strip Markdown](http://brettterpstra.com/2013/10/18/a-markdown-service-to-strip-markdown/) by Brett Terpstra.

## Author
Stian Grytøyr