Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xhuz/ts.dll
天使插件的nodejs库,用js撸游戏脚本
https://github.com/xhuz/ts.dll
Last synced: 8 days ago
JSON representation
天使插件的nodejs库,用js撸游戏脚本
- Host: GitHub
- URL: https://github.com/xhuz/ts.dll
- Owner: xhuz
- Created: 2019-09-22T16:48:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T12:16:00.000Z (over 3 years ago)
- Last Synced: 2024-09-17T23:26:01.105Z (about 2 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.57 MB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts.dll
天使插件的nodejs库(按键精灵)
### 先决条件
仅支持32位版本的nodejs
需要先安装node-gyp和windows-build-tools
```
npm install -g windows-build-tools
npm install -g node-gyp
```### 安装
```
npm install --save ts.dll
```### 用法
建议使用ts来开发,以获得更好的代码提示
typescript
```
import TS from 'ts.dll';
const ts = new TS();
```commonjs
```
const TS = require('ts.dll').default;
const ts = new TS();
```### 其他
本插件用typescript封装了[TSPlug.dll](https://github.com/gaojunxin/TSPlug)(天使插件)的所有方法
使用[winax](https://github.com/durs/node-activex)库加载标准COM组件