karanja1victor-longest

0.1.0 • Public • Published

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"

👍

Readme

Keywords

Package Sidebar

Install

npm i karanja1victor-longest

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

3.04 kB

Total Files

4

Last publish

Collaborators

  • karanja1victor