没有合适的资源?快使用搜索试试~ 我知道了~
otto.module:otto的Node.js模块加载系统的实现
共58个文件
js:21个
json:17个
go:10个
需积分: 9 0 下载量 102 浏览量
2021-05-14
00:35:22
上传
评论
收藏 38KB ZIP 举报
温馨提示
otto.module 的实现。 安装 $ go get -u github.com/hattya/otto.module 用法 package main import ( "fmt" "os" "github.com/hattya/otto.module" ) func main () { vm , err := module . New () if err != nil { fmt . Fprintln ( os . Stderr , err ) os . Exit ( 1 ) } file := new (module. FileLoader ) folder := & module. FolderLoader { File : file } vm . Register ( file ) vm . Register ( folder ) vm . Re
资源推荐
资源详情
资源评论
收起资源包目录
otto_module-master.zip (58个子文件)
otto.module-master
testdata
folder03
index.js 40B
package.json 40B
folder09
package.json 67B
lib
file.js 195B
file02.js 58B
error01.js 22B
node_modules
file01.js 45B
folder01
index.js 53B
folder10
index.js 92B
error05
index.js 22B
error02.js 31B
error03.json 16B
folder04
index.js 49B
folder08
index.json 24B
folder07
index.json 24B
package.json 40B
file01.js 32B
folder01
package.json 59B
lib
file.js 43B
folder02
package.json 55B
lib
index.js 44B
error06
index.js 31B
folder05
package.json 61B
lib
file.json 27B
file03.json 16B
file05.js 84B
folder06
package.json 57B
lib
index.json 28B
error04
package.json 40B
error07
index.json 16B
file04.js 86B
.eslintrc.yml 716B
cmd
modulizer
modulizer.go 3KB
modulizer_test.go 1KB
package.json 620B
babel.config.json 137B
.github
workflows
codeql.yml 592B
ci.yml 1KB
test
.eslintrc.yml 67B
path.spec.js 31KB
otto_test.go 1KB
module_test.go 14KB
loader.go 4KB
Asterfile 2KB
module.go 4KB
.gitignore 56B
lib
internal
module.js 473B
bootstrap.js 1KB
path.js 7KB
module.js 2KB
core.go 12KB
otto.go 1KB
binding.go 904B
go.sum 392B
export_test.go 288B
README.md 1KB
LICENSE.txt 1KB
go.mod 166B
共 58 条
- 1
资源评论
彭仕安
- 粉丝: 23
- 资源: 4679
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功