open-index/open-npm huggingface dataset:
npm package: @mtucker119/node-red-contrib-fast-csv
Description: Fork of node-red-contrib-fast-csv using fast-csv@5.x
Author: Matt Tucker
Latest version: 0.4.3

# node-red-contrib-fast-csv
>**Fork Notice**
>
>This is a **fork** of [node-red-contrib-fast-csv](https://github.com/PotOfCoffee2Go/node-red-contrib-fast-csv).
>It has been updated to support `@fast-csv/parse` and `@fast-csv/format` v5+.
>
>Please report issues or bugs **on this fork**, not the original project.

Node-Red node using fast-csv parser/formatter

This is a drop-in replacement for the node-red default `csv` node. The node
uses the [C2FO fast-csv](https://github.com/C2FO/fast-csv) library to perform
the parsing of CSV data to a JS Object and formating of JS Object to CSV.

The node configuration is straight forward and covers most commonly used CSV
variations. See [fast-csv usage](https://github.com/C2FO/fast-csv#usage) for
more info on configuration parameters.

The node displays status messages under the node indicat parsed and formatted
record counts.

enjoy!
npm package: @mtucourses/rate-my-professors
Description: a basic wrapper for Rate My Professors's GraphQL API
Author: Max Isom
Latest version: 2.2.1

# 🧑‍🏫 @mtucourses/rate-my-professors

[![codecov](https://codecov.io/gh/Michigan-Tech-Courses/rate-my-professors/branch/master/graph/badge.svg?token=YSBV5T5GVY)](https://codecov.io/gh/Michigan-Tech-Courses/rate-my-professors)

A basic wrapper for Rate My Professors's GraphQL API. Includes TypeScript definitions.

It is possible to pull full ratings with content as well, but currently this package just returns the average.

## 🏗 Usage

```js
// Change to 
// const ratings = require('@mtucourses/rate-my-professors').default;
// if using JS instead of TS
import ratings from '@mtucourses/rate-my-professors';

(async () => {
  const schools = await ratings.searchSchool('michigan technological university');

  console.log(schools);
  /*
    [
      {
        city: 'Houghton',
        id: 'U2Nob29sLTYwMg==',
        name: 'Michigan Technological University',
        state: 'MI'
      }
    ]
  */

  const teachers = await ratings.searchTeacher('mtu shene');

  console.log(teachers);
  /*
    [
      {
        firstName: 'Ching-Kuang',
        id: 'VGVhY2hlci0yMjkxNjI=',
        lastName: 'Shene',
        school: {
          id: 'U2Nob29sLTYwMg==',
          name: 'Michigan Technological University'
        }
      }
    ] 
  */

  const teacher = await ratings.getTeacher('VGVhY2hlci0yMjkxNjI=');

  console.log(teacher);
  /*
    {
      avgDifficulty: 4.4,
      avgRating: 3.3,
      numRatings: 28,
      department: 'Computer Science',
      firstName: 'Ching-Kuang',
      id: 'VGVhY2hlci0yMjkxNjI=',
      lastName: 'Shene',
      school: {
        city: 'Houghton',
        id: 'U2Nob29sLTYwMg==',
        name: 'Michigan Technological University',
        state: 'MI'
      },
      legacyId: 1234567
    }
  */
})();
```

## 🧰  Development

```bash
# First:
# install dependencies
yarn install

# then:
# build in watch mode
yarn build:watch

# and you can:

# run tests
yarn test

# run tests in watch mode
yarn test:watch
```

To publish a new package version, run `npm version [patch|minor|major]` and then `git push && git push --tags` on the master branch.
npm package: @mtucourses/scraper
Description: a package to scrape various information from Michigan Tech
Author: Max Isom
Latest version: 3.0.3

# @mtucourses/scraper

[![codecov](https://codecov.io/gh/Michigan-Tech-Courses/scraper/branch/master/graph/badge.svg?token=E7AG8R5XN0)](https://codecov.io/gh/Michigan-Tech-Courses/scraper)

Scrapes various types of information from [Michigan Tech](https://www.mtu.edu/), including faculty members and offered courses.

## 🏗 Usage

```js
const {getAllSections} = require('@mtucourses/scraper');

(async () => {
  const fallTerm = new Date();
  fallTerm.setFullYear(2020, 7);

  const sections = await getAllSections(fallTerm);

  console.log(sections);
})();
```

See the [documentation for details](docs/modules/index.md).

## 🧰  Development

```bash
# First:
# install dependencies
yarn install

# then:
# build in watch mode
yarn build:watch

# and you can:

# run tests
yarn test

# run tests in watch mode
yarn test:watch
```

To publish a new package version, run `npm version [patch|minor|major]` and then `git push && git push --tags` on the master branch.
npm package: @mtucourses/thumbor
Description: 👍 a URL builder for Thumbor 
Author: Max Isom
Latest version: 2.0.0

# @mtucourses/thumbor

[![codecov](https://codecov.io/gh/Michigan-Tech-Courses/thumbor/branch/master/graph/badge.svg?token=9VE5OLHBUA)](https://codecov.io/gh/Michigan-Tech-Courses/thumbor)

## 🏗 Usage

```ts
import {Thumbor} from '@mtucourses/thumbor';

const thumbor = new Thumbor({url: 'https://thumbor.example.com', key: 'a-sample-key'});

const url = thumbor
  .setPath('https://images.unsplash.com/photo-1611581893305-ec40e53882fc')
  .smartCrop(true)
  .resize(500, 0)
  .buildURL();
```

## 🧰  Development

```bash
# First:
# install dependencies
yarn install

# then:
# build in watch mode
yarn build:watch

# and you can:

# run tests
yarn test

# run tests in watch mode
yarn test:watch
```

To publish a new package version, run `npm version [patch|minor|major]` and then `git push && git push --tags` on the master branch.


Adapted from [this package](https://github.com/PolicyMic/thumbor/blob/master/index.js).
npm package: @mturco/context-menu
Description: A small JavaScript library for adding context menus to any HTML element
Author: Matt Turco
Latest version: 2.0.0

# context-menu

A small (4.4kb / 1.7kb gzipped) JavaScript library for adding context menus to any HTML element.

```shell
npm install @mturco/context-menu
```

[See demo](https://mturco.github.io/context-menu/)

## API

### Constructor

```js
new ContextMenu(selector, items[, options]);
```

- `selector` (String) - Show context menus for elements matching this selector
- `items` (Array) - Array of menu items objects in the format of:
  - `name` (String) - Label displayed for menu item
  - `fn` (Function) - `onclick` event handler for menu item
  - _Note: to insert a divider, insert an empty object (`{}`) in the `items` array._
- `options` (Object)
  - `className` (String, default: `''`) - CSS class to add to the context menu element
  - `minimalStyling` (Boolean, default: `false`) - If true, does not apply default theme CSS class to context menu element

### .on() / .off()

```js
ContextMenu.prototype.on(type, listener);
ContextMenu.prototype.off(type, listener);
```

- `type` (String) - Event type; one of: `created`, `shown`, `hidden`, `itemselected`
- `listener` (Function) - Callback for event listener

### .destroy()

Removes DOM elements and event listeners.

## Example

```js
import ContextMenu from 'context-menu';

const menu = new ContextMenu('table tr', [
  {
    name: 'Add row',
    fn: () => {
      /* ... */
    },
  },
  {
    name: 'Remove row',
    fn: () => {
      /* ... */
    },
  },
]);

menu.on('itemselected', () => {
  /* ... */
});
```
npm package: @mtusk/gite
Description: A Node CLI with some helpful commands related to git.
Author: mtusk
Latest version: 1.0.2

# gite

A Node CLI with some helpful commands related to git.

Built using [oclif](https://oclif.io/).

## Usage

```bash
$ gite
$ gite open
$ gite help
$ gite help open
$ gite open -h
$ gite open --help
```

## Commands
### open
```bash
$ open [PATH]
```
Opens the Opens GitHub for the repository associated to a directory in the default web browser.

## Running locally
```bash
$ ./bin/run
$ ./bin/run open
```
npm package: @mtusk/renamed
Description: A little Node utility to rename files in batch using your preferred text editor.
Author: mtusk
Latest version: 1.0.0

# renamed

A little Node utility to rename files in batch using your preferred text editor.

![demo](docs/demo.gif)

## Installation

```shell
npm install --global @mtusk/renamed
```

## Usage

1. Export
   ```shell
   renamed export
   ```
2. Modify names in output file in your favorite text editor
3. Import
   ```shell
   renamed import
   ```
npm package: @mtvh/formio-js
Description: MTVH custom templates, components and styling for Form.io
Author: MTVH
Latest version: 5.0.0-rc.5

# MTVH Formio Library

MTVH custom Form.io templates, components and styling for MTVH websites:

This library is dependant on:
- Formio JS v5.*
- Bootstrap 5.*
- jquery 3.6.3 (required for uploadcare widget)

## Installation

Along with the above dependancies, there are 1 file from this package that need to be included in any website to run the library.
- `/dist/mtvh-formio.use.min.js`

Please note that you will also need the css from the MTVH Design System to ensure correct styling of components.

## Development
- `npm install` will download dependancies and build all dist files.
- `npm run builder` will start the builder environment to build forms and test out new components - http://localhost:3000
- `npm run watch` will watch for changes to sass, components, options and templates, and build just the depenancy files for the builder - `mtvh-formio.css` and `mtvh-formio.use.min.js`.
- `npm run build` Build all dist files prior to publishing.
npm package: @mtvh/mtvh-design-system
Description: MTVH design system
Author: MTVH
Latest version: 1.0.1

# MTVH Design System

View documentation for [MTVH Design System](https://mtvh-design-system.netlify.app/).

This library is dependant on:
- Bootstrap 5.*

## Prerequisites
-  Node.js — latest LTS version
-  Hugo — latest extended version. Installation guide https://gohugo.io/installation/


## Development

- `npm install` will download dependancies
- `npm run dev` will start dev environment - http://localhost:1313/
- `npm run build` will build and minify css to dist folder http://localhost:1313/
- `npm publish --access=public` Please run npm build before you publish. This will publish dist folder to npm. Note, you will need a permission to do so.

#### To run proxy decap local cms
Access to static/admin, run 'npx decap-server'
Once the proxy started you should be able to cms, ie http://localhost:1313/admin
See more from https://decapcms.org/docs/beta-features/

## Installation
1. Installing with NPM
2. OR Import css styles
3. Adding fonts and images assets

### Installing with NPM
```
npm install @mtvh/mtvh-design-system
```
#### All styles
To import all styles as a single package you need to add following snippet to your main SCSS file:
```
@import '/node_modules/@mtvh/mtvh-design-system/dist/mtvh.min.css';
```
Alternatively, you could include the css inside the footer/head tag depending on your site structure
```
<link type="text/css" rel="stylesheet" href="dist/mtvh.min.css">
```
#### Core and selected components
Our core library includes the design system's base theme, typography, mixins and helper functions.
Once you imported it, you can take full advantage of our variables and helpers.
To import core library you need to add following snippet at the start of your main SASS file:
```
@import "node_modules/@mtvh/mtvh-design-system/assets/scss/mtvh";
```

#### Adding fonts and images assets
The css uses the fonts and icons using a default path as below. You can amend the prefix by customize via the following variable
```
$font-path: "./fonts/";
$asset-icon-path: "./images/icons/";
```
* Please note the font files is downloadable from mtvh-design-system git repo NOT npm
npm package: @mtvh/mtvh-formio
Description: MTVH custom templates, components and styling for Form.io
Author: MTVH
Latest version: 2.6.0

# MTVH Formio Library

MTVH custom Form.io templates, components and styling for MTVH websites:

This library is dependant on:
- Formio JS v4.15.0
- Bootstrap 4.*
- jquery 3.6.3 (required for uploadcare widget)

## Installation

Along with the above dependancies, there are 2 files from this package that need to be included in any website to run the library.
- `/dist/mtvh-formio.use.min.js`
- `/dist/mtvh-formio.css`

## Development
- `npm install` will download dependancies and build all dist files.
- `npm run builder` will start the builder environment to build forms and test out new components - http://localhost:3000
- `npm run watch` will watch for changes to sass, components, options and templates, and build just the depenancy files for the builder - `mtvh-formio.css` and `mtvh-formio.use.min.js`.
- `npm run build` Build all dist files prior to publishing.