{"id":34365367,"url":"https://github.com/words/wordnet","last_synced_at":"2026-04-07T17:31:07.009Z","repository":{"id":11627237,"uuid":"14127219","full_name":"words/wordnet","owner":"words","description":"Node module wrapper for WordNet dictionary.","archived":false,"fork":false,"pushed_at":"2022-02-11T04:51:04.000Z","size":8353,"stargazers_count":53,"open_issues_count":3,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-12-21T13:51:32.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/words.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-04T23:53:12.000Z","updated_at":"2025-08-30T14:01:54.000Z","dependencies_parsed_at":"2022-09-06T23:30:47.982Z","dependency_job_id":null,"html_url":"https://github.com/words/wordnet","commit_stats":null,"previous_names":["dariuszdziuk/wordnet"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/words/wordnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/words%2Fwordnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/words%2Fwordnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/words%2Fwordnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/words%2Fwordnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/words","download_url":"https://codeload.github.com/words/wordnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/words%2Fwordnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31522195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-18T07:09:38.529Z","updated_at":"2026-04-07T17:31:06.982Z","avatar_url":"https://github.com/words.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# WordNet.js\n\nSimple Node.js module for accessing [Princeton University's WordNet](http://wordnet.princeton.edu/) dictionary.\n\n# Installation\n\n    $ npm install wordnet\n\n# Usage\n\n    const wordnet = require('wordnet');\n\n    // (Required) Load the WordNet database.\n    await wordnet.init();\n\n    // List all available words.\n    let list = await wordnet.list();\n\n    // All methods return promises.\n    wordnet.lookup('enlightened')\n      .then((definitions) =\u003e {\n        definitions.forEach((def) =\u003e {\n          console.log(`type: ${def.meta.synsetType}`)\n          console.log(`${def.glossary}\\n`);\n        });\n      })\n      .catch((e) =\u003e {\n        console.error(e);\n      });\n\nCheck out the [examples folder](examples) for more.\n\n\n# API\n\n### `wordnet.init([database_dir])`\n\nLoads the WordNet database. Takes an optional folder path (as a `String`).\n\n### `wordnet.lookup(word, [skipPointers])`\n\nReturns definitions (metadata and glossary) for the given word. The definitions include pointers to related words, which can be omitted by passing `skipPointers = true`.\n\n### `wordnet.list()`\n\nLists all available words in the WordNet database. If called before `wordnet.init()` finishes, it will return an empty array.\n\n\n# License\n\nMIT License\n\n\n# 3rd-party License\n\n[Princeton University's WordNet License](http://wordnet.princeton.edu/wordnet/license/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwords%2Fwordnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwords%2Fwordnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwords%2Fwordnet/lists"}