open-index/open-npm huggingface dataset:
npm package: @gabaraujo/seed-npm-package
Description: This is a sample on how to create an NPM package using TypeScript source.
Latest version: 0.4.5

# Sample NPM Package in TypeScript

This is a sample on how to create an NPM package using TypeScript source.

## Installation

1. Install TypeScript

```bash
npm install typescript
```

2. Install this package

```bash
npm install @ejgallo/seed-npm-package@latest
```

## Usage

```typescript
import * as samplePackage from "@ejgallo/seed-npm-package";

// returns 'Hello, John Doe.'
samplePackage.helloWorld({ first: "John", last: "Doe" });
```

OR

```typescript
import { helloWorld } from "@ejgallo/seed-npm-package";

// returns 'Hello, John Doe.'
helloWorld({ first: "John", last: "Doe" });
```

## Contributing

1. Clone the Git Repository
2. Create a new branch
3. Install package dependencies:

```bash
npm install
```

4. Make desired changes
5. **Test your changes prior to publishing.**
6. **Please make sure to update tests as appropriate.**
7. Issue a new version command using the [NPM semantic versioning](https://docs.npmjs.com/about-semantic-versioning):

```bash
# Values can be major, minor or patch
npm version patch
```

> Note: This will automatically create a git commit with the **new version tag** for easier tracking in the source control system. 8. Publish new version to the NPM Repository:

```bash
npm publish
```

> Note: This command will first run "tsc" (to compile TypeScript into JavaScript) and then publish the package. This is thanks to the `"prepack": "tsc"` line in package.json. **Do not** remove that from the configuration. 9. Go to the NPM Repository and check if new version is available. 10. Have fun!

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @gabbah/pklib
Description: ``` npm install ```
Latest version: 0.1.2

# my-shared-lib

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your tests
```
npm run test
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
npm package: @gabber/client
Description: Framework‑agnostic client for browsers/Node.
Latest version: 0.1.0-alpha19

# Gabber JavaScript SDK

Framework‑agnostic client for browsers/Node.

## Install

```bash
npm install @gabber/client
```

## Quickstart

```ts
import { Engine } from '@gabber/client'

const engine = new Engine()
await engine.connect({ url: 'your-gabber-url', token: 'your-token' })

const mic = await engine.getLocalTrack({ type: 'microphone' })
await engine.publishToNode({ localTrack: mic, publishNodeId: 'node-id' })

await engine.subscribeToNode({ outputNodeId: 'output-node-id' })
```

More examples: ./example
npm package: @gabber/client-react
Description: Hooks and provider for React apps.
Latest version: 0.1.0-alpha21

# Gabber React SDK

Hooks and provider for React apps.

## Install

```bash
npm install @gabber/client-react
```

## Quickstart

```tsx
import { EngineProvider, useEngine } from '@gabber/client-react'

export function App() {
  return (
    <EngineProvider>
      <Main />
    </EngineProvider>
  )
}

function Main() {
  const { connect, connectionState } = useEngine()

  useEffect(() => {
    connect({ url: 'your-gabber-url', token: 'your-token' })
  }, [connect])

  return <div>State: {connectionState}</div>
}
```

See `src/` for hooks like `usePad`, `usePropertyPad`, `useSourcePad`.