node-multilanguage-quotes
Get a random quote and translate it using any language
Last updated a year ago by ragy96 .
MIT · Original npm · Tarball · package.json
$ cnpm install node-multilanguage-quotes 
SYNC missed versions from official npm registry.

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');

Current Tags

  • 1.0.2                                ...           latest (a year ago)

3 Versions

  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |