前端analysis | 知其所以然

《npm》- npm常用命令详解

npm scripts
npm 常用命令列表npm 升级依赖包 取决于npm版本,2.6.1以上可以 1npm install -g 2.6.1以下,可以通过npm-check,回车键进行选择升级 1234567npm install -g npm-check#本地check npm-check -u#全局 ...
Read more

《devTool》- code format&lint插件与Git Hooks组合拳

git vscode format lint
vscode Prettier vs LinterPrettier code格式化插件,支持以下语言: JavaScript (including experimental features) JSX Angular Vue Flow TypeScript CSS, Less, and ...
Read more

《Performance》- web-worker 深入了解

webWorker angular8
web-worker 通信过程 web api支持情况 不支持的web api window document 支持的 navigator Console API CustomEvent Promise websocket ajax XMLHttpRequest ...
Read more

《Performance》- PWA入门

性能优化 performance lighthouse
PWA为何引入 特性了解 如何开发
Read more

《前端面试》- js 加减乘除总有NaN,Infinity出现

js 前端 面试 位操作
数值转换Number转换 toString js 运算位操作 布尔操作 加法 减法 乘法 除法 求模
Read more

《Node》- package.json中的browserslist

node
介绍1234567# package.json "browserslist": [ "defaults", "not IE 11", "maintained node versions" ] 前端工 ...
Read more
上一页 下一页