UNPKG

@procot/webostv

Version:

Source code of the webOSTV.js library

52 lines (41 loc) 1.07 kB
![Publish to NPM](https://github.com/procot/webostv/workflows/Publish%20to%20NPM/badge.svg) # Description This the package contain a source code of the [webOSTV.js library](http://webostv.developer.lge.com/api/webostvjs/) with the typings for library. # Library version A source code and a typings presents for library version 1.2.4 ## Install ```bash npm i @procot/webostv ``` or ```bash yarn add @procot/webostv ``` ## Usage ### Import all Import all souce code of library: ```javascript import '@procot/webostv'; ``` or ```javascript require('@procot/webostv'); ``` ### Import webOS variable Import the source code for [`webOS`](http://webostv.developer.lge.com/api/webostvjs/webos/) variable: ```javascript import '@procot/webostv/webOSTV'; ``` or ```javascript require('@procot/webostv/webOSTV'); ``` ### Import webOSDev variable Import the source code for [`webOSDev`](http://webostv.developer.lge.com/api/webostvjs/webosdev/) variable: ```javascript import '@procot/webostv/webOSTV-dev'; ``` or ```javascript require('@procot/webostv/webOSTV-dev'); ```