open-index/open-npm huggingface dataset:
npm package: @mymonorepo/utils
Description: [![NPM version](https://img.shields.io/npm/v/@mymonorepo/utils.svg?style=flat)](https://npmjs.org/package/@mymonorepo/utils) [![NPM downloads](http://img.shields.io/npm/dm/@mymonorepo/utils.svg?style=flat)](https://npmjs.org/package/@mymonorepo/utils)
Latest version: 2.0.2

# @mymonorepo/utils

[![NPM version](https://img.shields.io/npm/v/@mymonorepo/utils.svg?style=flat)](https://npmjs.org/package/@mymonorepo/utils)
[![NPM downloads](http://img.shields.io/npm/dm/@mymonorepo/utils.svg?style=flat)](https://npmjs.org/package/@mymonorepo/utils)

## Install

```bash
$ pnpm install
```

```bash
$ npm run dev
$ npm run build
```

## Options

TODO

## LICENSE

MIT
npm package: @mymoons/mattermost-notifications-2
Description: ## Usage
Latest version: 0.0.2

# Mattermost Notifications 2

## Usage

```javascript
/**
 * sendNotification sends a notification to the desired destination with the specified content
 * @param {Object} obj Object containing data
 * @param {String} obj.text Content of the message
 * @param {String} obj.to Recipient of the message, can be a channel or a user if preceded by @
 * @param {String} obj.username Username the message is sent by
 * @param {...Object} obj.props Any acceptable prop that mattermost can use
 * @param {String} endpoint endpoint token
 * @param {String} mattermostURL optional mattermost urls
 * @returns {Object} Response from mattermost API
 */
const sendNotification = async ({text, channel, username = 'Apolo de moons', ...props}, endpoint,mattermostURL) => {}
```
npm package: @mymusictaste/async-audiorecorder
Description: node-audiorecorder with async/await & typescript support
Author: Jinhyeok Lee
Latest version: 0.1.1

# @mymusictaste/async-audiorecorder

## Requirements

- Node.js version 16 or later
- sox or arecord installed and available
  - To install sox on macOS, run `brew install sox`
  - For Windows, please search the web for installation instructions.

## What is @mymusictaste/async-audiorecorder?

- This package extends the `node-audiorecorder` module with an awaitable promise.
- It inherits the same caveats as `node-audiorecorder`: it requires `sox`, `rec`, or `arecord` to be installed.
- It automatically injects sensible defaults for the program and audio driver based on the platform (Windows, macOS, or Linux).
- It adds a function to list available audio devices (best effort only!).
  - Uses `rec` on macOS and Windows, and `arecord` on Linux.
  - On Linux, it returns in `plughw:` format. You can replace it with `hw:` on the fly if necessary.
- Please let me know if it doesn't work on your system.

## Why use @mymusictaste/async-audiorecorder?

- `node-audiorecorder` was good enough, but this package provides an await and TypeScript-friendly version of it.
- You can easily await for `recorder.promise()` to get the audio buffer reliably.

## Example usage

```ts
import AudioRecorder from "@mymusictaste/async-audiorecorder";

// ...
const list = await AudioRecorder.availableDevices(); // Returns { device: string, label: string }. Use `device`!
const buffer = await recorder.promise();
```