karanja1victor-longest
v0.1.0
Published
longest word detector
Downloads
3
Readme
LongestWord object (with longest word checker)
This is a sample NPM module created in Learn Enough Javascript to be Dangerous by Victor Karanja.
The module can be used as follows:
$ npm install --global karanja1victor-longest
$ vim test.js
let LongestWord = require("karanja1victor-palindrome");
let napoleonsLament = new LongestWord("Able was I, ere I saw Elba.");
console.log(napoleonsLament.longest());
$ node test.js
"Able"
:+1: