1.1.8 • Published 6 months ago

orc-me v1.1.8

Weekly downloads
4
License
MIT
Repository
github
Last release
6 months ago

orc-me

  • 👹 NPM package to generate random orc names
  • See examples below

Install NPM

$ npm i orc-me

Usage

  • Returns a string containing a random orc name

Examples

const orcMe = require('orc-me');

function capitalizeFirstLetter(string) {
    return string.charAt(0).toUpperCase() + string.slice(1);
};

const orcThreeNames = capitalizeFirstLetter(orcMe()) + ' ' + capitalizeFirstLetter(orcMe()) + ' ' + capitalizeFirstLetter(orcMe());
const orcTwoNames = capitalizeFirstLetter(orcMe()) + ' ' + capitalizeFirstLetter(orcMe());

console.log('Orc battle started!');
console.log(orcThreeNames + '    ⚔️     ' + orcTwoNames);

Result of the example above

1.1.8

6 months ago

1.1.7

7 months ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.1

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago