Package Exports
- kite-publisher
- kite-publisher/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kite-publisher) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Kite Publisher
A lightweight NPM package for integrating Kite Connect Publisher functionalities.
Installation
npm install kite-publisherconst 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');
});