A Node Based Wiktionary Parser
Look up words on wiktionary.org in English, and return a well-structed json. (Other languages will be supported futher)
Welcome to star this project on GitHub.
Install
npm i wiktionary-node
Usage in Node
You can call wiktionary("someword") with an argument with some word, and it will return a promise.
Traditional Promise
const wiktionary = ;
Async Function
const wiktionary = ; const main = asyncword try const define = await ; catch error {}
Result
The result is like this
Dependencies
-
cheerio: Tiny, fast, and elegant implementation of core jQuery designed specifically for the server
-
unirest: Simplified, lightweight HTTP client library
-
babel-runtime Babel selfContained runtime