npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "Shim" 的结果(共 40 个)
node-environment-flags

> Polyfill/shim for `process.allowedNodeEnvironmentFlags`

Apache-2.0
shimmer

Safe(r) monkeypatching for JavaScript.

BSD-2-Clause
use-sync-external-store

Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.

MIT
@zkochan/cmd-shim

Used in pnpm for command line application support

BSD-2-Clause
execify

A module for shimmimg between execution modes: streams, promises, and callbacks

array.prototype.map

An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.

MIT
buffer-shims

some shims for node buffers

MIT
promise.prototype.finally

ES Proposal spec-compliant shim for Promise.prototype.finally

MIT
reflect.ownkeys

ES2015 spec-compliant shim for Reflect.ownKeys

MIT
object-is

ES2015-compliant shim for Object.is - differentiates between -0 and +0

MIT
@lit-labs/ssr-dom-shim

DOM shim for Lit Server Side Rendering (SSR)

BSD-3-Clause
read-cmd-shim

Figure out what a cmd-shim is pointing at. This acts as the equivalent of fs.readlink.

ISC
array-includes

An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.

MIT
array.prototype.tosorted

An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.

MIT
object.hasown

ES spec-compliant shim for Object.hasOwn

MIT
array.prototype.flatmap

An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.

MIT
es-iterator-helpers

An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.

MIT
array.prototype.toreversed

An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.

MIT
array.prototype.findlast

An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.

MIT
es6-module-loader

An ES6 Module Loader shim

es5-shim

ECMAScript 5 compatibility shims for legacy JavaScript engines

MIT
array.prototype.reduce

An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.

MIT