Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
anime-quotes-api
Advanced tools
An NPM package to fetch anime quotes from the website Less-Real
Less-Real has a database of more than 10,000 anime quotes which is crowd-sourced. Every time you fetch the API it will give a quote and the source of the quote at the same time, outputted in a JSON format.
var Quotes = require('anime-quotes-api');
(async function() {
var quote = new Quotes();
var get_quotes = await quote.quotes();
console.log(get_quotes);
})();
Which gives the following results (only 5 results at one time),
[
{ success: false, title: 'TV Quote #827', quote: '' },
{
success: true,
title: 'Kojirou Quote #2513',
quote: "Team Rocket may be dirty rotten criminals, but we're not in the business of destroying children's dreams! At least, not yet.- Kojirou (Pokémon)"
},
{
success: true,
title: 'Portgas D. Ace Quote #5435',
quote: "Old man, everyone!! And you.. Luffy. Even though I've been good for nothing my whole life, even though I have the blood of a demon within me... You guys still loved me! Thank you so much!!- Portgas D. Ace (One Piece)"
},
{
success: true,
title: 'Asakura Ryouko Quote #1325',
quote: "You think it's a joke? Huh. You don't want to die? You don't want me to kill you? I'm sorry, but I just don't understand the concept of death regarding organic lifeforms.- Asakura Ryouko (The Melancholy of Haruhi Suzumiya)"
},
{
success: true,
title: 'Haruhi Fujioka Quote #3608',
quote: 'I hate all these damn rich people.- Haruhi Fujioka (Ouran High School Host Club)'
}
]
Note: On some occasions the success on getting the quote may be false, don't be alarmed as it is an issue on Less-Reals end.
npm i anime-quotes-api --save
Add a pull request or raise an issue if you wish to contribute.
This project is licensed under GNU General Public License, See LICENSE for more information
FAQs
An API wrapper which fetches random anime quotes from Less-Real
The npm package anime-quotes-api receives a total of 10 weekly downloads. As such, anime-quotes-api popularity was classified as not popular.
We found that anime-quotes-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.