base on layui [http://www.layui.com/doc/],基于layui. ## use 使用方法 ```html <link rel="stylesheet" href="//unpkg.com/magic-input/dist/magic-input.min.css"> <link rel="stylesheet" href="//unpkg.com/castle-ui/dist/css/layui.css"> <script src="//
published version 1.0.39, 7 years agoSupport both JSON AND Buffer ## how to use it install this package ```shell npm i @ctsy/rpc ``` import this package ```typescript import RPC from '@ctsy/rpc' let rpc = new RPC(); let buffer = rpc.encode();
published version 1.0.13, 6 years ago## 安装/install ```shell npm install @ctsy/chinese npx install @ctsy/chinese yarn add @ctsy/chinese ```
published version 1.0.1, 6 years ago- published version 1.0.16, 2 years ago
Asynchronous, non-blocking win32ole bindings
published version 0.0.3, 6 years ago## feature 1. config class and default config driver 2. allow extends to reconfig
published version 2.0.14, 3 years ago> 封装的Sequelize作为数据库操作底层,对Sequelize的部分操作进行了简化,语法结构类似于ThinkPHP3.2结构。 需要依赖于 castle-config/castle-controller/sequelize,其它依赖请参见相关库的依然范围 # 典型基础用法 ```typescript //获取模型对象 let model = await this.M('Sex'); //启动事务 =1 await this.startTrans(); //添加数据 // INSERT INTO se
published version 2.0.47, 3 years ago- published version 2.0.17, 3 years ago
```typescript // 基础控制器 // 提供 this._session,this._cookie,this.M,this.R基础操作 import {BaseController} from 'castle-controller' export default class cc extends BaseController{
published version 2.0.30, 3 years agoSupport both JSON AND Buffer ## how to use it install this package ```shell npm i @ctsy/rpc ``` import this package ```typescript import RPC from '@ctsy/rpc' let rpc = new RPC(); let buffer = rpc.encode();
published version 1.0.16, 6 years ago- published version 2.0.12, 6 years ago
## feature 1. default use cookie 2. custom use token or other key to identify user
published version 1.0.18, 3 years ago- published version 1.0.9, 6 years ago
WebSocket RPC Client ,Support both nodejs and brower
published version 1.0.13, 6 years ago- published version 1.0.2, 6 years ago
request for web vue and nodejs with castle`s json result
published version 1.0.22, 2 years ago```typescript import { RSA, MD5 } from './index' import { AES } from '../dist'; //RSA 加密 let data = "a", key = "a"; RSA.publicEncrypt(data, key) RSA.privateEncrypt(data, key); RSA.publicDecrypt(data, key); RSA.privateDecrypt(data, key)
published version 1.0.9, 6 years ago