Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 111
  1. A short note on the pkg.pr.new registry bridge and why preview builds need npm registry semantics.

  2. 让nodejs写的web应用接入微博用户登录 Read the full post at https://fengmk2.com/posts/how-to-add-oauth-for-weibo.

  3. How I set up a local Windows development and testing workflow on macOS for Vite+, using Rust cross-compilation and a QEMU-based Windows VM.

  4. 今天看到一篇赞美 Postgres 的文章:Postgres is Too Good (And Why That's Actually a Problem) ,显然是非常吸引眼球的,作者用 PG 实现了需要用到的所有微服务。

  5. npmmirror registry 上偶尔会 CPU 狂飙一会,看日志发现这个时间段内有一个超多版本的 npm 包在同步,如 @primer/react。

  6. 在做 egg-cluster 的时候,app worker 是由 cluster fork 出来的,然而 agent worker 是 master 通过 childprocess.fork 出来的。

  7. React,Redux 和他们的小伙伴们 Read the full post at https://fengmk2.com/posts/react-redux-and-their-friends.

  8. 我是如何发布一个 npm 包的 Read the full post at https://fengmk2.com/posts/how-i-publish-a-npm-package.

  9. 如 https://fonts.googleapis.com/css?

  10. npm 团队最近也在大力推广使用 node 来开发 cli 命令行工具,Building a simple command line tool with npm。

  11. 自定义错误

    大部分情况,我们都是直接 new Error('foo') 来创建一个异常,然后为了有区分度, 通常会改变它的 name: Read the full post at https://fengmk2.com/posts/custom-error.

  12. Why co use too many memory Read the full post at https://fengmk2.com/posts/co-memory.

  13. [istanbul] is already supported Multiple Process Coverage.

  14. I like SQL to MongoDB Mapping Chart post, so I create the same chart between SQL and [Sequelize].

  15. set expandtab set tabstop=4 set shiftwidth=4 set nonumber set smarttab Read the full post at https://fengmk2.com/posts/vi-study.

  16. 按nodejs官方的文档说明,使用Buffer操作字节流通常会比转化成String要高效。

  17. 本文收集我个人编译的一些离线文档 Read the full post at https://fengmk2.com/posts/nodejs-doc-zip.

  18. https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node Read the full post at https://fengmk2.com/posts/node-apps.

  19. https://github.com/joyent/node/wiki/hosting Read the full post at https://fengmk2.com/posts/nae.

  20. 好的编程风格有助于写出质量更高, 错误更少, 更易于维护的程序.

  21. Indexed Cache

    To store key value datas.

  22. Mongoose is a MongoDB object modeling tool designed to work in an asychronous environment.

  23. 本文将记录 nodejs 历史更新中所有版本的hello world性能测试。

  24. The CSRF Read the full post at https://fengmk2.com/posts/express-csrf.

  25. weibo appkey

    come from http://bbs.ysrh.com/read.php?

  26. 参考原文: What's missing from NodeJS Read the full post at https://fengmk2.com/posts/accidental-complexity.

  27. [chrome-cpu-profiler]: https://github.com/tomgco/chrome-cpu-profiler Read the full post at https://fengmk2.com/posts/visulise-cpu-profiler-nodejs.

  28. 根据 node-gyp 指示的 Windows 编译环境说明, 简单一句话就是 "Python + VC++ 编译环境".

  29. 使用 co-defer Read the full post at https://fengmk2.com/posts/co-usage.

  30. If you're using [koa-csrf] in default middleware way, it will kill your app performance.

  31. 在公交车上刷微博,还是有很多同学在咨询: Read the full post at https://fengmk2.com/posts/node-env-and-faster-npm.

  32. 这是我在没有遇到 co 和 koa 之前, 一直写的业务逻辑代码.

  33. Recently, I wrote some koa middlewares: koa-gzip, koa-fresh, and I want to do test coverage with my favorite module: blanket.

  34. 如果你需要对非 UTF8 编码的文本进行处理,如 GBK 编码的,那么我们只有遵循以下原则处理就ok: Read the full post at https://fengmk2.com/posts/iconv-lite.

  35. 在遇到 [Blanket.js] 之前,我一直使用这 [jscover] 来做代码覆盖率测试。

  36. 私奔到taipei

    早上8:30租车去机场 Read the full post at https://fengmk2.com/posts/taipei.

  37. domain: Domains provide a way to handle multiple different IO operations as a single group.

  38. Mou

    Mou, the missing Markdown editor for web developers.

  39. Using mocha-cobertura-reporter module.

  40. 之前经常有同学会问到怎么有些异常无法捕获到呢?

  41. 沪JS 2012

    沪JS 2012 Read the full post at https://fengmk2.com/posts/hujs.

  42. nodejs web项目结构 Read the full post at https://fengmk2.com/posts/nodejs-web-project-architecture.

  43. nodejs提供了完善的插件机制(addons),让我们可以非常方便地调用C和C++库。

  44. nodejs的web开发,目前最受欢迎的必然是 [express]。

  45. 估计我们使用 connect 都会很自然地按照官方的例子使用静态文件模块 static: Read the full post at https://fengmk2.com/posts/use-pre-for-connect-static-middleware.

  46. 由于代码越来越多,在进行代码覆盖测试的时候,经常出现jscoverage后的代码跑的测试不正确。

  47. 使用phonegap开发基于HTML5的iOS程序,应用程序需要访问额外的网络资源,就必然需要面对跨域访问的问题。

  48. 参数传递导致的内存不被释放的问题 Read the full post at https://fengmk2.com/posts/function-memory-leak.

  49. 上周日在北京回杭州的飞机上,看《高性能JavaScript》的循环优化章节,了解到“Duff's device”这种搓而又惊奇的展开循环体的优化方法。

  50. mongodb-replica-sets-using-mongoskin-in-nodejs Read the full post at https://fengmk2.com/posts/mongodb-replica-sets-using-mongoskin-in-nodejs.