node-prune

Remove unnecessary files from node_modules (.md, .ts, ...)

  • 所有者: tj/node-prune
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

What?

node-prune is a small tool to prune unnecessary files from ./node_modules, such as markdown, typescript source files, and so on. Primarily built for Up which lets you deploy serverless web applications in seconds.

Installation

From gobinaries.com:

$ curl -sf https://gobinaries.com/tj/node-prune, sh

From source:

$ go get github.com/tj/node-prune

Usage

In your app directory:

$ node-prune

files total 27,330
files removed 3,990
size removed 13 MB
   duration 200ms

Somewhere else:

$ node-prune path/to/node_modules

files total 27,330
files removed 3,990
size removed 13 MB
   duration 200ms

Or add to the package.json scripts field

  "scripts": {
    "postinstall": "node-prune"
  }

Why?

huge


GoDoc

主要指標

概覽
名稱與所有者tj/node-prune
主編程語言Go
編程語言Go (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2017-11-19 01:11:42
推送於2022-11-30 20:59:44
最后一次提交2020-05-12 10:34:09
發布數4
最新版本名稱v1.2.0 (發布於 2020-05-12 10:34:09)
第一版名稱v1.0.0 (發布於 )
用户参与
星數4.4k
關注者數38
派生數132
提交數87
已啟用問題?
問題數40
打開的問題數19
拉請求數23
打開的拉請求數5
關閉的拉請求數8
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?