# to-utf8

> single-function form of node's Buffer.toString(utf8)

Latest version **0.0.2** (published 2014-04-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install to-utf8
pnpm add to-utf8
yarn add to-utf8
bun add to-utf8
```

## 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.0.2 |
| Published | 2014-04-30 |
| First published | 2013-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Chris Dickinson |
| Maintainers | chrisdickinson |
| Keywords | utf8, buffer |

## Links

- npm: https://www.npmjs.com/package/to-utf8
- Repository: https://github.com/chrisdickinson/to-utf8
- Issues: https://github.com/chrisdickinson/to-utf8/issues
- npm.io page: https://npm.io/package/to-utf8

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2014-04-30
- 0.0.1 — 2013-03-01

## README

# to-utf8

given an integer-indexable input iterable, produce a utf8 string.

[![Build Status](https://travis-ci.org/chrisdickinson/to-utf8.png)](https://travis-ci.org/chrisdickinson/to-utf8)
[![browser support](http://ci.testling.com/chrisdickinson/to-utf8.png)](http://ci.testling.com/chrisdickinson/to-utf8)

```javascript
  var utf8 = require('to-utf8')

  var buf = new Buffer('淾淾淾 hello world 淾淾 yep ƒuu 淾', 'utf8')
  assert.equal(utf8(buf), buf.toString('utf8'))
```

## api

#### utf8(iterable[, byteStart][, byteEnd]) -> string

take an iterable of bytes (`0...0xFF`) and produce an utf8 string.

# license

MIT

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