'Mocha - the fun, simple, flexible JavaScript test framework'

Mocha 是 Node.js 上的單元測試框架。該單元測試框架能讓我們撰寫測試案例、運行單元測試、及產生測試報告等。 ...

May 9, 2019 · 1 min · 490 words · Larry Nung

Chai - A BDD / TDD assertion library for node

Chai 是 Node.js 的 BDD / TDD 斷言套件。 使用前先從 Registry 下載套件。 ...

May 7, 2019 · 2 min · 572 words · Larry Nung

Node.Js - Getting started

Node.Js 安裝完後,開個 Js 檔來撰寫簡單的 Hello World 程式。 ...

May 6, 2019 · 1 min · 161 words · Larry Nung

Cheerio - Fast, flexible, and lean implementation of core jQuery designed specifically for the server

cheerio 是一用來解析 HTML 的套件,該套件使用方式跟 jQuery 類似。 ...

August 1, 2018 · 1 min · 266 words · Larry Nung

Node.js - Transform stream

Transform stream 可以將輸入串流的資料讀入,將讀入的內容轉換,然後輸出到輸出串流。 ...

July 30, 2018 · 2 min · 528 words · Larry Nung

Mochawesome - A Gorgeous HTML/CSS Reporter for Mocha.js

Mochawesome 能讓 Mocha 支援產出 HTML 的測試報告。 使用前需安裝 Mochawesome 套件。 ...

July 29, 2018 · 1 min · 86 words · Larry Nung

bulk-require - require whole directory of trees in bulk

在撰寫 Node.js 時需要的模組我們需要載入才可以使用,bulk-require 套件能讓我們快速的載入目錄內的模組,不需要一個一個載入。 ...

July 29, 2018 · 1 min · 248 words · Larry Nung

n - Node version management

n 是一 Node version management,可以管理 Node.js 的版本。安裝時可先將 npm 的快取清掉。 ...

April 23, 2017 · 1 min · 205 words · Larry Nung