1.1.1 • Published 5 years ago

@overrideveloper/adjectiver v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@overrideveloper/adjectiver

npm version

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
N.B: These adjectives have not been filtered.