open-index/open-npm huggingface dataset:
npm package: @ssgjs/sapper
Description: static export fork of sapper
Author: Rich Harris
Latest version: 0.27.9-fork.18

# @ssgjs/sapper

This is a community fork of [Sapper](https://sapper.svelte.dev) focused on static export needs.

It includes:

- entry-only optional param for export https://github.com/sveltejs/sapper/pull/856
- Handle i/o backpressure with sapper export https://github.com/sveltejs/sapper/pull/869
- (partially merged) Export filter urls by regex https://github.com/sveltejs/sapper/pull/859
- fallback rollup.config.js https://github.com/sw-yx/sapper/pull/2 and https://github.com/sw-yx/sapper/pull/1
  - `svelte-preprocess` in the fallback rollup https://github.com/sw-yx/sapper/pull/10/
- fallback client/server/template https://github.com/sw-yx/sapper/pull/3
- this fix for the JSON race condition issue https://github.com/nealalpert/sapper/commit/3247d504cb4c7cf3f71e57614697e2b559b40138
- a `this.ssgData` wrapper over `this.fetch` in the preload context https://github.com/sw-yx/sapper/pull/9

We maintain this fork because we feel pain points around sapper static export, and still have hope it is merged upstream one day.
npm package: @ssgjs/source-devto
Description: ssgjs helper for pulling content from dev.to
Author: sw-yx
Latest version: 0.0.9

# @ssgjs/source-devto

pull from dev.to given an api key


```js
// ssg.config.js
require('dotenv-safe').config()
const devToPlugin = require('@ssgjs/source-devto')({ 
  apiKey: process.env.DEV_TO_API_KEY
})

exports.plugins = {
  devToPlugin,
}

// mandatory. called once, should be cheap
exports.createIndex = async (mainIndex = {}) => {
  console.log('getting intial data')
  // can add more data to index here
  console.log('Number of articles:', Object.keys(mainIndex.devToPlugin).length)
  return mainIndex
}
```
npm package: @ssgjs/source-remark
Description: ssgjs helper for pulling from folders of markdown files
Author: sw-yx
Latest version: 0.0.10

# @ssgjs/source-remark

generate indexes via filesystem, and then use the remark ecosystem to generate data slices


```js
// ssg.config.js
const remark = require('@ssgjs/source-remark')
const writing = remark({ dirPath: 'content/writing' })
const speaking = remark({ dirPath: 'content/talks' })

exports.plugins = {
  writing,
  speaking
}

// not needed
exports.getDataSlice = async (key, uid) => {
  console.log('optional getDataSlice action')
  // etc
}


// mandatory. called once, should be cheap
exports.createIndex = async (mainIndex = {}) => {
  console.log('getting intial data')
  // can add more data to index here
  console.log('Number of talks:', Object.keys(mainIndex.speaking).length)
  console.log('Number of articles:', Object.keys(mainIndex.writing).length)
  return mainIndex
}
```
npm package: @ssgjs/source-yaml
Description: ssgjs helper for pulling from yaml files
Author: sw-yx
Latest version: 0.0.5

# @ssgjs/source-yaml

example usage

```js
// ssg.config.js
const yaml = require('@ssgjs/source-yaml')
const events = yaml({ dirPath: 'content/events' })

exports.plugins = {
  events,
}

// not needed
exports.getDataSlice = async (key, uid) => {
  console.log('optional getDataSlice action')
  // etc
}

// mandatory. called once, should be cheap
exports.createIndex = async (mainIndex = {}) => {
  console.log('getting intial data')
  // can add more data to index here
  console.log('Number of Events:', Object.keys(mainIndex.events).length)
  return mainIndex
}
```
npm package: @ssh-uppy/companion-client
Description: Client library for communication with Companion. Intended for use in Uppy plugins.
Latest version: 1.5.2

# @uppy/companion-client

<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right">

<a href="https://www.npmjs.com/package/@uppy/companion-client"><img src="https://img.shields.io/npm/v/@uppy/companion-client.svg?style=flat-square"></a>
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a>

Client library for communication with Companion. Intended for use in Uppy plugins.

Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service.

## Example

```js
const Uppy = require('@uppy/core')
const { Provider, RequestClient, Socket } = require('@uppy/companion-client')

const uppy = Uppy()

const client = new RequestClient(uppy, { companionUrl: 'https://uppy.mywebsite.com/' })
client.get('/drive/list').then(() => {})

const provider = new Provider(uppy, {
  companionUrl: 'https://uppy.mywebsite.com/',
  provider: providerPluginInstance
})
provider.checkAuth().then(() => {})

const socket = new Socket({ target: 'wss://uppy.mywebsite.com/' })
socket.on('progress', () => {})
```

## Installation

> Unless you are writing a custom provider plugin, you do not need to install this.

```bash
$ npm install @uppy/companion-client --save
```

<!-- Undocumented currently
## Documentation

Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/DOC_PAGE_HERE).
-->

## License

[The MIT License](./LICENSE).
npm package: @ssh-uppy/core
Description: Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:
Latest version: 1.12.0

# @uppy/core

<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right">

<a href="https://www.npmjs.com/package/@uppy/core"><img src="https://img.shields.io/npm/v/@uppy/core.svg?style=flat-square"></a>
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a>

Uppy is a sleek, modular JavaScript file uploader that integrates seamlessly with any application. It’s fast, easy to use and lets you worry about more important problems than building a file uploader.

- **Fetch** files from local disk, remote urls, Google Drive, Dropbox, Instagram, or snap and record selfies with a camera;
- **Preview** and edit metadata with a nice interface;
- **Upload** to the final destination, optionally process/encode

**[Read the docs](https://uppy.io/docs)** | **[Try Uppy](https://uppy.io/examples/dashboard/)**

Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service.

## Example

```js
const Uppy = require('@uppy/core')

const uppy = Uppy()
uppy.use(SomePlugin)
```

## Installation

```bash
$ npm install @uppy/core --save
```

We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. See the [main Uppy documentation](https://uppy.io/docs/#Installation) for instructions.

## Documentation

Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/uppy).

## License

[The MIT License](./LICENSE).
npm package: @ssh-uppy/store-default
Description: The default simple object-based store for Uppy.
Latest version: 1.2.1

# @uppy/store-default

<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right">

<a href="https://www.npmjs.com/package/@uppy/store-default"><img src="https://img.shields.io/npm/v/@uppy/store-default.svg?style=flat-square"></a>
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a>

A simple object-based store for Uppy. This one is used by default, you do not need to add it manually.

Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service.

## Example

```js
const Uppy = require('@uppy/core')
const DefaultStore = require('@uppy/store-default')

const uppy = Uppy({
  store: DefaultStore()
})
```

## Installation

```bash
$ npm install @uppy/store-default --save
```

We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).

Alternatively, you can also use this package in a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. See the [main Uppy documentation](https://uppy.io/docs/#Installation) for instructions.

## Documentation

Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/stores#DefaultStore).

## License

[The MIT License](./LICENSE).
npm package: @ssh-uppy/url
Description: The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!
Latest version: 1.5.9

# @uppy/url

<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right">

<a href="https://www.npmjs.com/package/@uppy/url"><img src="https://img.shields.io/npm/v/@uppy/url.svg?style=flat-square"></a>
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a>

The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!

A Companion instance is required for the Url plugin to work. Companion will download the files and upload them to their destination. This saves bandwidth for the user (especially on mobile connections) and helps avoid CORS restrictions.

Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service.

## Example

```js
const Uppy = require('@uppy/core')
const Url = require('@uppy/url')

const uppy = Uppy()
uppy.use(Url, {
  // Options
})
```

## Installation

```bash
$ npm install @uppy/url --save
```

We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).

Alternatively, you can also use this plugin in a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. See the [main Uppy documentation](https://uppy.io/docs/#Installation) for instructions.

## Documentation

Documentation for this plugin can be found on the [Uppy website](https://uppy.io/docs/url).

## License

[The MIT License](./LICENSE).
npm package: @ssh-uppy/utils
Description: Shared utility functions for Uppy Core and plugins maintained by the Uppy team.
Latest version: 3.2.0

# @uppy/utils

<img src="https://uppy.io/images/logos/uppy-dog-head-arrow.svg" width="120" alt="Uppy logo: a superman puppy in a pink suit" align="right">

<a href="https://www.npmjs.com/package/@uppy/utils"><img src="https://img.shields.io/npm/v/@uppy/utils.svg?style=flat-square"></a>
<a href="https://travis-ci.org/transloadit/uppy"><img src="https://img.shields.io/travis/transloadit/uppy/master.svg?style=flat-square" alt="Build Status"></a>

Shared utility functions for Uppy Core and the "official" plugins maintained by the Uppy team.

Uppy is being developed by the folks at [Transloadit](https://transloadit.com), a versatile file encoding service.

## Installation

> Unless you are creating a custom plugin, you should not need to install this manually.

```bash
$ npm install @uppy/utils --save
```

## License

[The MIT License](./LICENSE).
npm package: @ssh/audiosalad-xml
Description: Slingshot uses AudioSalad to power our delivery process. This library adapts AudioSalad's custom XML specification to a JavaScript- and TypeScript-friendly form, providing classes that easily allow you to generate AudioSalad-compatible XML for releases, t
Author: Sanil Chawla
Latest version: 0.1.5

# audiosalad-xml

Slingshot uses AudioSalad to power our delivery process. This library adapts AudioSalad's custom XML specification to a JavaScript- and TypeScript-friendly form, providing classes that easily allow you to generate AudioSalad-compatible XML for releases, tracks, and more.

Install the package to get started:
> npm install @ssh/audiosalad-xml --save

## Basic Usage
Create a new [Release](https://slingshot.github.io/audiosalad-xml/classes/Release) with relevant fields. Call [.xml()](https://slingshot.github.io/audiosalad-xml/classes/Release.html#xml) on a `Release` (or other objects, as per docs) to generate AudioSalad-compatible XML.

See detailed docs at [slingshot.github.io/audiosalad-xml](https://slingshot.github.io/audiosalad-xml/).
npm package: @ssh/csstypes
Description: A set of strict type definitions for CSS length and color values
Author: Sanil Chawla
Latest version: 1.1.0

# csstypes

`csstypes` provides a set of strict type definitions for CSS length and color values.

## Installation

Add `csstypes` as a dev dependency:

```sh
pnpm install -D @ssh/csstypes # or npm/yarn, of course
```

## Usage

See the [documentation](https://slingshot.github.io/csstypes/) for a full list of available types.

```typescript
import { CSSLength, CSSColor, PixelSize } from '@ssh/csstypes';

// Valid values
const length: CSSLength = '1em';
const color: CSSColor = 'red';
const pixels: PixelSize = '1px';

// Invalid values
const length2: CSSLength = '1px';
// Type '"1px"' is not assignable to type 'CSSLength'

const color2: CSSColor = '1px';
// Type '"1px"' is not assignable to type 'CSSColor'

const pixels2: PixelSize = '1em';
// Type '"1em"' is not assignable to type '`${number}px`'
```
npm package: @ssh/isrc
Description: This zero-dependency library provides some basic tools for easily parsing, validating, and stringifying ISRC codes in JavaScript and TypeScript. Slingshot uses it in production to support ISRC assignment in our distribution engine.
Author: Sanil Chawla
Latest version: 0.1.3

# isrc

This zero-dependency library provides some basic tools for easily parsing, validating, and stringifying ISRC codes in JavaScript and TypeScript. Slingshot uses it in production to support ISRC assignment in our distribution engine.

Install the package to get started:
```bash
npm install @ssh/isrc --save
# OR
yarn add @ssh/isrc
```

## Docs
Detailed docs are available at [slingshot.github.io/isrc](https://slingshot.github.io/isrc). These docs will be updated on every release.