alphabet-running-code
v1.0.7
Published
Generates Next Alphabetical Code starting from A to Z
Downloads
2
Maintainers
Readme
Generates Next Alphabet Code
[![NPM Version][npm-version-image]][npm-url] [![NPM Install Size][npm-install-size-image]][npm-install-size-url] [![NPM Downloads][npm-downloads-image]][npm-downloads-url]
const codeGen = require('alphabet-running-code');
const nextCode = codeGen.getNextCode("ABCD");
console.log("Next code", nextCode);
import { getNextCode, getNextCodeWithDecoration } from 'alphabet-running-code';
const nextCode = getNextCode("ABCD");
console.log("Next code", nextCode);
const nextCoded = getNextCodeWithDecoration("ABCD", "(", ")");
console.log("Next code", nextCoded);
Installation
Installation is done using the
npm install
command:
$ npm install alphabet-running-code
Features
- Generate Next Alphabetic Sequence, say: AAA => AAB
- Generate Next Alphabetic Sequence with prefix and suffixß