poem-finder

1.0.0 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i poem-finder

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ehab_khaireldin