open-index/open-npm huggingface dataset:
npm package: @squeebot/core
Description: Squeebot v3 core for the execution environment
Author: Evert "Diamond" Prants
Latest version: 3.8.1

# Squeebot Core Library
This module provides the components required to run [@squeebot/cli](https://git.icynet.eu/Squeebot/cli)
and Squeebot plugins. It does nothing on it's own and isn't designed to be used outside of a Squeebot runtime.

However, if you do feel like the code in this module could be of use to you in any way, feel free to use it for anything.
npm package: @squelette/core
Description: Provides Open API parser and basic types.
Author: andoshin11
Latest version: 1.1.13

# @squelette/core [![npm version](https://badge.fury.io/js/%40squelette%2Fcore.svg)](https://badge.fury.io/js/%40squelette%2Fcore)
Provides Open API parser and basic types.

# Breaking Changes :warning:
Since v1.0.0, `parse` method behaves differently from the previous versions.

```ts
type parsedContent = ReturnType<typeof parse>

// parsedContent === { [tag: string]: IOperation[] } <- before v1.0.0
// parsedContent === IOperation[]                    <- after v1.0.0
```


# Limitations
- Currently, this package only accepts Open API 3.0 written in yaml.

# Install

```sh
$ yarn add @squelette/core
```

# How to use programmatically
```js
import fs from "fs"
import YAML from "js-yaml"
import { parse } from '@squelette/core'

const file = fs.readFileSync(YOUR_FILE_PATH, 'utf-8')
const yaml = YAML.safeLoad(file)

// retrive abstract syntax tree
const parsedAST = parse(yaml)
```

# License
MIT
npm package: @squelette/request-gen
Description: An API request hints generator from Open API 3.0 spec.
Author: andoshin11
Latest version: 1.1.14

#  @squelette/request-gen [![npm version](https://badge.fury.io/js/%40squelette%2Frequest-gen.svg)](https://badge.fury.io/js/%40squelette%2Frequest-gen)
An API request hints generator from Open API 3.0 spec.

# Requirements
You need to set `strictPropertyInitialization` TS compiler options to `false`.

# About package
This packages generates API Request hints which may be useful for those who using [axios](https://www.npmjs.com/package/axios) and other HTTP client libraries.

# Install

```sh
$ yarn add @squelette/request-gen
```

# How to use
```sh
$ request-gen generate spec.yml --dist requests
```

# CLI Options

```
Usage: request-gen [options] [command]

Generate type definitions from swagger specs

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

Commands:
  generate [options] <file>

  Options:
  -d, --dist <dist>            Output directory
  -h, --help                   output usage information
```

# Usage


To give you a better sense, here's a simple example.

```yaml
openapi: "3.0.0"
...
paths:
  /pets/{petId}:
    get:
      operationId: showPetById
      tags:
        - pets
      parameters:
        - name: petId
          in: path
          required: true
          description: The id of the pet to retrieve
          schema:
            type: string
      responses:
        '200':
          description: Expected response to a valid request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Pets"
components:
  schemas:
    Pet:
      ...
```

This schema will be converted to...

```js
import * as operations from "./gen-ts";

export class showPetById
  implements APIRequest<operations.showPetByIdResponse> {
  response: operations.showPetByIdResponse;
  method = HTTPMethod["get"];
  path: string;
  params?: operations.showPetByIdRequest;

  constructor(args: {
    params?: operations.showPetByIdRequest;
    pathParameter: operations.showPetByIdPathParameter;
  }) {
    const { params, pathParameter } = args;
    this.params = params;
    this.path = `/pets/${pathParameter.petId}`;
  }
}
```

The generated schema can be used with your API client like this.

```js
# Your API Client
import axios from 'axios'

class APIClient {
  baseURL = 'https//hogehoge.com'

  request<U>(hint: APIRequest<U>): Promise<U> {
    const isRead = request.method === HTTPMethod.GET

    return axios.request({
      url: hint.path,
      method: hint.method,
      params: isRead && request.params,
      data: !isRead && request.params,
      baseURL: request.baseURL || this.baseURL
    })
  }
}

# Call API
import { showPetByID } from './requests'

new APIClient().request(new showPetByID({
  pathParameter: {
    petId: 'hoge'
  }
}))
```


# Detailed Example
See [example](https://github.com/andoshin11/squelette/tree/master/packages/squelette-request-gen/example/README.md).

# License
MIT
npm package: @squelette/ts-gen
Description: A type definition generator from Open API 3.0 spec.
Author: andoshin11
Latest version: 1.1.14

#  @squelette/ts-gen [![npm version](https://badge.fury.io/js/%40squelette%2Fts-gen.svg)](https://badge.fury.io/js/%40squelette%2Fts-gen)
A type definition generator from Open API 3.0 spec.

# About package
This packages generates TypeScript interface from.

- Schema components
- Error object (for each status codes)
- Request bodies
- Query Parameters
- Response objects
- Path Parameters

# Install

```sh
$ yarn add @squelette/ts-gen
```

# How to use
```sh
$ ts-gen generate swagger.yml --dist types
```

# CLI Options

```
Usage: ts-gen [options] [command]

Generate type definitions from swagger specs

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

Commands:
  generate [options] <file>

  Options:
  -d, --dist <dist>            Output directory
  -h, --help                   output usage information
```

# Example
See [example](https://github.com/andoshin11/squelette/tree/master/packages/squelette-ts-gen/example/README.md).

# License
MIT
npm package: @squeletteapp/widget-react
Description: React components for Squelette changelog widgets
Author: Squelette
Latest version: 3.1.6

# @squeletteapp/widget-react

React components and hooks for Squelette feedback widgets.

## Installation

```bash
npm install @squeletteapp/widget-react
# or
yarn add @squeletteapp/widget-react
```

## Usage

### Using Components (Recommended)

The easiest way to use Squelette widgets in React. Components automatically generate unique IDs using React's `useId()` hook:

```tsx
import { FeedbackWidget, RoadmapWidget, ChangelogWidget } from '@squeletteapp/widget-react';

function App() {
  return (
    <div>
      <FeedbackWidget
        workspaceSlug="your-workspace"
        boardSlug="feature-requests"
        theme="light"
        position="top"
        onOpenChange={(isOpen) => console.log('Widget open:', isOpen)}
      >
        Give Feedback
      </FeedbackWidget>

      <RoadmapWidget
        workspaceSlug="your-workspace"
        boardSlug="roadmap"
        theme="dark"
      >
        View Roadmap
      </RoadmapWidget>

      <ChangelogWidget
        workspaceSlug="your-workspace"
        theme="light"
      >
        What's New
      </ChangelogWidget>
    </div>
  );
}
```

### Using Hooks

For more control, use the hooks directly:

```tsx
import { useFeedbackWidget } from '@squeletteapp/widget-react';

function CustomButton() {
  const widget = useFeedbackWidget('your-workspace', 'feature-requests', {
    buttonSelector: '#my-feedback-button',
    theme: 'light',
    position: 'top',
    onLoad: () => console.log('Widget loaded'),
    onOpenChange: (isOpen) => console.log('Widget open:', isOpen),
  });

  return (
    <button id="my-feedback-button">
      Custom Feedback Button
    </button>
  );
}
```

## API

### Components

#### `<FeedbackWidget>`
- `workspaceSlug: string` - Your workspace slug
- `boardSlug?: string` - Board slug (optional)
- `theme?: 'light' | 'dark'` - Widget theme
- `position?: 'top' | 'bottom' | 'left' | 'right'` - Widget position
- `onLoad?: () => void` - Called when widget loads
- `onOpenChange?: (isOpen: boolean) => void` - Called when widget opens/closes
- `className?: string` - CSS class for the button
- `children: ReactNode` - Button content

#### `<RoadmapWidget>`
Same props as FeedbackWidget, but `boardSlug` is required.

#### `<ChangelogWidget>`
Same props as FeedbackWidget, but no `boardSlug` prop.

### Hooks

#### `useFeedbackWidget(workspaceSlug, boardSlug, options)`
#### `useRoadmapWidget(workspaceSlug, boardSlug, options)`
#### `useChangelogWidget(workspaceSlug, options)`
#### `useWidget(options)`

All hooks return a widget instance with a `destroy()` method, or `null` if not initialized.

## TypeScript

This package includes full TypeScript support with proper type definitions.

## Development

Built with esbuild for fast compilation and optimized bundles. Supports both CommonJS and ESM formats.
npm package: @squelify/client
Description: Official Squelify client library for JavaScript
Latest version: 0.0.0

# Squelify JavaScript SDK

[![Contribution](https://badgen.net/badge/icon/Contributions%20Welcome?icon=bitcoin-lightning&label&color=black&labelColor=black)][contribution]

This is the official JavaScript client library designed to interact with the [Squelify API](https://squelify.com/docs).

## Installation

```sh
# Install with npm
npm install @squelify/client

# Install with yarn
yarn add @squelify/client

# Install with pnpm
pnpm install @squelify/client
```

## Usage

```ts
import Squelify from "@squelify/client";

// Instantiate the Squelify client with an optional configuration
const sq = new Squelify({
  apiUrl: "https://<your_squelify_domain_name>"
});
```

## License

This project is open-sourced software licensed under the [MIT license][license-mit].

Copyrights in this project are retained by their contributors.
See the [license file](./LICENSE) for more information.

---

<sub>🤫 Psst! If you like our work you can support us via [GitHub sponsors][github-sponsors] or by subscribing on Polar.</sub>

<a href="https://polar.sh/squelify" target="_blank" rel="noopener noreferrer">
  <picture>
    <source media="(prefers-color-scheme: dark)"
      srcset="https://polar.sh/embed/subscribe.svg?org=squelify&label=Subscribe&darkmode"><img
      alt="Subscribe on Polar" src="https://polar.sh/embed/subscribe.svg?org=squelify&label=Subscribe">
  </picture>
</a>

<!-- link reference definition -->
[contribution]: https://github.com/squelify/squelify/pulse
[github-sponsors]: https://github.com/sponsors/squelify
[license-mit]: https://choosealicense.com/licenses/mit/
npm package: @squer/react-native-common-redux
Description: Squer React Native Redux
Author: Squer
Latest version: 1.0.5

# @squer-react-native-common/redux

Current Version: 1.0.5

### Installation
`$ npm install @squer/react-native-common-redux --save`

## Peer Dependencies
- "lodash": "4.17.21"
- "redux": "4.1.0"
- "redux-observable": "2.0.0"
- "redux-thunk": "2.3.0"
- "reselect": "4.0.0"

## Redux Components
- [x] Example (action / reducer / selector)
    - Actions: DEFAULT_EXAMPLE
- [x] Spinner (action / reducer / selector)
  - Actions: HIDE_SPINNER, SHOW_SPINNER
- [x] Reset Data (action / epic / reducer)
  - Actions: RESET_DATA, RESET_DATA_START
npm package: @squer/react-native-common-ui
Description: React native extended UI Components using antd
Author: Squer
Latest version: 0.0.3

# @squer-react-native-common/ui

Current Version: 0.0.3

### Installation
`$ npm install @squer-react-native-common/ui --save`

## Peer Dependencies
- "@squer-react-native-common/redux": "1.0.4",
- "prop-types": "15.7.2"
- "react-redux": "7.2.4"
- "redux": "4.1.0"
- "redux-thunk": "2.3.0"
- "reselect": "4.0.0"

## Dependencies
- "antd": "4.2.0"
- ""

### Usage example
```
  import {LoadingSpinner} from '@squer-react-native-common/ui';

  <LoadingSpinner/>
```

## Components

|   | Components | props |
|---|---|---|
| [x] | Loading Spinner |   |
npm package: @squibler/rejex
Description: A package for easy regular expressions
Author: Squibler
Latest version: 0.0.6

# Rejex

Rejex is a library of Regular Expressions.

## Install

```bash
# pnpm
pnpm i -D @squibler/rejex
# npm
npm install --develop @squibler/rejex
# yarn
yarn add @squibler/rejex
```

## Usage

```typescript
import { RejexString } from "@squibler/rejex";

const isMatch: Boolean = "SomeString".match(RejexString.pattern);
```