@overrideveloper/adjectiver

1.1.1 • Public • Published

@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.

Package Sidebar

Install

npm i @overrideveloper/adjectiver

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

76.6 kB

Total Files

6

Last publish

Collaborators

  • overrideveloper