npm.io
1.0.1 • Published 5 years ago

next-incremented-string

Licence
ISC
Version
1.0.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0

next-incremented-string

Avoid having to create random string ids, by having them incremented in the similar way of how numbers are.

instalation

# Using npm
npm install next-incremented-string

# Using Yarn
yarn add next-incremented-string

how to use it

import { incrementString } from 'next-incremented-string';

const nextString = incrementString("AAA");
console.log(nextString);
//AAB