npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "called" 的结果(共 8 个)
deprecate

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

MIT
jasmine-pit

Writing tests for promises in jasmine is kind of a pain in the ass. jasmine-pit makes doing such things a tiny bit easier by providing an augmented version of `it()` (called `pit()`) that allows you to simply return a promise that may eventually assert ex

MIT
onetime

Ensure a function is only called once

MIT
@pnpm/read-importer-manifest

Read an importer manifest (called package.json in most cases)

MIT
jest-docblock

`jest-docblock` is a package that can extract and parse a specially-formatted comment called a "docblock" at the top of a file.

MIT
p-lazy

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

MIT
@pnpm/write-importer-manifest

Write an importer manifest (called package.json in most cases)

MIT
flush-write-stream

A write stream constructor that supports a flush function that is called before finish is emitted

MIT