# is-ascii

> Test if a string is 100% ascii

Latest version **1.0.0** (published 2016-01-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-ascii
pnpm add is-ascii
yarn add is-ascii
bun add is-ascii
```

## 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.0.0 |
| Published | 2016-01-06 |
| First published | 2016-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Ari Porad |
| Maintainers | ariporad |
| Keywords | ascii, string, utf8 |

## Links

- npm: https://www.npmjs.com/package/is-ascii
- Repository: https://github.com/ariporad/is-ascii
- Homepage: https://github.com/ariporad/is-ascii#readme
- Issues: https://github.com/ariporad/is-ascii/issues
- npm.io page: https://npm.io/package/is-ascii

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-01-06

## README

# isAscii
---
Test if a string is 100% ascii.

[![npm version](https://img.shields.io/npm/v/is-ascii.svg)](http://npm.im/is-ascii)
[![Build Status](https://travis-ci.org/ariporad/is-ascii.svg)](https://travis-ci.org/ariporad/is-ascii)
[![License: MIT](https://img.shields.io/npm/l/is-ascii.svg)](http://ariporad.mit-license.org)

---

## Why

I needed to see if a string was 100% ascii.

---

## Usage

```javascript
import isAscii from 'is-ascii';

isAscii('foo bar baz !?!!!!???? @#$%^&*(){}[]\|-_+=`~'); // true
isAscii('💩💩💩‽‽‽'); // false
```

---

## License

MIT: [http://ariporad.mit-license.org](http://ariporad.mit-license.org).

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