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

kite-publisher

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kite-publisher

The Kite Publisher Javascript plugin lets you add one-click trade buttons to your webpage. It works like a basket combined with a payment gateway, where an inline popup opens on your webpage, guides the user through a trade, and lands the user back on you

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
251
Maintainers
1
Weekly downloads
 
Created
Source

Kite Publisher

A lightweight NPM package for integrating Kite Connect Publisher functionalities.

Installation

npm install kite-publisher
const KitePublisher = require('kite-publisher');

const publisher = new KitePublisher("your_api_key");

publisher.initialize().then(() => {
publisher.addStockToBasket({
exchange: "NSE",
tradingsymbol: "INFY",
quantity: 1,
transaction_type: "BUY",
order_type: "MARKET",
});

    publisher.renderButton('#buy-button');

});

Keywords

FAQs

Package last updated on 17 Nov 2024

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