[Node.js] Using ES6 and beyond with Node.js
2016-03-14 23:51
615 查看
If you're used to using all the latest ES6+ hotness on the front end via Babel, working in Node.js can feel like a step back. Thankfully, it's easy to bring all the Babel goodness with you to the backend, and that's exactly what this lesson covers.
Install:
package.json:
Then you can use ES6 feature like destructing...
Install:
npm install --save-dev babel-cli babel-preset-es2015 nodemon
package.json:
nodemon --exec babel-node app.js
Then you can use ES6 feature like destructing...
相关文章推荐
- node.js编写服务器
- LeetCode 25. Reverse Nodes in k-Group
- windows下安装nodejs简要步骤
- nodeJs--模块module.exports与实例化方法
- hadoop namenode进程参数调整
- nodejs安装提示express不是内部命令
- nodejs入门——搭建一个聊天室应用
- Nodejs v4.4.0API文档学习(1)简介
- 《超实用的Node.js代码段》连载一:获取Buffer对象字节长度
- 【honey_blog记】立flag!记录搭建node博客过程中的一点想法
- NodeJs开发目录
- leetcode 237. Delete Node in a Linked List
- node.js学习之react,redux,react-redux
- 【nodejs+ejs】如何给模板传参数?
- 19. Remove Nth Node From End of List
- NodeJs事件驱动
- Leetcode:19. Remove Nth Node From End of List(JAVA)
- node.js中使用q.js实现api的promise化
- 237. Delete Node in a Linked List
- 116. Populating Next Right Pointers in Each Node