@gdyfe/rop-client
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Rop Client

基于 typescript 重写的 ROP 客户端

usage

直接引入

dist/index.js 取出后,在工程内引用,或者使用 <script> 标签全局引入

import ROP from '***.js'

const rc = new ROP({
  ICS_ADDR: '*',
  ROP_FLASH_SITE: '*',
  PORT: xxxx,
  SSL_PORT: xxxx
})

rc.On('*', () => {})

NPM 安装

sudo npm install @gdyfe/rop-client --save
sudo yarn add @gdyfe/rop-client
import ROP from '@gdyfe/rop-client'

const rc = new ROP({
  ICS_ADDR: '*',
  ROP_FLASH_SITE: '//*'
})

rc.On('*', () => {})

Readme

Keywords

Package Sidebar

Install

npm i @gdyfe/rop-client

Weekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

138 kB

Total Files

21

Last publish

Collaborators

  • whzcorcd
  • laev
  • shelter01