open-index/open-npm huggingface dataset:
npm package: @stoplight/slate-editor
Description: Themeable Slate Editor for React
Author: Stoplight
Latest version: 1.1.0

# slate-editor

<!-- BADGES -->

Themable Slate Editor for React

- Explore the components: [Storybook](https://stoplightio.github.io/slate-editor)
- View the changelog: [Releases](https://github.com/stoplightio/slate-editor/releases)

### Features

- **Awesome**: It is.
- .. more features

### Installation

Supported in modern browsers and node.

```bash
# latest stable
yarn add slate-editor
```

### Usage

```ts
import { Library } from "slate-editor";

// ...example
```

### Contributing

1. Clone repo.
2. Create / checkout `feature/{name}`, `chore/{name}`, or `fix/{name}` branch.
3. Install deps: `yarn`.
4. Make your changes.
5. Run tests: `yarn test.prod`.
6. Stage relevant files to git.
7. Commit: `yarn commit`. _NOTE: Commits that don't follow the [conventional](https://github.com/marionebl/commitlint/tree/master/%40commitlint/config-conventional) format will be rejected. `yarn commit` creates this format for you, or you can put it together manually and then do a regular `git commit`._
8. Push: `git push`.
9. Open PR targeting the `develop` branch.
npm package: @stoplight/spectral-cli
Description: [![](https://raw.githubusercontent.com/stoplightio/spectral/develop/docs/img/readme-header.svg)](https://stoplight.io/api-governance?utm_source=github&utm_medium=spectral&utm_campaign=readme) [![CircleCI](https://img.shields.io/circleci/build/github/stopl
Author: Stoplight
Latest version: 6.15.0
npm package: @stoplight/spectral-formatters
Description: This project exposes the available formatters from the CLI for users that perform custom validation through Javascript.
Author: Stoplight
Latest version: 1.5.0

# @stoplight/spectral-formatters

This project exposes the available formatters from the CLI for users that perform custom validation through Javascript.

## Usage

```ts
import { pretty } from "@stoplight/spectral-formatters";

const spectral = new Spectral();
// ...
const result = await spectral.run(document);

// You can also filter the results here.
const output = pretty(result);

console.error(output);
// ...
```

## Available formatters

### Common (available both in the browser and Node.js)

- json
- stylish
- junit
- html
- text
- teamcity
- markdown (example: [markdown_example.md](markdown_example.md))

### Node.js only

- pretty
- github-actions
- sarif
- gitlab
- code-climate
npm package: @stoplight/spectral-ref-resolver
Description: This package provides Spectral-compatible bindings for [@stoplight/json-ref-resolver](https://github.com/stoplightio/json-ref-resolver) and [@stoplight/json-ref-readers](https://github.com/stoplightio/json-ref-readers).
Author: Stoplight
Latest version: 1.0.5

# @stoplight/spectral-ref-resolver

This package provides Spectral-compatible bindings for [@stoplight/json-ref-resolver](https://github.com/stoplightio/json-ref-resolver) and [@stoplight/json-ref-readers](https://github.com/stoplightio/json-ref-readers).

You shouldn't need to install this package directly unless you want to create a custom JSON refs resolver

## Installation

```bash
npm install --save @stoplight/spectral-ref-resolver

# OR

yarn add @stoplight/spectral-ref-resolver
```

## Usage

An example usage of spectral-ref-resolver together with [proxy-agent](https://www.npmjs.com/package/proxy-agent).

```js
import { createHttpAndFileResolver, Resolver } from '@stoplight/spectral-ref-resolver';
import ProxyAgent from import('proxy-agent');

module.exports = createHttpAndFileResolver({ agent: new ProxyAgent(process.env.PROXY) });
```