# PhotClient **Repository Path**: Photlab/phot-client ## Basic Information - **Project Name**: PhotClient - **Description**: 光纤传输仿真运算平台客户端 - **Primary Language**: TypeScript - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-10-30 - **Last Updated**: 2024-11-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Phot Client # 使用 ## 安装 ``` js $ npm install @photlab/phot-client --registry http://hub.npm.emulian.com ``` ## 打包 ``` js $ npm run build ``` ## 使用(例) ``` jsx import {library, project, grid, engine, graph} from '@photlab/phot-client/lib' ``` ## thrift通信 ### 使用 ``` jsx const thrift = require('thrift/lib/nodejs/lib/thrift') ``` ### api src/api ### connection src/utils/createConnection ## typings ``` jsx declare module '@photlab/phot-client/lib' ```