Browser support

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #26 by @tomhoule — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js
Domain
frontend

Research direction

The issue says the package imports Node built-ins fs and util, which break browser bundles. Find those imports with a search for require('fs'), require('util') or the matching ES imports, and read linked pull request #26 (closed, not merged) to see what was tried. Done means the package builds for a browser target without Node-only imports and its existing tests still pass.

Written by the indexing model from the issue text.

Description

This package currently does not work in the browser due to imports that require Node like fs and util.

It would be nice if this package were isomorphic. We would like to use it on the client side in Prisma Cloud to accept unstructured information from the user (a connection string) and turn that into structured before passing it off to the API.

Dominant language
Rust
Stars
13
Forks
2
Avg merge
3m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prisma/connection-string

All issues in prisma/connection-string

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.