UNPKG
wordnet
Version:
latest (2.0.0)
2.0.0
0.1.2
0.1.1
0.1.0
English-English dictionary with 140k+ words from WordNet.
github.com/words/wordnet
words/wordnet
wordnet
/
examples
/
list.js
11 lines
(7 loc)
•
219 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
util =
require
(
'util'
);
const
wordnet =
require
(
'../lib/wordnet.js'
); (
async
() => {
await
wordnet.
init
();
let
results =
await
wordnet.
list
();
console
.
log
(util.
inspect
(results,
false
,
null
,
true
)); })();