dictionarys
v1.0.0
Published
find the meaning and uses of word in dictionary
Downloads
4
Maintainers
Readme
features:• no need apikey• full meaning output• largest database• all of words have an meaning data• fast and easy• readable output
installation
npm i dictionarys
calling a variable
const dictionary = require("dictionarys");
how to use?
dictionary.search("INPUT TEXT");
example:
dictionary.search("face").then(res => {
console.log(res);
});
take note
the result output is writtenas a object
also take note the partofspeech
is not written on object, it's a string, in other words they're connected
you can also use the await function
async function word () {
const res = await dictionary.search("face");
console.log(res);
}
word();