https://github.com/osfunapps/os-zip-handler-npm
This module contains fundamental zip files manipulation functions to implement in an npm project.
https://github.com/osfunapps/os-zip-handler-npm
nodejs npm tools utils zip
Last synced: 2 months ago
JSON representation
This module contains fundamental zip files manipulation functions to implement in an npm project.
- Host: GitHub
- URL: https://github.com/osfunapps/os-zip-handler-npm
- Owner: osfunapps
- Created: 2019-09-08T14:44:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T15:09:41.000Z (over 5 years ago)
- Last Synced: 2025-03-23T04:45:12.294Z (about 1 year ago)
- Topics: nodejs, npm, tools, utils, zip
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduction
------------
This module contains a fundamental zip files manipulation functions to implement in an npm project.
## Installation
Install via npm:
npm i os-zip-handler
## Usage
Require zip handler:
```js
var zh = require("os-zip-handler")
```
## Functions and signatures:
```js
/**
* Will extract a bunch of zips, from their archive, each to a given destination
*
* @param zips -> could be a dictionary {zipPath: destinationPath} or an array (in this scenario
* the zip will be extracted in the directory they contain)
* @param createIndividualDirs -> will create a directory for each extracted zip to keep
* things in order
*/
extractZips: async function (zips, createIndividualDirs=true)
```
And more...
## Links -> see more tools
* [os-tools-npm](https://github.com/osfunapps/os-tools-npm) -> This module contains fundamental functions to implement in an npm project
* [os-file-handler-npm](https://github.com/osfunapps/os-file-handler-npm) -> This module contains fundamental files manipulation functions to implement in an npm project
* [os-file-stream-handler-npm](https://github.com/osfunapps/os-file-stream-handler-npm) -> This module contains read/write and more advanced operations on files
* [os-xml-handler-npm](https://github.com/osfunapps/os-xml-handler-npm) -> This module will build, read and manipulate an xml file. Other handy stuff is also available, like search for specific nodes
[GitHub - osfunappsapps](https://github.com/osfunapps)
## Licence
ISC