1.0.0 • Published 6 years ago

poem-finder v1.0.0

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
6 years ago

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.

1.0.0

6 years ago