Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
memfs
In-memory file-system with Node's fs API.
responselike
A response-like object for mocking a Node.js HTTP response stream
tinyspy
A minimal fork of nanospy, with more features
sinon
JavaScript test spies, stubs and mocks.
identity-obj-proxy
an identity object using ES6 proxies
nise
Fake XHR and server
@mswjs/interceptors
Low-level HTTP/HTTPS/XHR/fetch request interception library.
msw
Seamless REST/GraphQL API mocking library for browser and Node.js.
mockdate
A JavaScript mock Date object that can be used to change when "now" is.
jest-canvas-mock
Mock a canvas in your jest tests.
axios-mock-adapter
Axios adapter that allows to easily mock requests
aws-sdk-client-mock
Easy and powerful mocking of AWS SDK v3 Clients
jest-fetch-mock
fetch mock for jest
node-mocks-http
Mock 'http' objects for testing Express, Next.js and Koa routing functions
fetch-mock
Mock http requests made using fetch
mongodb-memory-server-core
MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.
proxyquire
Proxies nodejs require in order to allow overriding dependencies during testing.
mock-fs
A configurable mock file system. You know, for testing.
mongodb-memory-server
MongoDB Server for testing (auto-download latest version). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.
next-router-mock
Mock implementation of the Next.js Router