# ascii-fullwidth-halfwidth-convert

> Convert ASCII to their full-width form and back.

Latest version **0.1.1** (published 2017-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install ascii-fullwidth-halfwidth-convert
pnpm add ascii-fullwidth-halfwidth-convert
yarn add ascii-fullwidth-halfwidth-convert
bun add ascii-fullwidth-halfwidth-convert
```

## 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.1 |
| Published | 2017-11-18 |
| First published | 2017-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Sampath Sitinamaluwa |
| Maintainers | sampathsris |
| Keywords | full-width, half-width, converter, ascii |

## Links

- npm: https://www.npmjs.com/package/ascii-fullwidth-halfwidth-convert
- Repository: https://github.com/sampathsris/ascii-fullwidth-halfwidth-convert
- Homepage: https://github.com/sampathsris/ascii-fullwidth-halfwidth-convert#readme
- Issues: https://github.com/sampathsris/ascii-fullwidth-halfwidth-convert/issues
- npm.io page: https://npm.io/package/ascii-fullwidth-halfwidth-convert

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2017-11-18
- 0.1.0 — 2017-11-17

## README

# ascii-fullwidth-halfwidth-convert

Coverts ASCII characters in the range `\u0021`-`\u007E` to their equivalent full-width form (`\uFF01`-`\uFF5E`), and vice versa. Also converts between the ASCII space `\u0020` and Ideographic Space `\u3000`.

## Install

```
$ npm install ascii-fullwidth-halfwidth-convert
```

## Usage

```
const AFHConvert = require('ascii-fullwidth-halfwidth-convert');
const converter = new AFHConvert();
const str = 'THE ｑｕｉｃｋ， ＢＲＯＷＮ\u3000fox.';

converter.toFullWidth(str);
//=> 'ＴＨＥ　ｑｕｉｃｋ，　ＢＲＯＷＮ　ｆｏｘ．'

converter.toHalfWidth(str);
//=> 'THE quick, BROWN fox.'
```

## License

MIT © Sampath Sitinamaluwa

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