Comments (13)
like for fs
and timers
, ideally, you should be able to require zlib/promises
.
However it has not been implemented yet and zlib
doesnt have promise based apis
from node.
Could you do it for me
from node.
I'm not an expert on ZLIB (or even a novice), but someone will likely implement it eventually. However, it will take time, so I wouldn't expect it anytime soon.
from node.
Just curious, but what's wrong with the util.promisify
way?
from node.
i just ugly having to declare each function separatly and having to import another lib to the code
from node.
im referring to brotli but it would also be good for gzip, deflate, etc.
from node.
Yes but why are they not inside zlib? Its just confusing
from node.
from node.
For other api like fs
we ship the promise based version in fs/promises
.
In case of zlib this has not been done, if someone is interested in implementing it I wouldnt object
from node.
Should I add "help wanted" for someone to take on the issue?
(ping) @nodejs/zlib in case they are already on the case
from node.
so this feature will actualy will be shiped to node?
from node.
Member
but why dont just make their async function inside zlib 🙄
from node.
so this feature will actualy will be shiped to node?
It's possible, but someone would have to implement it, so that takes time and energy.
from node.
Related Issues (20)
- [Bug]: Vite Wallet does not run correctly after building it on Microsoft Windows. HOT 1
- Random wrong encoding of strings returned by .replace function HOT 1
- nodejs crashes at stream.c due to queue size assertion HOT 5
- Flaky text encoding regression in Node 22 HOT 1
- Reuse Blob Registry in Workers
- exec command 'playerctl status' does not work HOT 1
- test_runner: `latest.js` file is included by default HOT 1
- `cpSync` symlink handling regression HOT 3
- Node-API V8 Fast API HOT 2
- Nominating @abmusse to be a collaborator HOT 1
- Node 22.1+ crashes process when a lot of VM processes are created/destroyed in parallel workers HOT 6
- build warning with gcc 12 HOT 4
- Buffer to string conversion fails after a few KB of load. HOT 1
- Use the compilation cache when running typescript files through `--experimental-transform-types` HOT 5
- Encoding Issue with Special Characters in Node.js 22 Docker Image HOT 1
- `--experimental-test-coverage` falsely reports missing coverage where TS source is `import type` HOT 1
- BlueBot
- Bot oficial
- Bad error message in `--experimental-test-coverage` output when a source maps source module is missing HOT 1
- Expose `setMaxListeners` property on `AbortSignal` HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.