3.0.2 • Published 8 years ago
pons.js v3.0.2
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 exactWordFIXED. Do not use them currenty.
Built With
- Love
- Love
- More love
Contributing
You're free to contribute of course!
Authors
- Ömer Yağmurlu - Creator - omeryagmurlu
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!