
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
refiner-js
Advanced tools
This wrapper provides a simple installation of the Refiner survey widget client through NPM.
This NPM package automatically injects the Refiner JavaScript client and exports an object that wraps all client methods. All method calls are queued end executed once the Refiner.io JavaScript client is fully loaded.
npm install refiner-js;
Copy & paste the code below into your applications and replace the static value ‘REFINER_PROJECT_ID’. You can find your project ID in the your Refiner dashboard under "Settings > Installation".
That's it! The Refiner JavaScript is now loaded and communicating with the Refiner API.
import Refiner from 'refiner-js';
Refiner('setProject', 'REFINER_PROJECT_ID');
Refiner unleashes its full power when you identify your users and we highly recommend that you take the time to set up user identification.
Identifying your users allows you to better target specific accounts, sync survey responses with your user data, trigger user specific automations etc.
Identifying a user is easy with our Javascript client. All you need to do is to call a identifyUser method once our Javasript client was loaded.
Refiner('identifyUser', {
id: 'USER-ID-ABC-123', // Each user needs an ID or email address
email: 'jane@awesome.com', // Each user needs an ID or email address
name: 'Jane Doe', // The full name of the user
});
Check out our documentation for more info.
FAQs
Official NPM wrapper for the Refiner.io JavaScript Web-Client
The npm package refiner-js receives a total of 12,925 weekly downloads. As such, refiner-js popularity was classified as popular.
We found that refiner-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.