@plexis/to-pred

0.0.22 • Public • Published

@plexis/toPred

Converts a string to its equivalent predecessor.

Installation npm i @plexis/to-pred

Usage

import toPred from '@plexis/to-pred';

toPred('b'); // returns 'a'
toPred('B'); // returns 'A'
toPred('BCD'); // returns 'ABC'

Aliases

import {toPred} from 'plexis';
import {toPredecessor} from 'plexis';

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.222latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.222
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60

Package Sidebar

Install

npm i @plexis/to-pred

Weekly Downloads

2

Version

0.0.22

License

MIT

Unpacked Size

3.24 kB

Total Files

6

Last publish

Collaborators

  • vorillaz