资源算法pruner-cli

pruner-cli

2020-02-04 | |  45 |   0 |   0

pruner-cli

Build Status npm version

Prune node_modules files and save disk space.

usage

npm i -g pruner-cli prune # or use npx npx pruner-cli

Full usage see prune -h:

Prune node_modules files and save disk space Usage: prune <path> Options:   --version, -v  Show version number                                   [boolean]   --config, -c   <filename> config file name   [string] [default: ".prune.json"]   --dryrun, -d   dry run                            [boolean] [default: "false"]   --verbose      log pruned file info               [boolean] [default: "false"]   --help, -h     Show help                                             [boolean]

Create a local .prune.json to customize, character case doesn't matter. Defaults are:

{   "dirs": [     "__tests__",     "test",     "tests",     "powered-test",     "docs",     "doc",     ".idea",     ".vscode",     "website",     "images",     "assets",     "example",     "examples",     "coverage",     ".nyc_output",     ".circleci",     ".github"   ],   "files": [     "Makefile",     "Gulpfile.js",     "Gruntfile.js",     ".DS_Store",     ".tern-project",     ".gitattributes",     ".editorconfig",     ".eslintrc",     ".eslintrc.js",     ".eslintrc.json",     ".eslintignore",     ".stylelintrc",     "stylelint.config.js",     ".stylelintrc.json",     ".stylelintrc.yaml",     ".stylelintrc.yml",     ".stylelintrc.js",     ".htmllintrc",     "htmllint.js",     ".lint",     ".npmignore",     ".jshintrc",     ".flowconfig",     ".documentup.json",     ".yarn-metadata.json",     ".travis.yml",     "appveyor.yml",     ".gitlab-ci.yml",     "circle.yml",     ".coveralls.yml",     "CHANGES",     "LICENSE.txt",     "LICENSE",     "AUTHORS",     "CONTRIBUTORS",     ".yarn-integrity",     ".yarnclean",     "_config.yml",     ".babelrc",     ".yo-rc.json",     "jest.config.js",     "karma.conf.js",     ".appveyor.yml",     "tsconfig.json"   ],   "exts": [".md", ".markdown", ".ts", ".jst", ".coffee", ".tgz", ".swp"] }

License

MIT


上一篇:Pruned-DFT-s-FBMC_Matlab

下一篇:pytorch_pruned_resnet

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...