Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zipster

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zipster

TypeScript library built for Node backends to create ZIP files with password protection

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
63
increased by34.04%
Maintainers
1
Weekly downloads
 
Created
Source

Zipster

Zipster aims to enable developers to easily create password-protected ZIP files. This library relies on a combination of other libraries to function correctly as well as built-in Node functionality.

Although the core behind Zipster is password-protected ZIP files, you can also create passwordless ZIP files and pass in a number of different options to configure how your ZIP files are created.

This project is still in development. Please report any bugs or feature requests as an issue.

Installation

Use the following command to install the package:

npm i zipster

Usage

The following example will create a password-protected ZIP file called protected.zip in the execution directory, containing the test.csv with the password to access the ZIP being foo-fighters.

const fileToZip = './src/test.csv'
const options: Options = {
  format: Formats.ZIP_ENCRYPTABLE,
  password: 'foo-fighters',
  output: {
    name: 'protected',
    directory: __dirname
  }
}

const zipster = new Zipster()
zipster.create(fileToZip, options)
  .then((outputDirectory: string) => console.log({ outputDirectory }, 'Successfully created ZIP'))

FAQs

Package last updated on 06 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc