Home

0

人生就是這麼Koa...QAQ

人生就是這麼 Koa(2) … QAQ為什麼要 Koa? 而且還有可怕的 Error Handling … Sync 的 try… catch(err)… fn(err, callback) Promise.then().catch(err) 不同方式產生的 Error,沒有統一的 handle 方法。(對自己好一點,你值得擁有更好 >.0) 快速 Review 一下 Generator

0

JSON-WEB-TOKEN-JWT

毫無反應,就是個 JWT (JSON Web Token)什麼是 JWT? 一種基於 JSON 格式,用於傳輸信任資訊的簽章 (signature) 與編碼 (encoding) 技術 因此資料可以反解 (decoding) 回去 常用於分散式環境下,取代 session 認證,可擴展的解決方案 單點認證 JWT 描述使用者資訊,可達成無狀態 (stateless) e.g. eyJh

0

AVA: Futuristic JavaScript Test Runner

AVA Futuristic JavaScript test runner https://github.com/avajs/ava Why AVA? Simple test syntax like tape (e.g. t.deepEqual, t.pass, …) No implicit globals like mocha (e.g describe , it) Runs tests co

0

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick