Skip to content

53js/pack-to-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pack-to-zip

Transform the tgz archive from the npm pack command line to a zip without package folder

Use case

  • Create the Source Bundle for Elastic beanstalk
  • Remove the annoying package root folder in tgz (from the npm pack command)

Install

$ npm install pack-to-zip

Usage

CLI

In your package scripts or with npx.

$ pack-to-zip

Programmatically

why not

const packToZip = require('pack-to-zip');

packToZip();

Related

  • npm-pack - Create a tarball from a package
  • pkg-dir - Find the root directory of a Node.js project or npm package
  • node-archiver - A streaming interface for archive generation
  • decompress - Extracting archives made easy

License

MIT © 53JS

About

Run npm pack and transform to the tgz to a zip without package folder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published