没有合适的资源?快使用搜索试试~ 我知道了~
index-finger:为你的模块创建索引
共37个文件
js:22个
json:4个
yml:1个
需积分: 9 0 下载量 110 浏览量
2021-06-23
08:19:45
上传
评论
收藏 16KB ZIP 举报
温馨提示
#食指 为你的模块创建索引 ##这是给谁的? 您是否曾经发现自己创建的模块除了导出文件夹中的所有其他模块外,索引几乎没有内容? 如果是这样,这个工具适合你! index-finger 将解析您的模块并在您的每个文件夹中为您生成索引文件。 警告index-finger 将覆盖您项目中的任何索引文件。 如果你不使用版本控制,你最终可能会遇到一个非常悲伤的熊猫警告 ##例子 假设您有一个看起来像这样的项目 . ├── a.js ├── b.js ├── c.js index-finger 将解析上面提供的文件夹并生成一个如下所示的index.js module . exports = { a : require ( './a' ) , b : require ( './b' ) , c : require ( './c' ) } ; ##安装 用做: npm inst
资源推荐
资源详情
资源评论
收起资源包目录
index-finger-master.zip (37个子文件)
index-finger-master
.travis.yml 38B
.eslintrc 98B
bin
cmd.js 1KB
package.json 1KB
templates
template.hbs 122B
test
test-file-parser.js 808B
test-bin.js 3KB
test-lib.js 3KB
test-template.js 564B
fixtures
example
core
b.js 0B
ignoreme.rb 0B
a.js 0B
ignore-me
nope.php 0B
c.js 0B
index.js 43B
physics
b.js 0B
forces
b.js 0B
a.js 0B
c.js 0B
a.js 0B
ignore-me
nope.java 0B
c.js 0B
ignore-me
.keep 0B
file-parser
expected.json 172B
lib
expected-index.js 81B
expected-core.js 84B
expected-physics.js 115B
expected-forces.js 84B
template
examplePaths.json 70B
expected.json 241B
README.markdown 2KB
.gitignore 14B
lib
index.js 2KB
file-parser.js 2KB
template.js 1001B
.eslintignore 14B
.editorconfig 415B
共 37 条
- 1
资源评论
weirdquirky
- 粉丝: 30
- 资源: 4683
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功