{"id":26122935,"url":"https://github.com/clarifai/clarifai-javascript","last_synced_at":"2025-05-16T02:09:22.213Z","repository":{"id":57199432,"uuid":"59585303","full_name":"Clarifai/clarifai-javascript","owner":"Clarifai","description":"Official Clarifai JavaScript client for browsers and node.js ","archived":false,"fork":false,"pushed_at":"2024-10-10T15:29:59.000Z","size":1586,"stargazers_count":350,"open_issues_count":5,"forks_count":81,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-05-15T21:44:36.789Z","etag":null,"topics":["clarifai","clarifai-javascript","computer-vision","javascript","javascript-client","js-client","visual-search"],"latest_commit_sha":null,"homepage":"https://docs.clarifai.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Clarifai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-24T15:29:30.000Z","updated_at":"2025-05-02T07:07:43.000Z","dependencies_parsed_at":"2025-03-17T16:04:18.461Z","dependency_job_id":"9ddb9e2f-106d-4f24-b345-d34cdbcf8a5c","html_url":"https://github.com/Clarifai/clarifai-javascript","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clarifai%2Fclarifai-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clarifai","download_url":"https://codeload.github.com/Clarifai/clarifai-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254453667,"owners_count":22073618,"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":["clarifai","clarifai-javascript","computer-vision","javascript","javascript-client","js-client","visual-search"],"created_at":"2025-03-10T15:13:33.191Z","updated_at":"2025-05-16T02:09:22.163Z","avatar_url":"https://github.com/Clarifai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://github.com/user-attachments/assets/f440f534-7ff1-4189-8d07-38210810534f)\n\n# Deprecated\nFor node.js users, this API Client is no longer supported. \nPlease use https://github.com/Clarifai/clarifai-nodejs-grpc instead which is more feature rich, faster and supported. We will be introducing a new web grpc client shortly as well to fully deprecate this javascript client. Stay tuned.\n\n\n# Clarifai API JavaScript Client\n\nThis is the official JavaScript client for interacting with our powerful recognition \n[API](https://developer.clarifai.com). The Clarifai API offers image and video recognition as a service. Whether you \nhave one image or billions, you are only steps away from using artificial intelligence to recognize your visual content.\n\n* Try the Clarifai demo at: https://clarifai.com/demo\n* Sign up for a free account at: https://clarifai.com/developer/account/signup/\n* Read the developer guide at: https://clarifai.com/developer/guide/\n\n\n[![Build Status](https://travis-ci.org/Clarifai/clarifai-javascript.svg?branch=master)](https://travis-ci.org/Clarifai/clarifai-javascript)\n[![npm version](https://badge.fury.io/js/clarifai.svg)](https://badge.fury.io/js/clarifai)\n\n## Installation\nInstall the API client:\n```\nnpm install clarifai\n```\n\n## Basic Use\n\nFirstly, generate your Clarifai API key [on the API keys page](https://clarifai.com/developer/account/keys). The client\nuses it for authentication.\n\nThen, use the code below to create a `Clarifai.App` instance using which you interact with the client.\n\n```js\nconst Clarifai = require('clarifai');\n\nconst app = new Clarifai.App({\n apiKey: 'YOUR_API_KEY'\n});\n```\n\n*This will work in node.js and browsers via [Browserify](http://browserify.org/).*\n\nYou can also use the SDK by adding this script to your HTML:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"https://sdk.clarifai.com/js/clarifai-latest.js\"\u003e\u003c/script\u003e\n```\n\n## Documentation\n\nDive right into code examples to get up and running as quickly as possible with our [Quick Start](https://developer.clarifai.com/quick-start/).\n\nLearn the basics — predicting the contents of an image, searching across a collection and creating your own models with our [Guide](https://developer.clarifai.com/guide/).\n\nCheck out the [JSDoc](https://sdk.clarifai.com/js/latest/index.html) for a deeper reference.\n\nLooking for a different client? We have many languages available with lots of documentation [Technical Reference](https://clarifai.com/developer/reference)\n\n## React Native\n\nYou'll most likely encounter the error `process.nextTick is not a function` while using this library with React Native.\n\nTo solve this, add `process.nextTick = setImmediate;` as close to the top of your entrypoint as you can. See [#20](https://github.com/Clarifai/clarifai-javascript/issues/20) for more info.\n\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarifai%2Fclarifai-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarifai%2Fclarifai-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarifai%2Fclarifai-javascript/lists"}