# is-any-letter

> A small module to detect letters by checking if it has a lowercase and uppercase version.

Latest version **1.1.3** (published 2017-06-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-any-letter
pnpm add is-any-letter
yarn add is-any-letter
bun add is-any-letter
```

## 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.3 |
| Published | 2017-06-02 |
| First published | 2017-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Damian Blume |
| Maintainers | dada1134 |
| Keywords | letter, international, string, is, char, character, check |

## Links

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

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2017-06-02
- 1.1.2 — 2017-05-30
- 1.1.0 — 2017-05-16
- 1.0.0 — 2017-05-14

## README

# is-any-letter

[![Greenkeeper badge](https://badges.greenkeeper.io/dada1134/letter.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/dada1134/letter.svg?branch=master)](https://travis-ci.org/dada1134/letter)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

[![NPM](https://nodei.co/npm/is-any-letter.png)](https://nodei.co/npm/is-any-letter/)

A small module to detect letters by checking if it has a lowercase and uppercase version.

## Installation

```
$ npm install is-any-letter --save
```

## Usage

In this module, a letter is any character that has an uppercase and lowercase version, so some special characters that are only lowercase or uppercase will return false.

```javascript
const letter = require('is-any-letter')

// tests if a single charcter is a letter
letter.isLetter('A') // true

// tests if a string only contains a letter
letter.onlyLetters('Aβçdéfϱ') // true
```

### Adding allowed symbols or character

It's possible to add any symbol or character to the accepted ones by adding a string with allowed characters as second argument.

```javascript
letter.isLetter('*', '*_-()') // true
letter.onlyLetters('A-β*ç_d(éf)ϱ', '*_-()') // true
```



## Test

```
$ npm test
```

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