0.1.0 • Published 5 years ago

karanja1victor-longest v0.1.0

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

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: