open-index/open-npm huggingface dataset:
npm package: @monyone/aho-corasick
Description: Aho Corasick implementation written in TypeScript
Author: monyone
Latest version: 1.1.9

# aho-corasick

Simple Aho-Corasick algorhythm implementaiton for TypeScript.

## Getting Started

```sh
npm i @monyone/aho-corasick
```

### Keyword Detection

```ts
import { AhoCorasick } from '@monyone/aho-corasick';

const ahocorasick = new AhoCorasick(keywords);
const hasAnyKeyword: boolean = ahocorasick.hasKeywordInText(text);
```

### Keyword Matching

```ts
import { AhoCorasick } from '@monyone/aho-corasick';

const ahocorasick = new AhoCorasick(keywords);
const match: { begin: number, end: number, keyword: string}[] = ahocorasick.matchInText(text);
```

### Dynamic Addition/Deletion

```ts
import { DynamicAhoCorasick } from '@monyone/aho-corasick';

const ahocorasick = new DynamicAhoCorasick(keywords);
ahocorasick.add('test')
ahocorasick.delete('test')
const match: { begin: number, end: number, keyword: string}[] = ahocorasick.matchInText(text);
```

### Greedy (Leftmost-Longest) Match Variant
```ts
import { AhoCorasick } from '@monyone/aho-corasick/greedy';

const ahocorasick = new AhoCorasick(keywords);
const match: { begin: number, end: number, keyword: string}[] = ahocorasick.matchInText(text);
```

### Greedy (Leftmost-Longest) Streaming Variant

#### With Node.js Stream API
```ts
import { AhoCorasick } from '@monyone/aho-corasick/stream';
import { createReadStream, createWriteStream } from 'node:fs';
import { Readable } from 'node:stream';

const ahocorasick = new AhoCorasick(keywords);
const input = createReadStream('input.txt', { encoding: 'utf-8' });
const output = createWriteStream('output.txt', { encoding: 'utf-8' });
const readable = Readable.from(ahocorasick.replaceAsync(input, (key) => '#'.repeat(key.length)));
readable.pipe(output);
```

#### With fetch
```ts
import { AhoCorasick } from '@monyone/aho-corasick/stream';

const ahocorasick = new AhoCorasick(['example', 'Example']);
const input = (await fetch('http://example.com')).body!.pipeThrough(new TextDecoderStream());
const readable = ReadableStream.from(ahocorasick.replaceAsync(stream, (key) => '#'.repeat(key.length)));
```


### More Faster Search (Double Array)

```ts
import { AhoCorasick } from '@monyone/aho-corasick/fast';

const ahocorasick = new AhoCorasick(keywords);
const match: { begin: number, end: number, keyword: string}[] = ahocorasick.matchInText(text);
```
npm package: @monyone/arib-subtitle-emsg-id3
Description: test for emsg with timed-id3
Author: monyone
Latest version: 0.0.3

# node-arib-subtitle-emsg-id3

A Simple Emsg insertion example

## Build

### Preparing

```bash
git clone https://github.com/monyone/node-arib-subtitle-emsg-id3
cd node-arib-subtitle-emsg-id3
yarn
```

### Compiling library

```bash
yarn run build
```
npm package: @monyone/mp4-box-transform
Description: a simple mp4 box transform
Author: monyone
Latest version: 0.0.2

# node-mp4-box-transform

A Simple Top Level Box transform

## Feature

* top level box to node.js transform

## Build

### Preparing

```bash
git clone https://github.com/monyone/node-mp4-box-transform
cd node-mp4-box-transform
yarn
```

### Compiling library

```bash
yarn run build
```
npm package: @monzo/flow-to-ts
Description: [![npm version](https://badge.fury.io/js/%40khanacademy%2Fflow-to-ts.svg)](https://badge.fury.io/js/%40monzo%2Fflow-to-ts)
Latest version: 0.5.4

# @monzo/flow-to-ts

[![npm version](https://badge.fury.io/js/%40khanacademy%2Fflow-to-ts.svg)](https://badge.fury.io/js/%40monzo%2Fflow-to-ts)

> :warning: Please note that is is an unsupported fork of `@khanacademy/flow-to-ts`.

Feel free to fork it yourself and base your work of it :-) 


# flow-to-ts

[![Actions Status](https://github.com/Khan/flow-to-ts/workflows/Node%20CI/badge.svg)](https://github.com/Khan/flow-to-ts/actions)
[![codecov](https://codecov.io/gh/Khan/flow-to-ts/branch/master/graph/badge.svg)](https://codecov.io/gh/Khan/flow-to-ts)
[![npm version](https://badge.fury.io/js/%40khanacademy%2Fflow-to-ts.svg)](https://badge.fury.io/js/%40khanacademy%2Fflow-to-ts)

Convert Flow code to TypeScript.

> :warning: This is a WIP and many things still do not work properly.  There
> may also be the odd regression from time to time as work progresses.

The goal of this project is to provide a tool that can translate 95% of Flow
to TypeScript while maintaining a high percentage of the existing type
information. We don't want to convert code and end up with everything using
`any`. We also want to avoid having to make a lot of manual changes to files
afterwards, e.g. changing `SyntheticEvent` to `React.Event`.

# Quick start

- `yarn global add @khanacademy/flow-to-ts`
- `flow-to-ts [options] <file globs>`

For a comprehensive list of available options, please check out the [CLI code](./src/cli.ts).

# Playground

https://flow-to-ts.netlify.com

# Principles

- when exact translation isn't possible:
  - downgrade to `any` when possible and provide a gentle warning
  - when it isn't possible to downgrade (e.g. `%checks`), remove the syntax
    and provide a forceful warning that the code in question will need a human
    to convert it manually.
- best effort to maintain blank lines and the position comments, this isn't
  always possible so warn in those situations where we can't, e.g. converting
  object type spreads to intersection types.

# Contributing

## Bugs

Bug reports for converting Flow to TypeScript should include a link to the
playground with an example of a minimal reproducible example of the bug.

## Feature Requests

Feature requests are welcome.

## Pull Requests

Please make sure there is a GitHub issue first before creating a pull request
except for small things. Also, please sign our [Contributor License Agreement](https://docs.google.com/forms/d/e/1FAIpQLSdyXYrc8ogVoA46J9KXyIj5nKlZzNkOnQG-4A1R7X_BWGTShQ/viewform).

Pull requests that fix a bug in the conversion code should include one or more
test cases and should have 100% diff coverage.

## Dev quick start

```bash
git clone git@github.com:Khan/flow-to-ts.git
cd flow-to-ts
git submodule update --depth 1 --init -- babel
cd babel
yarn
cd ..
yarn
yarn test
```

## Helpful resources

- https://github.com/niieani/typescript-vs-flowtype
- https://astexplorer.net/
npm package: @monzswap/uikit
Description: Set of UI components for monz projects
Latest version: 0.1.5

# Monz UIkit

[![Version](https://img.shields.io/npm/v/@monzswap-libs/uikit)](https://www.npmjs.com/package/@monzswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@monzswap-libs/uikit)](https://www.npmjs.com/package/@monzswap-libs/uikit)

Monz UIkit is a set of React components and hooks used to build pages on Monz's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @monzswap-libs/uikit`

## Setup

### Theme

Before using Monz UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@monzswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@monzswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://monzswap.github.io/monz-uikit/)
npm package: @moo-api/standards
Description: Moo's coding standards (ESLint, Stylelint, Prettier)
Author: Moo
Latest version: 1.2.1

# @moo-api/standards

> Moo's coding standards – a shared ruleset for ESLint, Stylelint, and Prettier

## 📦 Installation

```bash
pnpm add -D @moo-api/standards
```

---

## ⚙️ Setup

### ESLint

Create an `eslint.config.js` in your project root:

```js
module.exports = {
  extends: ['@moo-api/standards/eslint'],
};
```

### Stylelint

Create a `stylelint.config.cjs` in your project root:

```js
module.exports = {
  extends: ['@moo-api/standards/stylelint'],
};
```

### Prettier

Create a `prettier.config.js` in your project root:

```js
module.exports = require('@moo-api/standards/prettier');
```

---

## 🚀 Usage

Add the following scripts to your `package.json`:

```json
{
  "scripts": {
    "lint": "pnpm lint:js && pnpm lint:css",
    "lint:js": "eslint . --ext js,jsx,ts,tsx",
    "lint:css": "stylelint '**/*.{css,scss,less}'",
    "format": "prettier --write ."
  }
}
```

Then run:

```bash
pnpm lint      # Lint JS/TS and CSS/SCSS files
pnpm format    # Format files with Prettier
```

---

## 🔄 Updates

To keep up to date with the latest standards, update the package:

```bash
pnpm update @moo-api/standards
```

---

## 📄 License

MIT © Moo API