open-index/open-npm huggingface dataset:
npm package: @nrako/babel-plugin-inline-react-svg
Description: A babel plugin that optimizes and inlines SVGs for your react components.
Author: Nicholas Rakoto
Latest version: 1.2.0

# babel-plugin-inline-react-svg

Transforms imports to SVG files into React Components, and optimizes the SVGs with [SVGO](https://github.com/svg/svgo/).

For example, the following code...

```jsx
import React from 'react';
import CloseSVG from './close.svg';

const MyComponent = () => <CloseSVG />;
```

will be transformed into...

```jsx
import React from 'react';
const CloseSVG = () => <svg>{/* ... */}</svg>;

const MyComponent = () => <CloseSVG />;
```

## Installation

```
npm install --save-dev babel-plugin-inline-react-svg
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": [
    "inline-react-svg"
  ]
}
```

#### Options

- *`ignorePattern`* - A pattern that imports will be tested against to selectively ignore imports.
- *`caseSensitive`* - A boolean value that if true will require file paths to match with case-sensitivity. Useful to ensure consistent behavior if working on both a case-sensitive operating system like Linux and a case-insensitive one like OS X or Windows.
- *`svgo`* - svgo options (`false` to disable). Example:
```json
{
  "plugins": [
    [
      "inline-react-svg",
      {
        "svgo": {
          "plugins": [
            {
              "removeAttrs": { "attrs": "(data-name)" }
            },
            {
              "cleanupIDs": true
            }
          ]

        }
      }
    ]
  ]
}
```

- *`root`* - A relative path string (Starting from CWD) that is used for alias resolution.
- *`alias`* - An object describing aliases for module resolution where the key is the alias to be used and the value is a string or array of paths. Example:

```javascript
['babel-plugin-inline-react-svg', {
  root: path.resolve(__dirname),
  alias: {
    images: 'src/images'
    icons: ['src/images/icons', 'node_modules/external-module/icons']
  }
}],
```

```javascript
// Resolved to <root>/src/images/logo.svg
import MySvg from 'images/logo.svg';

// Checks first for <root>/src/images/icons/cross.svg, then <root>/node_modules/external-module/icons/cross.svg
import AnotherSvg from 'icons/cross.svg';
```

### Via CLI

```sh
$ babel --plugins inline-react-svg script.js
```

### Via Node API


```javascript
require('@babel/core').transform('code', {
  plugins: [
    ['inline-react-svg', { filename: 'filename representing the code' }],
  ]
}) // => { code, map, ast };
```

---

Inspired by and code foundation provided by [react-svg-loader](https://github.com/boopathi/react-svg-loader).
npm package: @nramos/nest-mediasoup-base
Description: NestJS npm package starter
Author: Nemmar Ramos
Latest version: 1.1.5

<h1 align="center"></h1>

<div align="center">
  <a href="http://nestjs.com/" target="_blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
  </a>
</div>

<h3 align="center">NestJS Mediasoup Gateway</h3>

<div align="center">
  <a href="https://nestjs.com" target="_blank">
    <img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
  </a>
</div>

### Installation

Using npm:
```shell
$ npm add @nramos/nest-mediasoup-base
```

Using yarn:
```shell
$ yarn add @nramos/nest-mediasoup-base
```

## Change Log

See [Changelog](CHANGELOG.md) for more information.

## Contributing

Contributions welcome! See [Contributing](CONTRIBUTING.md).

## Author

**Nemmar Ramos**

## License

Licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @nrandell/field-editor-rich-text
Description: ```bash npm install @contentful/field-editor-rich-text ```
Author: Contentful GmbH
Latest version: 4.10.2

# @contentful/field-editor-rich-text

```bash
npm install @contentful/field-editor-rich-text
```

This package contains a React `RichTextEditor` component that is used as the default for `RichText` field type in the Contentful web application.

```js
import 'codemirror/lib/codemirror.css';
import { RichTextEditor } from '@contentful/field-editor-rich-text';
```

## Migrating to v2

To bring support for Rich Text Tables we rewrote most of the internals of this package to adapt the latest version of [Slate][slate]. We are releasing this change as v2.0.0.

There are two ways our users typically use the rich-text field editor:

### 1. By embedding `@contentful/field-editor-rich-text` npm package

Since the public API exposed by the package remains the same, upgrading to v2 should be seamless as it's just a matter of installing the latest version from npm. No migration is needed.

### 2. By forking the source code

You will need to adapt your fork to work with v2. Here is a highlight of the major changes:

1. Using Slate >= v0.80.0. If you're upgrading from < 0.50.x Please check the library [migration guide](https://docs.slatejs.org/concepts/xx-migrating)
2. Using Plate as a plugin system. Plate is a powerful plugin system to make it easy to work with Slate. All of the existing rich text plugins were rewritten to use Plate. To learn more, please check Plate's [website][plate].

## Credits

This package is based on [Slate][slate] & [Plate][plate] and also borrows some of their code. Without them, this project would not have been possible.

[slate]: https://www.slatejs.org/
[plate]: https://platejs.org/
npm package: @nrawrx3/wpm
Description: A minimal typing test TUI app. Point to a text file and start typing!
Latest version: 0.0.2

# wpm

A minimal typing test TUI app. Point to a text file and start typing!

![](https://raw.githubusercontent.com/nrawrx3/wpm-cli/main/demo.gif)

# Usage

Install with `npm install -g @nrawrx3/wpm`.

```
Usage
	  $ wpm

	Options
		--inputfile, -i  The input file to read from
		--width, -w      The width of the box to render (default 80)

	Examples
	  $ wpm --inputfile=input.txt --width=80
```
npm package: @nraynaud/react-chartist
Description: React component for Chartist.js
Author: Fraser Xu
Latest version: 0.10.2

react-chartist
==============

[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][downloads-url]


React component for [Chartist.js](https://gionkunz.github.io/chartist-js/)

### Installation

```
$ npm install react-chartist --save
```

### Usage

```JavaScript
import React from 'react';
import ReactDOM from 'react-dom';
import ChartistGraph from '../index';

class Pie extends React.Component {
  render() {

    var data = {
      labels: ['W1', 'W2', 'W3', 'W4', 'W5', 'W6', 'W7', 'W8', 'W9', 'W10'],
      series: [
        [1, 2, 4, 8, 6, -2, -1, -4, -6, -2]
      ]
    };

    var options = {
      high: 10,
      low: -10,
      axisX: {
        labelInterpolationFnc: function(value, index) {
          return index % 2 === 0 ? value : null;
        }
      }
    };

    var type = 'Bar'

    return (
      <div>
        <ChartistGraph data={data} options={options} type={type} />
      </div>
    )
  }
}

ReactDOM.render(<Pie />, document.body)

```

### Options

Please check out [Chartist.js API documentation](http://gionkunz.github.io/chartist-js/api-documentation.html) for more details of the options.

* data - chart data (required)
* type - chart type (required)
* style - inline css styles (optional)
* options - chart options (optional)
* responsive-options - chart responsive options (optional)

To add support for aspect ratio

```HTML
<ChartistGraph className={'ct-octave'} data={data} options={options} type={type} />
```

### Note

This module does not include the css files for Chartist. If you want to add it, include their CDN in your html file

```HTML
<link rel="stylesheet" href="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">
<script src="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js"></script>
```

Or use `bower` or `npm` to install Chartist and include it in your build process.

```
$ npm install chartist
```

Or

```
$ bower install chartist
```

### Development

```
$ npm install
```

To build run `npm run build`

### Changelog

If you want to support react version under v0.13, use `npm install react-chartist@0.9.0`

### License

MIT

[npm-image]: https://img.shields.io/npm/v/react-chartist.svg?style=flat-square
[npm-url]: https://npmjs.org/package/react-chartist
[downloads-image]: http://img.shields.io/npm/dm/react-chartist.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/react-chartist
npm package: @nrdmnn/piece-caldav
Description: CalDAV calendar management for Active Pieces - Create, manage and synchronize calendars and events via the CalDAV protocol
Author: nrdmnn
Latest version: 0.1.62

# CalDAV Piece for Active Pieces

A complete CalDAV piece for Active Pieces that enables calendar and event management via the CalDAV protocol.

## Features

### Calendar Management
- ✅ List calendars
- ✅ Create calendar
- ⏳ Update calendar
- ⏳ Delete calendar
- ⏳ Get calendar details

### Event Management
- ✅ Create event (with optional alarms)
- ✅ Get event
- ✅ List events
- ⏳ Update event
- ⏳ Delete event
- ⏳ Copy event

### Reminders (VALARM)
- ✅ Add reminders when creating events
- ⏳ Add/remove reminders
- ⏳ List reminders

### Planned
- Attendee management
- Recurrence rules (RRULE)
- Availability checking
- Triggers for events and alarms

## Installation

The piece requires the following dependencies:
- `ical.js` - iCalendar parsing/generation
- `fast-xml-parser` - XML parsing for CalDAV
- `rrule` - RRULE processing
- `dayjs` - Date/time processing

## Usage

### Authentication

1. Create a new connection
2. Enter your CalDAV server URL (e.g., `https://caldav.example.com`)
3. Enter username and password
4. The connection will be automatically validated

### Actions

#### List calendars
Retrieves all available calendars from the server.

#### Create calendar
Creates a new calendar with name, description, and optional color.

#### Create event
Creates a new event with:
- Title, description, location
- Start and end time
- Optional: Reminder (alarm)

#### List events
Retrieves all events from a calendar, optionally with date filter.

#### Get event
Retrieves a single event by UID.

## Technical Details

### CalDAV Protocol
The piece implements the main CalDAV methods:
- `PROPFIND` - Query properties
- `REPORT` - CALDAV:calendar-query for events
- `MKCOL` - Create calendars
- `PUT` - Create/update events
- `GET` - Retrieve events
- `DELETE` - Delete events/calendars

### iCalendar Format
Events are stored in iCalendar format (.ics) and support:
- VEVENT components
- VALARM components (reminders)
- ATTENDEE (attendees)
- RRULE (recurrences)

## Development

### Structure
```
piece-caldav/
├── src/
│   ├── index.ts                    # Piece definition
│   └── lib/
│       ├── common/                 # Common modules
│       │   ├── auth.ts            # Authentication
│       │   ├── client.ts          # CalDAV client
│       │   ├── ical-handler.ts    # iCalendar parsing
│       │   ├── xml-parser.ts      # XML parsing
│       │   ├── rrule-handler.ts   # RRULE processing
│       │   ├── props.ts           # Common properties
│       │   └── types.ts           # TypeScript types
│       └── actions/                # Actions
│           ├── calendars/
│           └── events/
```

## License

See LICENSE file.