Skip to content

Conversation

@achingbrain
Copy link
Member

@achingbrain achingbrain commented Mar 26, 2025

@achingbrain/http-parser-js is a fork of http-parser-js that converts it to ESM and uses Uint8Arrays instead of node Buffers. It is 6.6kb.

@perseveranza-pets/milo is 84.7kb.

Fixes #35

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

`@achingbrain/http-parser-js` is a ESM port of `http-parser-js` that
uses `Uint8Array`s instead of node `Buffer`s and is 6.6kb.

`@perseveranza-pets/milo` is 84.7kb.
@achingbrain
Copy link
Member Author

Before (133.9KB):

image

After (54.8KB):

image

@achingbrain achingbrain merged commit 7466502 into main Mar 26, 2025
20 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 26, 2025
## [2.2.1](v2.2.0...v2.2.1) (2025-03-26)

### Bug Fixes

* replace @perseveranza-pets/milo with @achingbrain/http-parser-js ([#51](#51)) ([7466502](7466502)), closes [#35](#35)
@github-actions
Copy link

🎉 This PR is included in version 2.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace @perseveranza-pets/milo with something smaller

2 participants