@overrideveloper/adjectiver
v1.1.1
Published
An npm package that returns adjectives that begin with input letter of first letter of input.
Downloads
3
Maintainers
Readme
@overrideveloper/adjectiver
Returns adjectives that begin with first character of input.
Install
$ npm install @overrideveloper/adjectiver --save
Usage
const adjectiver = require("@overrideveloper/adjectiver");
adjectiver.getAdjectives(3, "Tolu");
//=> [ 'Textual', 'Tensionless', 'Textile' ]
adjectiver.getAdjective("Korede");
//=> "Kindest"
adjectiver.getAdjectives("Korede", 3);
//=> Uncaught TypeError: parameter 'count' should be a number
adjectiver.getAdjectives(3, 5);
//=> Uncaught TypeError: parameter 'noun' should be a string
adjectiver.getAdjective(3);
//=> Uncaught TypeError: parameter 'noun' should be a string