open-index/open-npm huggingface dataset:
npm package: @jasonmit/ember-trix-editor
Description: An Ember.js addon that wraps the Trix editor in a component
Author: Lynne Tye and Channing Allen
Latest version: 2.1.0

# ember-trix-editor

Ember Trix Editor is an Ember addon that wraps Basecamp's [Trix editor](https://github.com/basecamp/trix)
in an Ember component. [Visit our demo](http://lynnetye.com/ember-trix-editor/) to see it in action.
(Code for our demo is located in [tests/dummy/app](tests/dummy/app).)

To use this component in your own Ember project, enter this command: `ember install ember-trix-editor`.

The component is consistent with Ember's data-down actions-up pattern:

### "Data down" to `{{trix-editor}}`
* `attachmentsDisabled` (boolean; if truthy, calls preventDefault() on the trix-file-accept event)
* `autofocus` (boolean; if truthy, adds the HTML autofocus attribute to the trix-editor tag)
* `editorClass` (string; space-separated list of class names that will be passed to the class attribute of the trix-editor tag)
* `placeholder` (string; text that will show up in the editor when it's empty)
* `value` (string; text to pre-populate the trix-editor)

### "Actions up" from `{{trix-editor}}`
* `trix-attachment-add`
* `trix-attachment-remove`
* `trix-blur`
* `trix-change`
* `trix-file-accept`
* `trix-focus`
* `trix-initialize`
* `trix-selection-change`

All actions send up a jQuery event, from which the original event and editor
property can be extracted.
```js
actions: {
  handleTrixAttachmentAdd(jqEvent) {
    var attachment = jqEvent.originalEvent.attachment;
    if (attachment.file) {
      // update file to server
      // call attachment.setAttributes();
    }
  }
}
```

## Addon Configuration

You can optionally import just `trix-core` with the following setting:

```javascript
/* ember-cli-build.js */
const app = new EmberApp(defaults, {
  'ember-trix-editor': {
    coreOnly: true
  }
});
```

## Contributing to Trix
This is the first time [Channing Allen](https://twitter.com/ChanningAllen) and [Lynne Tye](https://twitter.com/lynnetye)
have contributed to an open-source project! We welcome others to send bug reports,
make pull requests, or give us feedback.

Special thanks to [Courtland Allen](https://twitter.com/csallen) for his help.

### Installation

* `git clone` this repo
* `npm install`
* `bower install`

### Running

* `ember server`
* Visit your app at http://localhost:4200.

### Running Tests

* `ember test`
* `ember test --server`

### Building

* `ember build`

For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).
npm package: @jasonnutter/babel-preset
Description: Babel preset for Node and React apps
Author: Jason Nutter
Latest version: 2.1.0

# @jasonnutter/babel-preset

My Babel preset for React applications. Support for:

**ES6**
* Class properties
* Object rest spread

**React**
* JSX
* HMR

`.babelrc`
```json
{
    "presets": [
        "@jasonnutter/babel-preset"
    ]
}
```
npm package: @jasonnutter/eslint-config
Description: ESLint configuration
Author: Jason Nutter
Latest version: 3.0.0

# @jasonnutter/eslint-config

My personal ESLint configuration, based on [Airbnb's configuration](https://www.npmjs.com/package/eslint-config-airbnb).

Inspired by the ESLint configuration used internally at [Porch](https://github.com/porchdotcom).

## Installation

```sh
yarn add @jasonnutter/eslint-config --dev

```

## Usage

**.eslintrc.json**
```json
{
  "extends": "@jasonnutter/eslint-config"
}
```
npm package: @jasonnutter/less-js-vars
Description: Utility to parse Less variables into JavaScript variables
Author: Jason Nutter
Latest version: 0.0.2

# @jasonnutter/less-js-vars

Utility to parse Less variables into JavaScript variables.

## Installation

```sh
yarn add @jasonnutter/less-js-vars --save
npm install @jasonnutter/less-js-vars --save
```

## Usage

Assumes that your code has extracted the raw text of the `less` file, e.g. using [raw-loader](https://github.com/webpack-contrib/raw-loader) or [fs.readFile](https://nodejs.org/api/fs.html#fs_fs_readfile_file_options_callback).

Variable names will be in [camelCase](https://lodash.com/docs/4.17.4#camelCase).

`colors.less`:
```less
@white: #fff;
@black-color: #000;
```

`raw-loader`:
```js
import lessJsVars from '@jasonnutter/less-js-vars';
import colors from '!!raw-loader!./colors.less';

const parsedColors = lessJsVars(colors);

console.log(parsedColors.white);
console.log(parsedColors.blackColor);
```

`fs.readFile`:
```js
import lessJsVars from '@jasonnutter/less-js-vars';
import fs from 'fs';

fs.readFile('./colors.less', 'utf8', (err, colors) => {
    const parsedColors = lessJsVars(colors);

    console.log(parsedColors.white);
    console.log(parsedColors.blackColor);
});
```

## Prior Art

Inspired by [less-vars-to-js](https://www.npmjs.com/package/less-vars-to-js).
npm package: @jasonphillips/slate
Description: A completely customizable framework for building rich text editors.
Latest version: 0.88.1

This package contains the core logic of Slate. Feel free to poke around to learn more!

Note: A number of source files contain extracted types for `Interfaces` or `Transforms`. This is done currently to enable custom type extensions as found in `packages/src/interfaces/custom-types.ts`.
npm package: @jasonphillips/slate-html-serializer
Description: TypeScript definitions for slate-html-serializer
Latest version: 0.6.4

# Installation
> `npm install --save @types/slate-html-serializer`

# Summary
This package contains type definitions for slate-html-serializer (https://github.com/ianstormtaylor/slate).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/slate-html-serializer

Additional Details
 * Last updated: Tue, 18 Dec 2018 22:00:16 GMT
 * Dependencies: @types/react, @types/slate
 * Global values: none

# Credits
These definitions were written by Brandon Shelton <https://github.com/YangusKhan>.
npm package: @jasonphillips/slate-react
Description: Tools for building completely customizable richtext editors with React.
Latest version: 0.88.2

This package contains the React-specific logic for Slate. It's separated further into a series of directories:

- [**Components**](./src/components) — containing the React components for rendering Slate editors.
- [**Hooks**](./src/hooks) — containing a few React hooks for Slate editors.
- [**Plugins**](./src/plugin) — containing the React-specific plugins for Slate editors.
- [**Utils**](./src/utils) — containing a few private convenience modules.

Feel free to poke around in each of them to learn more!
npm package: @jasonpraful/apple-secret-generator
Description: Apple Secret Generator - Used to generate Apple Secrets for Signin with Apple
Author: Jason Praful
Latest version: 1.0.3

# Secret Generator for Sign-In with Apple

## Quickstart

As an executable:

```bash
npx @jasonpraful/apple-secret-generator --help
```

As a library:

```js
import { generateSecret } from '@jasonpraful/apple-secret-generator'

const secret = generateAppleSecret(key, days, kid, team, client)

console.log(secret) // JWT Token
```

## Usage

| Option       | Description                                                                                                                                                                                           | Required | Default | Example             |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- | ------------------- |
| -i, --key-id | The identifier of the key to use - derived from [here](https://developer.apple.com/account/resources/authkeys/)                                                                                       | Yes      | N/A     | FTXXXXX             |
| -k, --key    | The path to the key file - downloaded from [here](https://developer.apple.com/account/resources/authkeys/)                                                                                            | Yes      | key.p8  | ./key.p8            |
| -c, --client | The client ID of the service - derived by creating a service ID [here](https://developer.apple.com/account/resources/identifiers/add/bundleId). **Important**: This is not the same as the bundle ID. | Yes      | N/A     | com.example.service |
| -t, --team   | The identifier of the team to use - derived from [here](https://developer.apple.com/account/#/membership/)                                                                                            | Yes      | N/A     | XXXXXXXX            |
| -d, --days   | The number of days the secret should be valid for. **Please note:** The maximum value allowed by apple is 180days.                                                                                    | No       | 180     | 90                  |

## License

MIT
npm package: @jasonpraful/scripts
Description: Scripts to install and migrate packages
Author: Jason Praful
Latest version: 0.2.1

# Scripts

This package is a collection of scripts for projects created by Jason Praful.

It is designed to streamline the development process by providing a set of pre-configured scripts to run common tasks.

## Usage

```bash
npx @jasonpraful/scripts
```

## License

This project is licensed under the MIT License.