{"id":17959484,"url":"https://github.com/ecrmnn/wit-keywords","last_synced_at":"2025-06-11T17:03:49.368Z","repository":{"id":57398366,"uuid":"82975218","full_name":"ecrmnn/wit-keywords","owner":"ecrmnn","description":"Mass push values to keyword based entities on Wit.ai","archived":false,"fork":false,"pushed_at":"2017-02-23T21:59:21.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T11:25:57.110Z","etag":null,"topics":["concurrency","entities","massively-parallel","nlp","wit","wit-api","witai"],"latest_commit_sha":null,"homepage":"https://npmjs.com/wit-keywords","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecrmnn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-23T21:53:50.000Z","updated_at":"2017-02-23T22:02:48.000Z","dependencies_parsed_at":"2022-08-29T17:01:23.177Z","dependency_job_id":null,"html_url":"https://github.com/ecrmnn/wit-keywords","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ecrmnn/wit-keywords","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fwit-keywords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fwit-keywords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fwit-keywords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fwit-keywords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecrmnn","download_url":"https://codeload.github.com/ecrmnn/wit-keywords/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecrmnn%2Fwit-keywords/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259301677,"owners_count":22836976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["concurrency","entities","massively-parallel","nlp","wit","wit-api","witai"],"created_at":"2024-10-29T11:03:25.026Z","updated_at":"2025-06-11T17:03:49.346Z","avatar_url":"https://github.com/ecrmnn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wit-keywords\n\u003e Mass push values to keyword based entities on Wit.ai\n\n[![Travis](https://img.shields.io/travis/ecrmnn/wit-keywords.svg?style=flat-square)](https://travis-ci.org/ecrmnn/wit-keywords.svg?branch=master)\n[![npm version](https://img.shields.io/npm/v/wit-keywords.svg?style=flat-square)](http://badge.fury.io/js/wit-keywords)\n[![npm downloads](https://img.shields.io/npm/dm/wit-keywords.svg?style=flat-square)](http://badge.fury.io/js/wit-keywords)\n[![npm license](https://img.shields.io/npm/l/wit-keywords.svg?style=flat-square)](http://badge.fury.io/js/wit-keywords)\n\n### Installation\n```bash\nnpm install wit-keywords --save\n```\n\n### Usage\nPush an array of actors to the actor entity\n```javascript\nconst keywords = require('wit-keywords');\n\nnew keywords(process.env.WIT_TOKEN)\n  .entity('actor')\n  .push([\n    'Leonardo DiCaprio',\n    'Steve Carell',\n    'Alec Baldwin',\n    'Micheal Cera'\n  ])\n  .then(response =\u003e console.log(response))\n  .catch(err =\u003e console.log(err));\n\n//=\u003e [{\n//=\u003e   value: 'Leonardo DiCaprio',\n//=\u003e   status: 'added'\n//=\u003e }, {}, {}, {}]\n```\n\nTrigger a function ``after`` each pushed item\n```javascript\nconst keywords = require('wit-keywords');\n\nnew keywords(process.env.WIT_TOKEN)\n .entity('actor')\n .after(actor =\u003e {\n   // Do something\n })\n .push([\n   'Leonardo DiCaprio',\n   'Steve Carell',\n   'Alec Baldwin',\n   'Micheal Cera'\n ]);\n```\n\nTrigger a function ``after`` each pushed item\n```javascript\nconst keywords = require('wit-keywords');\n\nnew keywords(process.env.WIT_TOKEN)\n  .entity('actor')\n  .after(actor =\u003e {\n    // Do something\n  })\n  .push([\n    'Leonardo DiCaprio',\n    'Steve Carell',\n    'Alec Baldwin',\n    'Micheal Cera'\n  ]);\n```\n\nSet custom number of parallel requests (``concurrency``)\n```javascript\nconst keywords = require('wit-keywords');\n\nnew keywords(process.env.WIT_TOKEN)\n  .concurrency(4) // Default = 3\n  .entity('actor')\n  .after(actor =\u003e {\n    // Do something\n  })\n  .push([\n    'Leonardo DiCaprio',\n    'Steve Carell',\n    'Alec Baldwin',\n    'Micheal Cera'\n  ]);\n```\n\n### License\nMIT © [Daniel Eckermann](http://danieleckermann.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecrmnn%2Fwit-keywords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecrmnn%2Fwit-keywords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecrmnn%2Fwit-keywords/lists"}