It uses Oxford Dictionary API.
npm install
In the same folder of package.json you need a config.js like this
const credentials = {
id : '********',
key : '******************'
}
module.exports = credentials;
- If you dont have an KEY You can get an one here: https://developer.oxforddictionaries.com/
npm run deploy
It might ask for super user permission, if so please use sudo npm run deploy
word-definition -w happy
word-definition --word happy
word-definition --help
Happy search 😎