npm.io
1.0.0 • Published 8 years ago

poem-finder

Licence
MIT
Version
1.0.0
Deps
1
Vulns
1
Weekly
0

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

Ehab Khaireldin

License

This project is licensed under the MIT License.

Keywords