# text-to-db64

> ``` npm install text-to-db64 ``` #### to use it ``` // 目前做了Helvetica, yahei两种字体的垂直居中调整 // defaultConfig var config = { width: 80, height: 80, bgColor: '#000', color: '#fff', fontSize: 30, fontFamily: 'Helvetica',

Latest version **0.0.6** (published 2019-07-11) · MIT license · 0 weekly downloads

## Install

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

## 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.6 |
| Published | 2019-07-11 |
| First published | 2019-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | conquering3 |
| Maintainers | conquering3 |
| Keywords | canvas, database64, image, text |

## Links

- npm: https://www.npmjs.com/package/text-to-db64
- npm.io page: https://npm.io/package/text-to-db64

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2019-07-11
- 0.0.5 — 2019-07-10
- 0.0.4 — 2019-07-10
- 0.0.3 — 2019-07-10
- 0.0.2 — 2019-07-10
- 0.0.1 — 2019-07-10

## README

#text to database64

#### install lib
```
npm install text-to-db64
```
#### to use it
```
// 目前做了Helvetica, yahei两种字体的垂直居中调整
// defaultConfig
var config = {
    width: 80,
    height: 80,
    bgColor: '#000',
    color: '#fff',
    fontSize: 30,
    fontFamily: 'Helvetica',
    text: 'text'
};

var database64 = textToDatabase(config);
```

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