open-index/open-npm huggingface dataset:
npm package: @squonk/sdf-parser
Description: A parser for SDF files with streaming support
Latest version: 1.3.1

﻿# @squonk/sdf-parser

**SDF Parser with Streaming Support**

This parser parses a sdf file, supporting web streams, and returns a collection of records. Each record has the following type

```typescript
export type SDFRecord = {
  molText: string | undefined;
  properties: Record<string, string | undefined>;
};
```

## Example 1

```typescript
import { parser } from "@squonk/sdf-parser";

const content = `C8H10N4O2
...
M  END
>  <Compound Name>
Caffeine

>  <Formula>
C8H10N4O2

>  <Molweight>
194.19

$$$$`;

const records = parser(content);
```

records:

```typescript
[
  {
    molText: "C8H10N4O2\r\n...\r\nM  END\r\n",
    properties: {
      "Compound Name": "Caffeine",
      Formula: "C8H10N4O2",
      Molweight: "194.19",
    },
  },
];
```

## Example 2: Web Streams

Using web streams, that are now available in most browsers, we create a readable stream with, for example, a `fetch` request. We can pipe this through the required decoding transformers before parsing it with the provided SDF StreamTransformer.

```typescript
const response = fetch("/some/sdf-file.sdf.gz");
const stream = response.body;
if (stream) {
  stream
    .pipeThrough(new DecompressionStream("gzip")) // if file is gzipped
    .pipeThrough(new TextDecoderStream()) // decode Uint8Array to a string
    .pipeThrough(createSDFTransformer()); // parse each chunk into records
}
```

You can then `.pipeTo` a `WriteableStream` and do what you wish with each chunk which will be a record object.

## Example 3: NodeJS Streams

If you can't rely on the availability of web streams APIs, and can instead parse on a server then you can use this NodeJS implementation.

```typescript
const response = fetch("/some/sdf-file.sdf.gz");
const stream = response.body;
if (stream) {
  stream
    .pipe(createGunzip()) // if file is gzipped
    .pipe(decoderTransform) // wrap a TextDecoder
    .pipe(new NodeSDFTransformer()) // parse the SDF record stream
}
```
npm package: @sqve/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 3.4.0

# react-scripts

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

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @sqwad/direct-flow
Description: Direct Flow Client
Author: Nicolas Guillard
Latest version: 1.1.0

# Sqwad DirectFlow Client Javascript / Typescript library

Instant bidirectional interactions made easy !

*Note: we use socket.io library for client layer with auto-reconnect and WebSocket / Long polling usage.*

The library is coded on typescript so all types are defined, except for custom ones.

## CDN Use

```html
<script src="https://cdn.jsdelivr.net/npm/@sqwad/direct-flow" crossorigin="anonymous"></script>
<script>
  const d = new DirectFlow('your-uuid', 'client-key')

  d.broadcast('Hello world')

  d.onMessage((message) => {
    console.log(message)
  })
</script>
```

## Installation

```shell
yarn add @sqwad/direct-flow
```

or

```shell
npm install @sqwad/direct-flow
```

### Javascript Usage

```html

<script type="module">
    import {DirectFlow} from '@sqwad/direct-flow'

    const d = new DirectFlow('your-uuid', 'client-key')

    d.broadcast('Hello world')

    d.onMessage((message) => {
        console.log(message)
    })
</script>
```

### Event driven usage

```html

<script type="module">
    import {DirectFlow} from '@sqwad/direct-flow'

    const d = new DirectFlow('your-uuid', 'client-key')

    d.broadcast('Hello world')

    // Instantiate all event dispatchers
    d.onMessage()

    addEventListener(DirectFlowEventType.GLOBAL, (message) => console.log(message))
</script>
```

## Methods

- `connect`: connect to server (not needed, connected in constructor)
- `release`: disconnect from server
- `broadcast`: send message to anyone **except us** (can be string or object)
- `send`: broadcast alias
- `sendTo`: send to specific client
- `sendToChannel`: send to channel on server (can be string or object)
- `rawSend`: send any data to server, but need to be an object
- `subscribe`: listen to one or more specific channel (string or object)
- `unsubscribe`: stop listening for one or more specific channel (string or object)
- `onMessage`: action to do when receiving message, parameter is optional and instantiate event dispatchers, you should
  call once only.
npm package: @sqwid/rekognition-wrapper
Description: AWS Rekognition SDK wrapper for Sqwid
Author: Boidushya
Latest version: 1.0.1

# rekognition-wrapper

Moderating image content through AWS Rekognition SDK

## Prerequisites

* [PySceneDetect](https://github.com/Breakthrough/PySceneDetect) (Only required for video moderation)
* [Amazon AWS Account](https://aws.amazon.com/)

## Installation

Use either [npm](https://www.npmjs.com/package/@sqwid/rekognition-wrapper) or [yarn](https://yarnpkg.com/) to
install rekognition-wrapper.

```bash
npm  i @sqwid/rekognition-wrapper
```

or

```bash
yarn add @sqwid/rekognition-wrapper
```

## Usage

```javascript
const RekognitionWrapper = require("@sqwid/rekognition-wrapper");

/*
    https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
    https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
*/

const config = {
	accessKeyId: "your-aws-access-key-id",
	secretAccessKey: "your-aws-secret-access-key",
	region: "region-closest-to-your-server-location-for-minimum-latency",
};

const verifier = new RekognitionWrapper(config);

verifier.detectExplicitContent({
	url: "https://img.huffingtonpost.com/asset/6197f71f20000047aa8d3089.jpeg?cache=dLXWffeF86&ops=scalefit_720_noupscale",
})
.then(result => {
	console.log(result);
})
.catch(error => {
	console.log(error);
});
```

For more examples, see [examples](example/)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.

Please make sure to update [tests](tests/index.test.js) as appropriate.

## License

[MIT](LICENSE)
npm package: @sqwiroux/date-fns-v2
Description: Modern JavaScript date utility library
Latest version: 2.30.1

<p align="center">
  <a href="https://date-fns.org/">
    <img alt="date-fns" title="date-fns" src="https://raw.githubusercontent.com/date-fns/date-fns/master/docs/logotype.svg" width="300" />
  </a>
</p>

<p align="center">
  <b>date-fns</b> provides the most comprehensive, yet simple and consistent toolset
  <br>
  for manipulating <b>JavaScript dates</b> in <b>a browser</b> & <b>Node.js</b>.</b>
</p>

<div align="center">

[📖&nbsp; Documentation](https://date-fns.org/docs/Getting-Started/)&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;[🧑‍💻&nbsp; JavaScript Jobs](https://jobs.date-fns.org/)

</div>

<hr>

# It's like [Lodash](https://lodash.com) for dates

- It has [**200+ functions** for all occasions](https://date-fns.org/docs/Getting-Started/).
- **Modular**: Pick what you need. Works with webpack, Browserify, or Rollup and also supports tree-shaking.
- **Native dates**: Uses existing native type. It doesn't extend core objects for safety's sake.
- **Immutable & Pure**: Built using pure functions and always returns a new date instance.
- **TypeScript & Flow**: Supports both Flow and TypeScript
- **I18n**: Dozens of locales. Include only what you need.
- [and many more benefits](https://date-fns.org/)

```js
import { compareAsc, format } from 'date-fns'

format(new Date(2014, 1, 11), 'yyyy-MM-dd')
//=> '2014-02-11'

const dates = [
  new Date(1995, 6, 2),
  new Date(1987, 1, 11),
  new Date(1989, 6, 10),
]
dates.sort(compareAsc)
//=> [
//   Wed Feb 11 1987 00:00:00,
//   Mon Jul 10 1989 00:00:00,
//   Sun Jul 02 1995 00:00:00
// ]
```

The library is available as an [npm package](https://www.npmjs.com/package/date-fns).
To install the package run:

```bash
npm install date-fns --save
# or with yarn
yarn add date-fns
```

## Docs

[See date-fns.org](https://date-fns.org/) for more details, API,
and other docs.

<br />
<!-- END OF README-JOB SECTION -->

## License

[MIT © Sasha Koss](https://kossnocorp.mit-license.org/)
npm package: @sqwiroux/mui
Description: Various components to use in react projects
Author: Bernard Gaitho
Latest version: 2.0.165

<!-- AUTO-GENERATED-CONTENT:START (STARTER) -->
<p align="center">
  <a href="https://cloudhub-ux.netlify.com">
    <img alt="Gatsby" src="https://cloudhub-ux.netlify.com/static/logo-c4416d49bc581833470a04b7153efcbb.png" width="250" />
  </a>
</p>
<h1 align="center">
  cloudhub-ux components
</h1>

Various components to use in reactjs projects

[![travis build](https://img.shields.io/travis/gaithoben/kenya.svg?style=flat-square)](https://travis-ci.org/gaithoben/kenya)
[![version](https://img.shields.io/npm/v/kenya.svg?style=flat-square)](http://npm.im/kenya)
[![downloads](https://img.shields.io/npm/dm/kenya.svg?style=flat-square)](http://npm-stat.com/charts.html?package=kenya&from=2015-08-01)
[![MIT License](https://img.shields.io/npm/l/kenya.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)

These are components to help you kickstart your project and get going within hours with minimal configuration and installation steps. These components ships with the the dependencies required to work in any reactjs project.

Please go to the [The documentation website](https://cloudhub-ux.netlify.com). for more details.
npm package: @sqwiroux/reach-router
Description: Gatsby's fork to modernize reach-router
Author: Ryan Florence
Latest version: 2.0.10

# @gatsbyjs/reach-router

This is a **fork** made by [Gatsby](https://www.gatsbyjs.com) to make changes to [`reach-router`](https://reach.tech/router/) like:

- Support for React 18 **only**
- Support for React Server Components
- Publish as CJS and ESM

Use this fork **at your own risk** as we'll make changes to it that will benefit Gatsby. We won't accept feature requests, please fork this repository if you need other things. We'll still try to keep versioning semver-compatible though.

<p>
  <a href="https://www.npmjs.com/package/@gatsbyjs/reach-router"><img src="https://img.shields.io/npm/v/@gatsbyjs/reach-router.svg?style=flat-square" /></a>
  <a href="https://www.npmjs.com/package/@gatsbyjs/reach-router"><img src="https://img.shields.io/npm/dm/@gatsbyjs/reach-router.svg?style=flat-square" /></a>
</p>
npm package: @sqwiroux/react-day-picker-v9
Description: Customizable Date Picker for React
Author: Giampaolo Bellavite
Latest version: 9.0.1

# React DayPicker

DayPicker is a [React](https://react.dev) component to create date pickers, calendars, and date inputs for web applications.

📖 See **[daypicker.dev](https://daypicker.dev)** for guides, examples and API reference.

## Features

- 🛠 An extensive set of props for [customizing](./docs/customization.mdx) the calendar.
- 🎨 Minimal design that can be [easily styled](./docs/styling.mdx) with CSS or any CSS framework.
- 📅 Supports [selections](./docs/selection-modes.mdx) of single day, multiple days, ranges of days, or [custom selections](./guides/custom-selections.mdx).
- 🌍 Can be [localized](./docs/localization.mdx) into any language, supports [ISO 8601 dates](./docs/localization.mdx#iso-week-dates), [UTC dates](./docs/localization.mdx#utc-dates), and [Jalali calendar](./docs/localization.mdx#jalali-calendar).
- 🦮 Complies with WCAG 2.1 AA requirements for [accessibility](./docs/accessibility.mdx).
- ⚙️ [Customizable components](./guides/custom-components.mdx) for more complex use cases.
- 🔤 Easy integration [with input fields](./guides/input-fields.mdx).

DayPicker is written in TypeScript and compiled to CommonJS and ESM. It relies on [date-fns](https://date-fns.org) for date manipulation and formatting.

## Installation

```bash
npm install react-day-picker
```

<a href="https://www.npmjs.com/package/react-day-picker"><img src="https://img.shields.io/npm/v/react-day-picker" alt="npm version"/></a>
<img src="https://img.shields.io/npm/dm/react-day-picker.svg" alt="npm downloads"/> <img src="https://img.shields.io/bundlephobia/minzip/react-day-picker" alt="Min gzipped size"/>

## Example

```tsx
import { DayPicker } from "react-day-picker";
import "react-day-picker/style.css";

function MyDatePicker() {
  const [selected, setSelected] = useState<Date>();

  return (
    <DayPicker
      mode="single"
      selected={selected}
      onSelect={setSelected}
      footer={
        selected ? `Selected: ${selected.toLocaleDateString()}` : "Pick a day."
      }
    />
  );
}
```

## Compatibility

DayPicker is compatible with React 16.8 and later.

## License

DayPicker is released under the [MIT License](./license).

## Community

Ask for help and share your experience with DayPicker.

- 💬 [Discussion forums](https://github.com/gpbl/react-day-picker/discussions) - get support and provide feedback.
- 🪳 [Report an issue](https://github.com/gpbl/react-day-picker/issues/new/choose) - report a bug or a feature request.

## Funding

Consider supporting DayPicker's maintainer with a donation. Your support helps to keep the project alive and keep it updated.

- 🎗️ [Sponsor DayPicker on GitHub](https://github.com/sponsors/gpbl)