随笔分类 -  NodeJS

摘要:http://www.cnblogs.com/ihardcoder/p/5623411.html 阅读全文
posted @ 2016-11-18 11:38 AnswerCard 阅读(3316) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/rubylouvre/p/4981929.html 阅读全文
posted @ 2016-11-17 13:03 AnswerCard 阅读(181) 评论(0) 推荐(0)
摘要:http://bbs.reactnative.cn/topic/15/react-react-native-%E7%9A%84es5-es6%E5%86%99%E6%B3%95%E5%AF%B9%E7%85%A7%E8%A1%A8 阅读全文
posted @ 2016-11-17 08:30 AnswerCard 阅读(126) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/zhbhun/article/details/46826129 阅读全文
posted @ 2016-11-16 22:03 AnswerCard 阅读(269) 评论(0) 推荐(0)
摘要:http://www.jianshu.com/p/a64735eb0e2b https://segmentfault.com/q/1010000006018592?_ea=985024 http://www.open-open.com/lib/view/open1476088822359.html 阅读全文
posted @ 2016-11-15 18:28 AnswerCard 阅读(1157) 评论(0) 推荐(0)
摘要:http://cnodejs.org/topic/549832a38ade094b67f3f9b3 http://cnodejs.org/topic/5231a630101e574521e45ef8 阅读全文
posted @ 2016-11-15 13:34 AnswerCard 阅读(125) 评论(0) 推荐(0)
摘要:http://cnodejs.org/topic/4f16442ccae1f4aa270010e9 阅读全文
posted @ 2016-11-15 13:33 AnswerCard 阅读(180) 评论(0) 推荐(0)
摘要:http://www.ruanyifeng.com/blog/2015/05/require.html https://liuzhichao.com/p/1669.html http://www.cnblogs.com/520yang/articles/5039394.html 阅读全文
posted @ 2016-11-15 08:15 AnswerCard 阅读(158) 评论(0) 推荐(0)
摘要:http://javascript.ruanyifeng.com/nodejs/module.html 阅读全文
posted @ 2016-11-10 11:35 AnswerCard 阅读(111) 评论(0) 推荐(0)
摘要:什么是 webpack? webpack是近期最火的一款模块加载器兼打包工具,它能把各种资源,例如JS(含JSX)、coffee、样式(含less/sass)、图片等都作为模块来使用和处理。 我们可以直接使用 require(XXX) 的形式来引入各模块,即使它们可能需要经过编译(比如JSX和sas 阅读全文
posted @ 2016-11-08 15:22 AnswerCard 阅读(167) 评论(0) 推荐(0)
摘要:在配置phonecat项目时需要运行npm start在本地配置一个服务器环境,npm start首先会安装一系列的必要程序,这些程序依赖package.json中的内容,package.json中的内容详解如下: 依赖包介绍 在克隆项目之后,目录如下: 这个目录下存在一个文件 package.js 阅读全文
posted @ 2016-11-08 15:14 AnswerCard 阅读(15938) 评论(0) 推荐(0)
摘要:命令行指定npm --registry http://registry.cnpmjs.org info underscore 或者npm --registry http://registry.cnpmjs.org info underscore 编辑 ~/.npmrc 加入下面内容registry 阅读全文
posted @ 2016-11-08 14:32 AnswerCard 阅读(147) 评论(0) 推荐(0)
摘要:其他的参考文章 http://www.cnblogs.com/nullcc/p/5829218.html Name 必须字段。 小提示: 不要在name中包含js, node字样; 这个名字最终会是URL的一部分,命令行的参数,目录名,所以不能以点号或下划线开头; 这个名字可能在require()方 阅读全文
posted @ 2016-11-08 12:12 AnswerCard 阅读(183) 评论(0) 推荐(0)
摘要:http://www.jianshu.com/p/c04dea6e46de 首先有必要解释下什么是命令行(Command Line)类型的模块。npm的模块一共分为三类: 显而易见,提供命令行形式调用方式的模块就属于命令行型的。那么如何来申明自己的模块以什么命令调用,调用执行代码又如何制定呢? 这里 阅读全文
posted @ 2016-09-12 14:22 AnswerCard 阅读(533) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/linjiqin/p/3765772.html npm是一个node包管理和分发工具,已经成为了非官方的发布node模块(包)的标准。有了npm,可以很快的找到特定服务要使用的包,进行下载、安装以及管理已经安装的包。 1、npm install modu 阅读全文
posted @ 2016-09-12 06:16 AnswerCard 阅读(137) 评论(0) 推荐(0)
摘要:https://liuzhichao.com/p/1669.html http://www.cnblogs.com/pigtail/archive/2013/01/14/2859555.html 阅读全文
posted @ 2016-09-09 09:25 AnswerCard 阅读(143) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/dolphinX/p/3475090.html 阅读全文
posted @ 2016-09-09 09:21 AnswerCard 阅读(170) 评论(0) 推荐(0)
摘要:http://www.tuicool.com/articles/ZvMVFbJ 阅读全文
posted @ 2016-09-09 07:36 AnswerCard 阅读(222) 评论(0) 推荐(0)
摘要:http://www.nodebeginner.org/index-zh-cn.html#javascript-and-nodejs 阅读全文
posted @ 2016-09-08 16:36 AnswerCard 阅读(143) 评论(0) 推荐(0)
摘要:npm是一个node包管理和分发工具,已经成为了非官方的发布node模块(包)的标准。有了npm,可以很快的找到特定服务要使用的包,进行下载、安装以及管理已经安装的包。 1、npm install moduleNames:安装Node模块安装完毕后会产生一个node_modules目录,其目录下就是 阅读全文
posted @ 2015-12-27 07:27 AnswerCard 阅读(132) 评论(0) 推荐(0)