{"id":22793654,"url":"https://github.com/cmtt/gulp-lzstring","last_synced_at":"2025-03-30T17:25:44.684Z","repository":{"id":148056257,"uuid":"32036023","full_name":"cmtt/gulp-lzstring","owner":"cmtt","description":"Compresses files using lz-string.","archived":false,"fork":false,"pushed_at":"2015-03-11T19:12:15.000Z","size":104,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T19:34:22.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmtt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-11T19:08:46.000Z","updated_at":"2023-03-08T04:59:17.000Z","dependencies_parsed_at":"2023-03-27T12:34:05.045Z","dependency_job_id":null,"html_url":"https://github.com/cmtt/gulp-lzstring","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fgulp-lzstring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fgulp-lzstring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fgulp-lzstring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmtt%2Fgulp-lzstring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmtt","download_url":"https://codeload.github.com/cmtt/gulp-lzstring/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246352960,"owners_count":20763566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T03:28:11.835Z","updated_at":"2025-03-30T17:25:44.666Z","avatar_url":"https://github.com/cmtt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-lzstring\n\u003e Compresses files using [lz-string](https://github.com/pieroxy/lz-string).\n\n## Usage\n\nInstall this plugin using npm:\n\n```shell\nnpm install --save-dev gulp-lz-string\n```\n\nIn order to compress or decompress a file, use the following syntax in your\nGulpfile:\n\n```javascript\nvar lzString = require('gulp-lz-string');\n\ngulp.task('lz', function(){\n  gulp.src([\n    'data/readme.md'\n  ])\n  .pipe(lzString({\n    mode : 'compress'\n  }))\n  .pipe(gulp.dest('lz/'));\n});\n```\n\n## Options\n\nThis plugin takes two optional parameters:\n\n##### ``mode {string}``\n\nYou can ``compress`` or ``decompress`` files.\n\n##### ``base64 {boolean}``\n\nIf you choose to encode the compressed files using base64 instead of working\nwith buffers, you can enable this encoding here.\n\n## Changelog\n\n0.0.1 - 03/11/2015\n\nInitial release.\n\n## Licence\n````\n          DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n                      Version 2, December 2004\n\n   Copyright (C) 2004 Sam Hocevar \u003csam@hocevar.net\u003e\n\n   Everyone is permitted to copy and distribute verbatim or modified\n   copies of this license document, and changing it is allowed as long\n   as the name is changed.\n\n              DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n    0. You just DO WHAT THE FUCK YOU WANT TO.\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmtt%2Fgulp-lzstring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmtt%2Fgulp-lzstring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmtt%2Fgulp-lzstring/lists"}