<commit_before># smart-zip

Usage
-----

```javascript

var smartZip = require("smart-zip");

// Use to don't put files into .zip, each match won't be inserted into .zip
var regexExcludes = ['index.html'];

smartZip.zip('app\\','zip.zip',false,regexExcludes,function(error){
	if (error) {
		throw error;
	}
	console.log('OK');
});

smartZip.zip('app\\','zipTopLevel.zip',true,regexExcludes,function(error){
	if (error) {
		throw error;
	}
	console.log('OK');
});

smartZip.unzip("app1.zip","app1",function(error) {
	if (error) {
		throw error;
	}
	console.log('OK');
});

```<commit_msg>Removed the dependencies not used and changed to work on windows and ios.<commit_after># smart-zip

Removed the dependencies not used and changed to work on windows and ios.

Usage
-----

```javascript

var smartZip = require("smart-zip");

// Use to don't put files into .zip, each match won't be inserted into .zip
var regexExcludes = ['index.html'];

// Generate zip without top folder
smartZip.zip('app\\','zip.zip',false,regexExcludes,function(error){
	if (error) {
		throw error;
	}
	console.log('zip file created without top folder.');
});

// Generate zip with top folder
smartZip.zip('app\\','zipTopLevel.zip',true,regexExcludes,function(error){
	if (error) {
		throw error;
	}
	console.log('zip file created with top folder.');
});

// Unzip the files
smartZip.unzip("app1.zip","app1",function(error) {
	if (error) {
		throw error;
	}
	console.log('File unziped.');
});

```
{'fraction_non_alphanumeric': 0.17471108089734874, 'fraction_numerical': 0.002719238613188307, 'mean_word_length': 4.391941391941392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3327218', 'n_tokens_mistral': 524, 'n_tokens_neox': 498, 'n_words': 133}