{"id":22480150,"url":"https://github.com/findify/javascript-sdk","last_synced_at":"2026-04-13T21:04:07.813Z","repository":{"id":89244051,"uuid":"77017791","full_name":"findify/javascript-sdk","owner":"findify","description":"Findify search javascript client","archived":false,"fork":false,"pushed_at":"2020-07-22T04:49:27.000Z","size":235,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-02-01T21:35:20.643Z","etag":null,"topics":["findify","javascript","javascript-sdk","sdk","search","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/findify.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-12-21T04:32:04.000Z","updated_at":"2019-03-28T11:42:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0c927ad-7e0a-44dd-83eb-6d1643139aab","html_url":"https://github.com/findify/javascript-sdk","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fjavascript-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fjavascript-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fjavascript-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fjavascript-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/findify","download_url":"https://codeload.github.com/findify/javascript-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245900900,"owners_count":20690931,"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":["findify","javascript","javascript-sdk","sdk","search","typescript"],"created_at":"2024-12-06T15:19:54.170Z","updated_at":"2026-04-13T21:04:07.786Z","avatar_url":"https://github.com/findify.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started\n## Installation\n```\nnpm install findify-sdk --save\n```\nor\n```\nyarn add findify-sdk\n```\nAlternatively, you can use UMD builds, by requiring them to the page using `\u003cscript\u003e` tag:\n```\nhttps://findify-assets-2bveeb6u8ag.netdna-ssl.com/js-sdk/findify-sdk.1.3.6.min.js\n```\nor using unminified version:\n```\nhttps://findify-assets-2bveeb6u8ag.netdna-ssl.com/js-sdk/findify-sdk.1.3.6.js\n```\n\n## Usage example\n```javascript\nvar FindifySDK = require('findify-sdk');\n\n// First, you need to initialize library:\nvar client = FindifySDK.init({\n  key: 'your_api_key',\n  // If you are using this library on a frontend, it will be convenient for you to provide user once on initialization.\n  // You can get user object, using `findify-analytics` library, or by manually getting data from cookies:\n  user: {\n    uid: 'user_id',\n    sid: 'session_id'\n  }\n});\n\n// After library initialized, we can send requests to server with `client` instance. Let's perform autocomplete request:\nclient.autocomplete({\n  q: 'Red jacket',\n  // If you are using this library on server, you will need to deal with multiple users objects.\n  // In this case, you need to provide `user` object on each request. If you provided `user` on init, it will be overrided:\n  user: {\n    uid: 'user_id',\n    sid: 'session_id'\n  }\n}).then(function(response) {\n  // `response` variable will contain all response data from server, which could be later provided to the view layer.\n});\n```\n\n# Documentation\n- [API Reference](https://findify.readme.io/reference#initialization)\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindify%2Fjavascript-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffindify%2Fjavascript-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindify%2Fjavascript-sdk/lists"}