pons.js

3.0.2 • Public • Published

PONS.js

PONS Wörterbuch for Node.js

Installing

npm install pons.js

Usage

const PONS = require('pons.js');

let Deutsch_English_Wörterbuch = new PONS({lang: ['de', 'en']});

Deutsch_English_Wörterbuch.translate('brennen', jsonTreeData => {
	console.dir(jsonTreeData, {depth: null});
});

Example Data

Rucksack (English - German) tree, list

Evolution (English - German) tree, list

brennen (English - German) tree, list

Kağıt (Turkish - German) tree

Amour (French - Chinese) tree

TODO

  • Finish nullitranslate method and fix exactWord [FIXED]. Do not use them currenty.

Built With

  • Love
  • Love
  • More love

Contributing

You're free to contribute of course!

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the ISC License - see the LICENSE.md file for details

Acknowledgments

  • Currently I am using jsdom with jquery to parse the response body, if you know a better, faster and not harder way to do it, please inform me through issues.
  • This API will be used in my first Telegram Bot, check it out!

Package Sidebar

Install

npm i pons.js

Weekly Downloads

0

Version

3.0.2

License

ISC

Last publish

Collaborators

  • omeryagmurlu