npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "when" 的结果(共 35 个)
finished

Execute a callback when a request closes, finishes, or errors

MIT
deprecate

Mark methods as deprecated and warn the user when they're called

MIT
es-set-tostringtag

A helper to optimistically set Symbol.toStringTag, when possible.

MIT
pause-stream

a ThroughStream that strictly buffers all readable events when paused.

death

Gracefully cleanup when termination signals are sent to your process.

streamroller

file streams that roll over when size limits, or dates are reached

MIT
on-headers

Execute a listener when a response is about to write headers

MIT
flagged-respawn

A tool for respawning node binaries when special flags are present.

MIT
async-exit-hook

Run some code when the process exits (supports async hooks and pm2 clustering)

MIT
string-argv

string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.

MIT
own-keys

Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible

MIT
settle-promise

Like `Promise.all`, but when all `Promise`s are settled.

MIT
@nuxtjs/devalue

Gets the job done when JSON.stringify can't

LIL
vite-plugin-vue-inspector

Jump to local IDE source code when clicking Vue elements in the browser.

MIT
p-finally

`Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome

MIT
lazy-cache

Cache requires to be lazy-loaded when needed.

MIT
get-value

Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).

MIT
mute-stream

Bytes go in, but they don't come out (when muted).

ISC
p-lazy

Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called

MIT
little-popo

will be retired when popo reaches v0.1

babel-plugin-minify-dead-code-elimination

Inlines bindings when possible. Tries to evaluate expressions and prunes unreachable as a result.

MIT
sucrase

Super-fast alternative to Babel for when you can target modern JS runtimes

MIT
fix-dts-default-cjs-exports

Utility to fix TypeScript declarations when using default exports in CommonJS.

MIT
when-exit

Execute a function right before the process, or the browser's tab, is about to exit.

MIT
with-callback

A small helper function to bridge the gap when returning a promise from a function that takes a callback

MIT
until-stream

A PassThrough stream that stops piping when a pattern is reached

babel-preset-jest

> Babel preset for all Jest plugins. This preset is automatically included when using [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest).

MIT
grunt-watch-nospawn

Run predefined tasks whenever watched file patterns are added, changed or deleted.