{"id":13419607,"url":"https://github.com/waveto/node-compress","last_synced_at":"2026-03-10T23:31:34.307Z","repository":{"id":732541,"uuid":"381992","full_name":"waveto/node-compress","owner":"waveto","description":"A streaming compression / gzip library for node.js","archived":false,"fork":false,"pushed_at":"2010-01-14T15:42:35.000Z","size":113,"stargazers_count":126,"open_issues_count":14,"forks_count":49,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-07-31T22:50:42.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/waveto.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-11-22T23:39:55.000Z","updated_at":"2023-12-08T19:48:53.000Z","dependencies_parsed_at":"2022-07-18T12:19:09.437Z","dependency_job_id":null,"html_url":"https://github.com/waveto/node-compress","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/waveto%2Fnode-compress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveto%2Fnode-compress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveto%2Fnode-compress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/waveto%2Fnode-compress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/waveto","download_url":"https://codeload.github.com/waveto/node-compress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221541961,"owners_count":16840123,"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-07-30T22:01:18.332Z","updated_at":"2026-03-10T23:31:34.288Z","avatar_url":"https://github.com/waveto.png","language":"C++","funding_links":[],"categories":["TODO scan for Android support in followings"],"sub_categories":[],"readme":"node-compress\n=============\n\nA streaming compression / gzip module for node.js\n\nTo install, ensure that you have libz installed, and run:\n\nnode-waf configure \nnode-waf build\n\nThis will put the compress.node binary module in build/default. \n\n\nQuick example\n-------------\n\nvar compress=require(\"./compress\");\nvar sys=require(\"sys\");\nvar posix=require(\"posix\");\n\n// Create gzip stream\nvar gzip=new compress.Gzip;\ngzip.init();\n\n// Pump data to be compressed\nvar gzdata1 = gzip.deflate(\"My data that needs \", \"binary\"); \nsys.puts(\"Compressed size : \"+gzdata1.length);\n\nvar gzdata2 = gzip.deflate(\"to be compressed. 01234567890.\", \"binary\"); \nsys.puts(\"Compressed size : \"+gzdata2.length);\n\nvar gzdata3 = gzip.end();\nsys.puts(\"Last bit : \"+gzdata3.length);\n\n// Normally stream this out as its generated, but just print here\nvar gzdata = gzdata1+gzdata2+gzdata3;\nsys.puts(\"Total compressed size : \"+gzdata.length);\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaveto%2Fnode-compress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaveto%2Fnode-compress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaveto%2Fnode-compress/lists"}