@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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.22
    0
    • latest

Version History

Package Sidebar

Install

npm i @plexis/to-pred

Weekly Downloads

0

Version

0.0.22

License

MIT

Unpacked Size

3.24 kB

Total Files

6

Last publish

Collaborators

  • vorillaz