{"id":40421840,"url":"https://github.com/refiner-io/js-client-npm","last_synced_at":"2026-01-20T15:09:17.377Z","repository":{"id":42176810,"uuid":"262290759","full_name":"refiner-io/js-client-npm","owner":"refiner-io","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-19T12:14:48.000Z","size":189,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-26T00:52:17.611Z","etag":null,"topics":["in-app-survey","in-product","microsurveys","survey","survey-form","surveyjs","surveymonkey","surveys","typeform"],"latest_commit_sha":null,"homepage":"https://refiner.io","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/refiner-io.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2020-05-08T10:11:21.000Z","updated_at":"2025-04-19T12:14:51.000Z","dependencies_parsed_at":"2023-11-06T13:45:10.502Z","dependency_job_id":"dd6e3cc4-52b3-4e02-a848-5cba90a3645f","html_url":"https://github.com/refiner-io/js-client-npm","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.25,"last_synced_commit":"80c43e37db64e75951d6b1fb11f662c8eae1e858"},"previous_names":["refiner-io/node-wrapper"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/refiner-io/js-client-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refiner-io%2Fjs-client-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refiner-io%2Fjs-client-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refiner-io%2Fjs-client-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refiner-io%2Fjs-client-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refiner-io","download_url":"https://codeload.github.com/refiner-io/js-client-npm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refiner-io%2Fjs-client-npm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T14:45:23.139Z","status":"ssl_error","status_checked_at":"2026-01-20T14:44:16.929Z","response_time":117,"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":["in-app-survey","in-product","microsurveys","survey","survey-form","surveyjs","surveymonkey","surveys","typeform"],"created_at":"2026-01-20T15:09:17.278Z","updated_at":"2026-01-20T15:09:17.370Z","avatar_url":"https://github.com/refiner-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Refiner NPM Client Wrapper\n\nThis repository hosts the official Refiner NPM wrapper. The wrapper loads the Refiner JavaScript Web-Client to your application and gives you access to all [client methods](https://refiner.io/docs/kb/javascript-client/reference/). \n\nYou can use the Refiner NPM client to track user data in Refiner and launch in-app surveys within your application. All method calls are queued end executed once the client is fully loaded.\n\nRefiner is a microsurvey tool designed specifically for web and mobile applications. Collect spot-in insights from your users with perfectly timed [in-app surveys](https://refiner.io/features/in-product-microsurveys/).\n\nWith Refiner you can ask your users any question while they are using your application. Measure [customer satisfaction (CSAT)](https://refiner.io/solutions/csat/), [Net Promoter Score (NPS)](https://refiner.io/solutions/nps/), or [customer effort score (CES)](https://refiner.io/solutions/ces/), research what to built next or profile your users. Refiner supports all product feedback survey use cases and comes packed with expert-built templates that will get you started quickly.\n\n## Installation\n\n```sh\nnpm install refiner-js;\n```\n\n## Usage\n\nThe repository includes [sample implementations](https://github.com/refiner-io/js-client-npm/tree/master/examples) for Next.js and Vue.js frameworks.\n\nCheck out our [documentation](https://refiner.io/docs/kb/install-client/npm-package/) for more information on how to initalize and use the client.\n\n### Quick installation \n\nCopy \u0026 paste the code below into your applications and replace the static value `PROJECT_ID`. You can find your project / environment ID in the your Refiner dashboard under `Settings \u003e Web Client`.\n\nThe JavaScript Web-Client is now loaded and ready to communicate with the Refiner backend API.\n\n```js\nimport _refiner from 'refiner-js';\n\n_refiner('setProject', 'PROJECT_ID');\n```\n\n### Identify users (recommended)\n\nIdentifying your users with a uniqueu identifier allows you to better target specific user groups, sync survey responses with other tools, trigger user specific automations, etc. \n\nWe recommend to [identify your users](https://refiner.io/docs/kb/javascript-client/anonymous-vs-identified-users-mode/) whenever possible.\n\n```js\n_refiner('identifyUser', {\n  id: 'USER-ID-ABC-123', // Each user needs an ID or email address\n  email: 'jane@awesome.com', // Each user needs an ID or email address\n  name: 'Jane Doe', // The full name of the user\n});\n```\n\n### All client methods\n\nFor a full list of client methods, please continue reading our [client reference](https://refiner.io/docs/kb/javascript-client/reference/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefiner-io%2Fjs-client-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefiner-io%2Fjs-client-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefiner-io%2Fjs-client-npm/lists"}