1.0.5 • Published 5 years ago

os-zip-handler v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Introduction

This module contains fundamental zip files manipulation functions to implement in an npm project.

Installation

Install via npm:

npm i os-zip-handler

Usage

Require zip handler:

var zh = require("os-zip-handler")

Functions and signatures:

/**
 * 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 -> This module contains fundamental functions to implement in an npm project
  • os-file-handler-npm -> This module contains fundamental files manipulation functions to implement in an npm project
  • os-file-stream-handler-npm -> This module contains read/write and more advanced operations on files
  • 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

Licence

ISC

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago