# @feizheng/next-file-to-base64

> File to base64 based on FileReader for next.

Latest version **1.1.1** (published 2020-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @feizheng/next-file-to-base64
pnpm add @feizheng/next-file-to-base64
yarn add @feizheng/next-file-to-base64
bun add @feizheng/next-file-to-base64
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-02-17 |
| First published | 2020-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | afeiship |

## Links

- npm: https://www.npmjs.com/package/@feizheng/next-file-to-base64
- Homepage: https://github.com/afeiship/next-file-to-base64
- npm.io page: https://npm.io/package/@feizheng/next-file-to-base64

## Dependencies (1)

- [@feizheng/next-js-core2](https://npm.io/package/@feizheng/next-js-core2.md) ^2.4.1

## Recent versions

- 1.1.1 (latest) — 2020-02-17
- 1.1.0 — 2020-02-17
- 1.0.0 — 2020-02-17

## README

# next-file-to-base64
> File to base64 based on FileReader for next.

## installation
```bash
npm install -S @feizheng/next-file-to-base64
```

## usage
```js
import '@feizheng/next-file-to-base64';

nx.fileToBase64(inFile).then((base64)=>{
  console.log(base64);
});
```

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