# to-text-string

> Convert Various Data Formats, including ArrayBuffer and Buffer, to a Text String. Works on NodeJS and very old browsers where FileReader doesn't exist.

Latest version **0.0.1** (published 2021-07-27) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install to-text-string
pnpm add to-text-string
yarn add to-text-string
bun add to-text-string
```

## 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.1 |
| Published | 2021-07-27 |
| First published | 2021-07-27 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Daniel J. Dufour |
| Maintainers | danieljdufour |
| Keywords | file, filereader, read, str, string, text, txt |

## Links

- npm: https://www.npmjs.com/package/to-text-string
- Repository: https://github.com/DanielJDufour/to-text-string
- Homepage: https://github.com/DanielJDufour/to-text-string#readme
- Issues: https://github.com/DanielJDufour/to-text-string/issues
- npm.io page: https://npm.io/package/to-text-string

## 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.0.1 (latest) — 2021-07-27

## README

# to-text-string
Convert Various Data Formats, including ArrayBuffer and Buffer, to a Text String.  Works on NodeJS  and very old browsers where FileReader doesn't exist.

# install
```bash
npm install to-text-string
```

# limitations
- only works on ASCII text

# usage
```js
const toTextString = require("to-text-string");

// data can be an array buffer, buffer, Uint8Array or string
const result = toTextString(data);
// result is "Hello, World."
```

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