New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-multilanguage-quotes

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-multilanguage-quotes

Get a random quote and translate it using any language

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

node-multilanguage-quotes

Generate a random quote in any specified language in a promise based manner

getQuote('fr').then( res => {
    console.log(res)}
    //Des mots gentils vont déverrouiller une porte en fer.
    )
.catch(err => {
    console.log(err)}
    );

The language in which the quote is translated must be one of the codes/names contained in languages.js..

Getting started

To use it in node.js first install by:

npm install node-multilanguage-quotes --save

Then import it:

const getQuote = require('node-multilanguage-quotes');

Keywords

Quotes

FAQs

Package last updated on 28 Jan 2019

Did you know?

Socket

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.

Install

Related posts