Allow users to pass in their own compression-stream function
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, nodejs
- Domain
- backend
Research direction
Start by reviewing how the existing gzip stream is used and how a compression stream can expose the same interface. Compare the brotli package and native C++ addon options mentioned in the issue; done means agreeing on and implementing a defined way for users to provide a compression-stream function.
Written by the indexing model from the issue text.
Description
It looks like FF now accepts brotli compression. I was going to take a stab at implementing a native addon that links libbrotli. Does that seem worthwhile?
We could use this: https://www.npmjs.com/package/brotli, which uses an emscriptenized version of brotli.
Does anyone know of any others brotli modules that could be used? Otherwise, I don't mind starting the C++ add on.
I've been taking a look at how the gzip stream is used here, so I think I can make a nice library that implements the same interface.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 254
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from expressjs/compression
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
expressjs/compression#254 · 2 comments ·
-
Compression v2 Open
expressjs/compression#234 · 1 reaction · 2 assignees ·
-
awaiting more info bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
expressjs/compression#220 · 11 comments · 2 reactions ·
-
Support zstd Openenhancement future
Difficulty 4/5 3-5 days Newbie friendliness 30/100
expressjs/compression#217 · 4 comments · 11 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
expressjs/compression#185 · 9 comments · 1 reaction ·
All issues in expressjs/compression
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
light
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aemdemos/patients-stryker#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·