Poem Finder
What is it?
A simple npm module which you can use to search for and retrieve poems about a subject that you define in a JavaScript Promise
Install
$ npm install --save poem-finder
Example usage
const Poems = require('poem-finder')
// Search for poems containing the keyword "Rome", return an array of 15 poems max
Poems.search("Rome", 15)
.then((result) => {
console.log(result);
}).catch((err) => {
console.log(err);
})
Author
License
This project is licensed under the MIT License.