没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
nnode-一个更好的节点 太好了,您可以将其介绍给您的父母。 nnode使用node + babel执行.js和.ts文件。 它的工作方式与node ,仅n iceer。 要使用nnode cli,请全局安装软件包: npm install -g nnode 当将nnode软件包用作require('nnode') ,请将该软件包作为依赖项安装: npm install nnode --save run-me.js import path from 'path' ; const x = { this : 'this' , very : 'really' } ; const { very } = x ; console . log ( `Awww, this is ${ very } nice.` ) ; 如果尝试运行node run-me.js ,则会看到: SyntaxError: Unexpected token import 那不是很好,尝试更好的方法,例如nnode run-me.js : - Awww, this is really nice. 您
资源推荐
资源详情
资源评论
收起资源包目录
nnode-master.zip (49个子文件)
nnode-master
patches
@babel+plugin-transform-typescript+7.3.2.patch 1KB
config.js 1KB
src
apply-class-decorators.ts 511B
type-for-annotation.ts 2KB
decorating-helpers-template.ts 1KB
apply-field-decorators.ts 1KB
typescript-babel-decorators.ts 4KB
babel-preset-typescript.ts 1KB
babel-plugin-transform-typescript
enum.ts 6KB
babel-plugin-transform-typescript.ts 10KB
apply-param-decorator-expression.ts 2KB
ts
index.js 117B
tsconfig.json 698B
LICENSE 11KB
build
babel-preset-typescript.js 2KB
decorating-helpers-template.js 2KB
apply-field-decorators.js 2KB
typescript-babel-decorators.js 4KB
apply-class-decorators.js 1KB
apply-param-decorator-expression.js 2KB
type-for-annotation.js 3KB
babel-plugin-transform-typescript
babel-plugin-transform-typescript.js 13KB
enum.js 5KB
README.md 2KB
mkdirp.js 519B
create-tsconfig.js 295B
transpile-directory.js 1KB
tests
deco
src
enum.ts 210B
deco1.ts 759B
deco-simple.ts 131B
reference.ts 26B
build
deco-simple.js 2KB
enum.js 2KB
reference.js 2KB
deco1.js 4KB
InputArgType.ts 181B
test-ts-features.ts 990B
test-js-require-hook.js 52B
transpile-test
src
test2.ts 581B
test.js 182B
test-ts-require-hook.js 52B
InputArgType.js 303B
test-js-features.js 297B
test-ts-features.js 3KB
.gitignore 936B
index.js 133B
cli.js 862B
package.json 937B
tsconfig.template.json 462B
共 49 条
- 1
资源评论
weixin_38685608
- 粉丝: 1
- 资源: 996
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功