1.2.0 • Published 5 months ago

orc-me v1.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 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.2.0

5 months ago

1.1.9

8 months ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.1

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago