CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-setprototypeof

A small polyfill for Object.setPrototypeOf with cross-platform compatibility

82

1.02x
Overview
Eval results
Files

Evaluation results

100%

Prototype Rebinding Utility

Native Object.setPrototypeOf passthrough

Criteria
Without context
With context

Imports package

100%

100%

Rebinds prototype

100%

100%

Null prototype support

100%

100%

Prototype validation

100%

100%

85%

-5%

Prototype Adapter Utility

TypeScript declaration for setPrototypeOf signature

Criteria
Without context
With context

Import usage

100%

100%

In-place calls

100%

100%

Clone calls

50%

25%

Null handling

100%

100%

Typed signature

100%

100%

100%

Prototype Reference Keeper

Returns original object after prototype change

Criteria
Without context
With context

Imports package

100%

100%

Single rebind

100%

100%

Own props intact

100%

100%

Null prototype

100%

100%

Bulk rebind

100%

100%

80%

15%

Prototype Rebinding Helper

__proto__ assignment fallback

Criteria
Without context
With context

Imports package

100%

100%

Prototype calls

100%

100%

Fallback reliance

0%

25%

Null handling

100%

100%

Return usage

0%

66%

45%

Legacy Prototype Bridge

Legacy property mixin fallback when prototypes unsupported

Criteria
Without context
With context

Imports helper

100%

100%

Prototype path

100%

100%

Legacy mixin path

0%

0%

Single mechanism

0%

0%

Install with Tessl CLI

npx tessl i tessl/npm-setprototypeof
Evaluated
Agent
Claude Code

Table of Contents