open-index/open-npm huggingface dataset:
npm package: @poetez/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 0.2.0
Deprecated: Package is no longer maintained and may have security issues. Use craco or customize-cra to tune default create-react-app configuration

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebookincubator/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebookincubator/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @poeticode/scroll-swipe
Description: a lightweight Events API for detecting scroll and touch events based on custom sensitivity
Author: cmswalker
Latest version: 0.1.2

# scroll-swipe :mouse2:

#### [NPM](https://www.npmjs.com/package/scroll-swipe)

```sh
npm install scroll-swipe
```

### 2-step API for providing scroll and touch event direction handlers

##### UMD-wrapped for use with node/browser and with or without bundlers

#### Example setup can be found [here](https://github.com/cmswalker/scroll-swipe/blob/master/examples/index.js)

##### You can run the example locally:

```sh
npm install
npm start => localhost:3333
```

### Instantiate

```js
var ss = new ScrollSwipe({
	target: document, // Element must be a single dom-node per ScrollSwipe Instance
	scrollSensitivity: 0, // The lower the number, the more sensitive
	touchSensitivity: 0, // The lower the number, the more senitive
	scrollPreventDefault: true, // prevent default option for scroll events
	touchPreventDefault: true, // prevent default option for touch events
	scrollCb: scrollCb,  // The action you wish to perform when a scroll reacts (details below)
	touchCb: touchCb, // The action you wish to perform when a touch reacts (details below)
	dragCb: dragCb // gives you the delta x/y of touch events. You'll also need touchCb to be set.
});
```

### Scroll API && Touch API

```js
//Example callbacks for the ScrollSwipe instance above ^^

/**
 * @param  {Object} data - returns the following
 * startEvent - Event that triggered this action
 * lastEvent - Last Event at the end of action
 * scrollPending - state of instance's scrollPending property (will always come back true after a successful event)
 * direction - 'VERTICAL' || 'HORIZONTAL' for mapping vertical/horizontal actions from the event;
 * intent - 0 || 1  for mapping up/down && left/right actions from the event
 */

function scrollCb(data) {
    //do animations, state changes/eval or something async, then open the listener back up.
	ss.listen();
}

function touchCb(data) {
    //the exact same behavior as scrollCb ^^ applies
    ss.listen();
}

/**
 * @param  {Object} data - returns the following
 * x - delta X
 * y - delta Y
 */
function dragCb(data) {
	// same behavior, except different data
	// and you shouldn't call ss.listen(), else touchCb won't fire.
}

// kill scroll event listeners for an instance with ss.killScroll();
// kill touch event listeners for an instance with ss.killTouch();
// kill all event listeners for an instance with ss.killAll();

```
npm package: @poetora/mdx
Description: MDX processing utilities and components for Poetora documentation platform
Author: Poetora
Latest version: 0.1.8

# Poetora MDX

This package provides MDX components, plugins, and utilities for processing Markdown with embedded React components. It includes both client-side and server-side functionality with full TypeScript support.

## Installation

```bash
pnpm add @poetora/mdx
```

## Usage

### Client-Side Rendering

```typescript
import { MDXClient } from "@poetora/mdx/client";

function MyComponent() {
  return (
    <MDXClient
      compiledSource={compiledMDX}
      components={customComponents}
      scope={{ customData: "value" }}
    />
  );
}
```

### Server-Side Processing

```typescript
import { serialize, MDXRemote } from "@poetora/mdx/server";

// Serialize MDX content
const serialized = await serialize({
  source: mdxSource,
  scope: { data: "value" },
});

// Render with RSC
function ServerPage() {
  return (
    <MDXRemote
      source={mdxSource}
      components={components}
      scope={{ data: "value" }}
    />
  );
}
```

### Custom Plugins

```typescript
import { rehypeSyntaxHighlighting, remarkMath } from "@poetora/mdx/plugins";

const plugins = {
  remarkPlugins: [remarkMath],
  rehypePlugins: [[rehypeSyntaxHighlighting, { theme: "github-dark" }]],
};
```

## Development

```bash
# Build the package
pnpm build

# Watch mode for development
pnpm dev

# Type checking
pnpm type-check

# Clean build artifacts
pnpm clean
```
npm package: @poetora/openapi-types
Description: Modern OpenAPI types
Author: Scalar
Latest version: 0.0.0

# Scalar OpenAPI Types

[![CI](https://github.com/scalar/scalar/actions/workflows/ci.yml/badge.svg)](https://github.com/scalar/scalar/actions/workflows/ci.yml)
[![Contributors](https://img.shields.io/github/contributors/scalar/scalar)](https://github.com/scalar/scalar/graphs/contributors)
[![GitHub License](https://img.shields.io/github/license/scalar/scalar)](https://github.com/scalar/scalar/blob/main/LICENSE)
[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/scalar)

Modern OpenAPI parser written in TypeScript, with support for Swagger 2.0, OpenAPI 3.0 and OpenAPI 3.1

## Installation

```bash
npm add @poetora/openapi-types
```

## Usage

```ts
import type { OpenAPI } from '@poetora/openapi-types'

const file: OpenAPI.Document = {
  openapi: '3.1.0',
  info: {
    title: 'Hello World',
    version: '1.0.0',
  },
  paths: {},
}
```

## Community

We are API nerds. You too? Let’s chat on Discord: <https://discord.gg/scalar>

## License

The source code in this repository is licensed under [MIT](https://github.com/scalar/scalar/blob/main/LICENSE).
npm package: @poetora/ts-config
Description: Poetora shared ts config
Author: Poetora
Latest version: 0.1.0

# Shared TS configuration

A [TS Config file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) is used to specify how a TypeScript project should be compiled.

## Add Dependencies

Install this package and peerDependencies of this package as devDependencies in the project, using [install-peerdeps](https://github.com/nathanhleung/install-peerdeps).

```sh
npx install-peerdeps --dev @poetora/ts-config
```

Alternatively, you can install this package as devDependency and install the peerDependencies separately.

```sh
# yarn
yarn add -D @poetora/ts-config

# npm
npm i -D @poetora/ts-config

# pnpm
pnpm add -D @poetora/ts-config
```

## Add Configuration File

In the project's `tsconfig.json` file, extend this configuration:

```json
{
  "extends": "@poetora/ts-config",
  "compilerOptions": {
    ...
  },
  ...
}
```
npm package: @poetri/cli
Description: Poetri CLI
Author: Pablo Andrés Dorado Suárez
Latest version: 0.3.1

# Poetri CLI

CLI for managing your account, teams and projects at [Poetri](https://poetri.co).

## Install 

```
npm i -g @poetri/cli
```

## Usage

Get help using the following command.

```
poetri -h
```

You'll find something like this.

```
Usage: poetri [options] [command]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  init           creates a new project
  signup         registers an user
  signin         logs-in an user
  help [cmd]     display help for [cmd]
```

### Sign Up

Registers a new user on Poetri.

```
Usage: poetri-signup [options]

Registers a new user on Poetri.

Options:
  -m --mail <mail>  mail for the user
  -h, --help        output usage information
```

### Sign In

Signs a Poetri user in.

```
Usage: poetri-signin [options]

Signs a Poetri user in.

Options:
  -m --mail <mail>  mail for the user
  -h, --help        output usage information
```

## License

[MIT License](LICENSE)
npm package: @poexio/blockcypher
Description: Node.js client for the BlockCypher API
Author: PoEx Co., Ltd
Latest version: 0.3.0

# Blockcypher Client

A fork of the official Node.js SDK for the BlockCypher Web services. See
[http://dev.blockcypher.com](http://dev.blockcypher.com/) for detailed
documentation.

To install, just use npm:

```bash
npm install --save @poexio/blockcypher
```

## Examples

```javascript
const Bcypher = require('@poexio/blockcypher')

const bcapi = new Bcypher('btc', 'main', 'YOURTOKEN')

const main = async () => {
  // get chain info
  const chain = await bcapi.getChain()

  // get block height without any optional URL params
  const block = await bcapi.getBlock(300000)

  // get block height with an optional "txstart" param, as outlined in docs here: http://dev.blockcypher.com/
  const block2 = await bcapi.getBlock(300000, {txstart: 2})

  // Let's try a post request, like making a new webhook
  const webhook = {
    event: 'unconfirmed-tx',
    address: '15qx9ug952GWGTNn7Uiv6vode4RcGrRemh',
    url: 'https://my.domain.com/callbacks/new-tx'
  }
  const createdWebHook = await bcapi.createHook(webhook)

  // Now let's list all of our webhooks
  const hooksList = await bcapi.listHooks()

  // Finally let's delete the webhook
  await bcapi.delHook(createdWebHook.id)

  return {chain, block, block2, hooksList}
}

main()
  .then(d => { console.log(d) })
  .catch(e => { console.log(e.message) })
```

## License

The MIT License (MIT)

Copyright &copy; 2015 BlockCypher, Inc.  
Copyright &copy; 2018 PoEx Co., Ltd