Node.js:修订间差异
来自康健生活
无编辑摘要 |
|||
| (未显示同一用户的7个中间版本) | |||
| 第119行: | 第119行: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| [[/nodemon|nodemon]] || [[/fs|fs]] || [[/profile|profile]] || [[/moment|moment]] || | | [[/nodemon|nodemon]] || [[/fs|fs]] || [[/profile|profile]] || [[/moment|moment]] || || electron || [[/pm2|pm2]] | ||
|- | |- | ||
| [[/heapdump|heapdump]] || [[/Connect-Busboy|Connect-Busboy]] || [[/connect-multipart|connect-multipart]] || qs || [[/babel|babel]] || phantomjs || [[/passport|passport]] | | [[/heapdump|heapdump]] || [[/Connect-Busboy|Connect-Busboy]] || [[/connect-multipart|connect-multipart]] || qs || [[/babel|babel]] || phantomjs || [[/passport|passport]] | ||
| 第127行: | 第127行: | ||
| [[/decoment|decoment 删除注释]] | | [[/decoment|decoment 删除注释]] | ||
|} | |} | ||
== 构建工具 == | |||
{| class="wikitable" | |||
|- | |||
| [[/webpack|webpack]] || [[/rollup|rollup]] || [[/parcel|parcel]] | |||
|- | |||
| [[/requirejs|requirejs]] || [[/browserify|browserify]] || | |||
|} | |||
== 模块类型 == | |||
* [[/CJS|CJS]]: CommonJS | |||
* [[/AMD|AMD]]: Asynchronous Module Definition | |||
* [[/UMD|UMD]]: Universal Module Definition | |||
* [[/ESM|ESM]]: ECMAScript modules | |||
* [[/IIFF|IIFF]]: Immediately Invoked Function Expression | |||
* [[/systemjs|systemjs]]: | |||
* [[/Revealing|Revealing]]: | |||
== 框架 == | == 框架 == | ||
| 第143行: | 第158行: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| [[/npm|npm]] || [[/npx|npx]] || [[/yarn|yarn]] || [[/pnpm | | [[/npm|npm]] || [[/npx|npx]] || [[/yarn|yarn]] || [[/pnpm|pnpm]]|| [[/lerna|lerna]] || [[/monorepo|monorepo]] || [[/Node-pre-gyp|node-pre-gyp]] | ||
|} | |} | ||
| 第233行: | 第248行: | ||
=== 单位换算 === | === 单位换算 === | ||
==== base64 - kb ==== | ==== base64 - kb ==== | ||
{{ | {{Double-columns|<syntaxhighlight lang="javascript"> | ||
const size = (base64) => { | const size = (base64) => { | ||
return (base64.length/1024).toFixed(2); | return (base64.length/1024).toFixed(2); | ||