browserify / browserify/node-util

Add `types`

Open
#52 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
255
Forks
92
PR merge metrics
No merged PRs in 30d

Description

https://nodejs.org/api/util.html#util_util_types

They work cross-realm (at least for `Error` coming from a new `vm.Context`). Not sure if it's worth it for you to work cross-realm, but just doing `instanceof` should work OK as a shim, think?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Node.js util.types documentation linked in the issue and compare its cross-realm behavior, especially for Error objects from a new vm.Context. No repository file or test is named; done means the requested types API is added with behavior matching the intended shim scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.