You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@lyket/widget

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lyket/widget

Instantly add clap/like/vote buttons to your website


Version published
Weekly downloads
528
decreased by-20.84%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Lyket Widget

A simple script that lets you embed Lyket in your html/Wordpress/Webflow/Notion website and more!

Visit Lyket website to get started with Lyket.

How it works

To create a button you just need to provide a HTML element that has an ID, namespace and type.

Once you added this element a GET request is made to retrieve info about the button with that certain ID and namespace. If no button is found, a new resource is created with the ID/namespace identifier.

Notice that the server will create a new resource for every different and unique identifier, so if you change ID or namespace the new button won’t inherit the votes.

Every time a visitor clicks on a button, Lyket will update the likes counter and flag that the visitor has already voted, with no need to signup to any third party service.

Lyket does not store sensible data and is GDPR compliant.

Keywords

FAQs

Package last updated on 05 Jan 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc