New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@likecoin/likecoin-button

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likecoin/likecoin-button

LikeCoin button SDK

latest
npmnpm
Version
0.0.3
Version published
Maintainers
3
Created
Source

LikeCoin button SDK

This is a script for embeding LikeCoin button into webpages.

What is LikeCoin button?

For introduction ot LikeCoin button, please refer to user guide here.

Usage

  • Add the following div tag into the webpage at the position for embedding LikeCoin button:

<div class="likecoin-embed likecoin-button" data-liker-id="{YOUR_LIKECOIN_ID}" data-href="YOUR_WEBPAGE_URL"></div>

Here, data-liker-id is required and refers to your LikeCoin ID, where data-href is optional and refers to your page's canonical URL. If omitted, the SDK will use the current URL of the browser.

  • Add the following script tag at the end of the body tag:

<script src="sdk.js"></script>

See dist/index.html as an example.

Build

  • npm install
  • npm run build

Reference

Please refer to our developer guide.

FAQs

Package last updated on 24 Mar 2021

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