Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@givesentiment/js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@givesentiment/js

SentimentJS allows you to connect your app to Sentiment, display surveys and trigger events.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Sentiment Browser JS Library

npm package MIT License

Please see Sentiment Docs. Specifically, Quickstart/Implementation details.

What is Sentiment

Sentiment redefines survey experiences, blending user-centric design with innovative digital rewards. We provide precise, efficient targeting for quality insights, far surpassing the capabilities of traditional platforms. Our agile, adaptable approach ensures your feedback shapes our evolution.

How to use this library

  1. Install the Sentiment package inside your project using npm:
npm install -s @givesentiment/js
  1. Import Sentiment and initialize the widget in your main component (e.g., App.tsx or App.js):
import sentiment from "@givesentiment/js";

if (typeof window !== "undefined") {
  sentiment.init({
    environmentId: "your-environment-id",
  });
}

Replace your-environment-id with your actual environment ID. You can find your environment ID in the Setup Checklist in the Sentiment settings.

For more detailed guides for different frameworks, check out our Framework Guides.

Keywords

FAQs

Package last updated on 20 Nov 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc