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

gulp-lzstring

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-lzstring

LZW-based compression for Gulp

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-lzstring

Compresses files using lz-string.

Usage

Install this plugin using npm:

npm install --save-dev gulp-lz-string

In order to compress or decompress a file, use the following syntax in your Gulpfile:

var lzString = require('gulp-lz-string');

gulp.task('lz', function(){
  gulp.src([
    'data/readme.md'
  ])
  .pipe(lzString({
    mode : 'compress'
  }))
  .pipe(gulp.dest('lz/'));
});

Options

This plugin takes two optional parameters:

mode {string}

You can compress or decompress files.

base64 {boolean}

If you choose to encode the compressed files using base64 instead of working with buffers, you can enable this encoding here.

Changelog

0.0.1 - 03/11/2015

Initial release.

Licence

          DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                      Version 2, December 2004

   Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

   Everyone is permitted to copy and distribute verbatim or modified
   copies of this license document, and changing it is allowed as long
   as the name is changed.

              DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    0. You just DO WHAT THE FUCK YOU WANT TO.

FAQs

Package last updated on 11 Mar 2015

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