# test-array-map **Repository Path**: wu-dian-mei/test-array-map ## Basic Information - **Project Name**: test-array-map - **Description**: 封装并发布一个库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-30 - **Last Updated**: 2021-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # test-array-map #### 介绍 封装并发布一个库 #### 软件架构 软件架构说明 #### 安装教程 1. npm init 初始化一个package.json 2. tsc --init 初始化一个tsconfig.json 3. 修改tsconfig.json的declaration: true 生成一个申明文件 4. 修改tsconfig.json的outDir: "./dist" 输出文件 5. tsconfig.json添加exclude: ["./dist"] 排除要编译的文件 6. 写自己的逻辑代码 7. https://www.npmjs.com/ 先注册账号 在npm查找你要创建的库是否已经存在 具体操作(https://www.jianshu.com/p/e668c14ff88f) 8. 运行tsc 编译文件, 生成dist 9. 测试进入到dist文件夹 cd dist / node / const arrayMap = require('./test-array-map') #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)