open-index/open-npm huggingface dataset:
npm package: @structured-types/instant-documentation-plugin
Description: Typescript playground plugin to display instant documentation.
Author: Atanas Stoyanov
Latest version: 3.46.12

## Playground Instant Documentation

A TypeScript playground plugin which shows instant documentation for exported symbols in typescript, jsdoc and react files.

![./instant-docs.jpg](https://github.com/ccontrols/structured-types/raw/master/packages/instant-documentation-plugin/instant-docs.jpg)

## Running this plugin

- [Click this link](https://www.typescriptlang.org/play?install-plugin=@structured-types/instant-documentation-plugin) to install

or

- Open up the TypeScript Playground
- Go the "Plugins" in the sidebar
- Look for "Plugins from npm"
- Add "@structured-types/instant-documentation-plugin"
- Reload the browser

Then it will show up as a tab in the sidebar.

```sh
git clone https://github.com/ccontrols/structured-types
yarn install
cd packages/instant-documentation-plugin
yarn start
```

Then tick the box for starting plugin development inside the TypeScript Playground.

## Example

To start quickly copy/paste the following example in the typescript playground code editor, the click Extract:

```ts
import React, { FC } from 'react';
/**
 * MyComponent properties.
 */
type OwnProps = {
  /** stringProp description */
  stringProp?: string;

  /** numberProp description */
  numberProp: number;
  person?: {
    address: {
      street: string;
      zip: string;
      city: string;
    };
    age: number;
  };
};

/**
 * MyComponent special component
 */
export const MyComponent: FC<OwnProps> = ({ stringProp }) => (
  <div>{stringProp}</div>
);

MyComponent.defaultProps = {
  stringProp: 'test',
};
```

## VScode plugin

You can also check the VSCode [instant documentation](https://github.com/ccontrols/instant-documentation-vscode) plugin. It can document types across multiple files, and also jump to the definition of a property.
npm package: @structured-types/playground-plugin
Description: Typescript playground plugin to display the types from source code.
Author: Atanas Stoyanov
Latest version: 3.46.12

## Playground Structured Types

A TypeScript playground plugin which shows the type information for the current file.

![./react-types.jpg](https://github.com/ccontrols/structured-types/raw/master/packages/ts-playground-plugin/react-types.jpg)

## Running this plugin

- [Click this link](https://www.typescriptlang.org/play?install-plugin=@structured-types/playground-plugin) to install

or

- Open up the TypeScript Playground
- Go the "Plugins" in the sidebar
- Look for "Plugins from npm"
- Add "@structured-types/playground-plugin"
- Reload the browser

Then it will show up as a tab in the sidebar.

```sh
git clone https://github.com/ccontrols/structured-types
yarn install
cd packages/instant-documentation-plugin
yarn start
```

Then tick the box for starting plugin development inside the TypeScript Playground.
npm package: @structured/binary-tree
Description: A simple binary tree and so much more.
Latest version: 1.2.2

# `@structured/binary-tree`

A simple binary tree and so much more.

## Installation

```
yarn add @structured/binary-tree
```

## Usage

```javascript
import { singleLeft } from '@structured/binary-tree';

let root = {
  data: 'a',
  right: {
    data: 'b',
    right: {
      data: 'c',
    },
  },
}

// Balance the tree with a left rotation!
root = singleLeft(root)
// {
//   data: 'b',
//   left: { data: 'a' },
//   right: { data: 'c' },
// }
```
npm package: @structured/iterable
Description: Tools for iterable objects
Latest version: 1.1.2

# `@structured/itertable`

The python language (both python core and the `itertools` module) have great
support for dealing with iterators and iterables. Sometimes the same
functionality would be nice to have in javascript and typescript.

This package implements some of those useful iterator-related functions in
typescript, so that you can get the same great readability as a python program,
all while keeping that juicy static-type safety.

## Installation

```bash
yarn add @structured/itertable
```

## API

Check out [the docs](http://shlappas.com/itertools.js/modules.html)! *Created
with [typedoc](https://github.com/TypeStrong/typedoc)*

## Examples

### `zip`; Strongly Typed and Versatile

```ts
import { zip, repeat, count } from '@structured/itertable'

for (const [c, n] of zip('Hello', repeat(2))) {
  // c is type string
  // n is type number
  console.log(c.repeat(n)) // No compilation errors!
}

for (const [i, c, n] of zip(count(0), 'Hello', repeat(2))) {
  // i is type number
  // c is type string
  // n is type number
  console.log(i * i, c.repeat(n))
}
```

### Strong Tuple types

```ts
import { combinations, range } from '@structured/itertable'

for (const combo of combinations(range(5), 100)) {
  console.log(Math.pow(...combo)) // Error: "Expected 2 arguments, but got 100."
}

for (const combo of combinations(range(5), 2)) {
  console.log(Math.pow(...combo)) // no error
}
```

### Reliably typed `map`

The argument types are inferred from the passed `mapper` function.

```ts
import { map, range, repeat } from '@structured/itertable'

// Error: "`map` Expected 3 arguments, but got 2."
for (const v of map(Math.pow, range(10, 5, -1))) {
  console.log(v)
}

// No error
for (const v of map(Math.pow, range(10, 5, -1), repeat(2))) {
  console.log(v)
}

// Error: "`map` Expected 2 arguments, but got 3."
for (const s of map((n) => "a".repeat(n), range(5), repeat(4))) {
  console.log(s)
}
```
npm package: @structured/weight-balanced-tree
Description: An immutable weight balanced tree implementation.
Latest version: 1.4.3

# `@structured/weight-balanced-tree`

An immutable weight balanced tree implementation. A weight-balanced tree is a
self-balancing binary search tree.

[Weight balancing](https://en.wikipedia.org/wiki/Weight-balanced_tree) is a way
of implementing a self-balancing binary search tree. Binary search trrees have
many applications; for example, sorted implementations of dynamic lists and
sets. 

## Installation

```
yarn add @structured/weight-balanced-tree
```
npm package: @structuredparser/sdk
Description: The Structured Parser JS/TS SDK allows developers to easily integrate Structured Parser's advanced structured data extraction capabilities from unstructured documents such as PDF, DOCX, XLSX.
Latest version: 1.0.2

# Structured Parser SDK for JS, TS & Node

Structured Parser is a platform that allows you to parse structured data from unstructured documents (e.g., PDF, DOCX, XLSX, CSV). This is the official SDK for JavaScript, TypeScript, and Node.js.

## Installation

```bash
npm install @structuredparser/sdk
```

## Usage

```typescript
import { StructuredParser } from '@structuredparser/sdk';

const parser = new StructuredParser({ apiKey: process.env.STRUCTURED_PARSER_API_KEY })

const job = await parser.start.fromUrl("https://example.com/candidate-resumes/mark-zuckerberg-cv.pdf")
```

*This SDK is a work in progress.*