# soundrecorder

> A web sound recorder base on h5 api

Latest version **0.1.0** (published 2022-01-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install soundrecorder
pnpm add soundrecorder
yarn add soundrecorder
bun add soundrecorder
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-01-28 |
| First published | 2019-06-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 54.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | ldlh615 |
| Maintainers | ldlh615 |
| Keywords | audio, record, mediastream, mediarecorder |

## Links

- npm: https://www.npmjs.com/package/soundrecorder
- Repository: https://github.com/ldlh615/SoundRecorder
- Homepage: https://github.com/ldlh615/SoundRecorder#readme
- Issues: https://github.com/ldlh615/SoundRecorder/issues
- npm.io page: https://npm.io/package/soundrecorder

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2022-01-28
- 0.0.3 — 2019-06-22
- 0.0.2 — 2019-06-16
- 0.0.1 — 2019-06-15

## README

# SoundRecorder

SoundRecorder is a website sound recorder SDK base on h5 api.

- **Sdk-based** Base on some h5 api, such as mediaStream, mediaRecorder, audioContext
- **browser supprot:** It just build for PC website record, this sdk is unsupport for h5

## Installation

SoundRecorder is build by umd mode, you can use it with cdn or import in your project.

**CDN**

```
<script src="https://cdn.jsdelivr.net/npm/soundrecorder"></script>
```

**NPM**

```
$ npm install soundrecorder
```

## Usage

only 3 step to start the recorder and get the mieda file:

```
// 1. new instance the recorder
const recorder = new Soundrecorder();

// 2. start record
recorder.start()

// 3. stop record
recorder.stop().then((file) => {
  console.log('get the media file:', file)
})
```

---
_Source: https://npm.io/package/soundrecorder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
