1.0.4 • Published 1 year ago

memes-api v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Coverage Status

Github Builds

Vulnerabilities

Downloads

Open Issues

License

Memes-Api

Get random memes from reddit for free without any tokens or keys.

Installation

npm install memes-package
# or using yarn
yarn install memes-package

Usage/Examples:

const { getMeme } = require("memes-api");
// OR using ES modules
import { getMeme } from "memes-api";

// here sfw means 'Save for work' which means no sexual content.
// if sfw == true, then there is not going to be any sexual content.
// if sfw == false, then there could be some sexual content.
const meme = await getMeme({ sfw: true });

Contributing

Contributions are always welcome!

Open a (pull request)https://github.com/MDxWARRIORxOP/memes-package/pulls if you have a feature request or an idea. Open an (issue)https://github.com/MDxWARRIORxOP/memes-package/issues if you encounter any bugs.

Thanks!

License

MIT License

Copyright (c) 2023 kingerious

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.