# pystring

> string constants similar to python's string module

Latest version **1.0.3** (published 2021-12-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install pystring
pnpm add pystring
yarn add pystring
bun add pystring
```

## 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.3 |
| Published | 2021-12-05 |
| First published | 2021-12-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Juan Cruz Mateos |
| Maintainers | juancruzmateos |
| Keywords | string, constants, ascii, python |

## Links

- npm: https://www.npmjs.com/package/pystring
- npm.io page: https://npm.io/package/pystring

## 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.3 (latest) — 2021-12-05
- 1.0.2 — 2021-12-05
- 1.0.1 — 2021-12-04
- 1.0.0 — 2021-12-04

## README

# pystring

## js implementation of python's string module constants

### example usage
`const pystring = require('pystring');`

## String constants defined 

### pystring.ascii_lowercase
The lowercase letters 'abcdefghijklmnopqrstuvwxyz'.

### pystring.ascii_uppercase
The uppercase letters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.

### pystring.ascii_letters
The concatenation of the ascii_lowercase and ascii_uppercase constants.

### pystring.digits
The string '0123456789'.

### pystring.hexdigits
The string '0123456789abcdefABCDEF'.

### pystring.octdigits
The string '01234567'.

### pystring.punctuation
String of ASCII characters which are considered punctuation characters in the C locale: !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~.

### pystring.printable
String of ASCII characters which are considered printable. This is a combination of digits, ascii_letters, punctuation, and whitespace.

### pystring.whitespace
A string containing all ASCII characters that are considered whitespace. This includes the characters space, tab, linefeed, return, formfeed, and vertical tab.

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