New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uzip

Package Overview
Dependencies
Maintainers
2
Versions
450
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uzip - npm Package Compare versions

Comparing version

to
0.20191012.0

2

package.json
{
"name": "uzip",
"version": "0.20191011.0",
"version": "0.20191012.0",
"files": [ "LICENSE", "README.md", "UZIP.js", "package.json" ],

@@ -5,0 +5,0 @@ "main": "./UZIP",

@@ -10,2 +10,18 @@ # UZIP.js

## Installation
**Web**: Add the `UZIP.js` script to your webpage:
```html
<script src="UZIP.js"></script>
```
**NodeJS**: Install the [`uzip` package](https://www.npmjs.com/package/uzip):
```
npm install uzip
```
## Interface
#### `UZIP.parse(buff)`

@@ -21,4 +37,6 @@ * `buff`: ArrayBuffer of the ZIP file

```js
var obj = { "file.txt":new Uint8Array([72,69,76,76,79]), "dir/photo.jpg":..., "dir/pic.png":... };
var zip = UZIP.encode(obj);
```

@@ -25,0 +43,0 @@ ## Deflate compression