您现在的位置是:网站首页> NodeJS

nodejs代码加密

  • NodeJS
  • 2022-08-11
  • 783人已阅读
摘要

https://www.npmjs.com/package/dir-compress

how to use

npm install dir-compress

var compresser = require('dir-compress');

compresser.compress({

    rootPath: 'folder want to be compressed',

    newRootPath: 'new dir root',

    exclude: ['/folder'] //this path is relative to rootPath, which will not be compressed

})


Top