Node 之父 Ryan Dahl 的新作 deno 已发布 0.1.4 版本,更新内容如下:
Support headers in fetch()
新增大量异步 fs 函数:deno.rename() deno.remove()、deno.removeAll()、deno.removeSync()、deno.removeAllSync()、deno.mkdir()、deno.stat()、deno.lstat() deno.readFile() 和 deno.writeFile() 。
Add mode in FileInfo
Access error codes via error.kind
Check --allow-net permissions when using fetch()
Add deno --deps for listing deps of a script
二进制文件下载命令:
$HOME/.deno/bin
通过 Python 安装:
curl -sSf https://raw.githubusercontent.com/denoland/deno_install/master/install.py | python
通过 PowerShell 安装:
iex (iwr https://raw.githubusercontent.com/denoland/deno_install/master/install.ps1)
评论删除后,数据将无法恢复
deno v0.1.4 发布,基于 V8 的 TypeScript 运行时
Node 之父 Ryan Dahl 的新作 deno 已发布 0.1.4 版本,更新内容如下:
Support headers in fetch()
新增大量异步 fs 函数:deno.rename() deno.remove()、deno.removeAll()、deno.removeSync()、deno.removeAllSync()、deno.mkdir()、deno.stat()、deno.lstat() deno.readFile() 和 deno.writeFile() 。
Add mode in FileInfo
Access error codes via error.kind
Check --allow-net permissions when using fetch()
Add deno --deps for listing deps of a script
二进制文件下载命令:
通过 Python 安装:
通过 PowerShell 安装: