PrismarineJS / PrismarineJS/node-minecraft-protocol
Support browser environments
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 290
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 7
Description
Is your feature request related to a problem? Please describe.
It would be great to use this library in "browser-compatible" environments: Chrome, Cloudflare Workers, or Deno. This would open up this library to be used by a wider variety of platforms.
Describe the solution you'd like
At runtime, the library would check if its in a Node environment; otherwise, it would use polyfills or browser native APIs like WebCrypto or fetch.
Additional context
Any TCP-related code would use the Raw Sockets API which is already implemented on Chrome and will soon be added to other platforms.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No files or tests are named. Start by identifying the library's Node-specific runtime dependencies and TCP-related paths, then review how WebCrypto, fetch, and the proposed Raw Sockets API could cover them in Chrome, Cloudflare Workers, and Deno. Done requires a defined compatibility scope and validation that the library runs in the targeted browser environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100