Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

npmjs.org "mock-require" keyword

mock-require-lazy 1.0.1
Simple, intuitive mocking of Node.js modules. Fork of mock-require adding lazy require and is a d...
3 versions - Latest release: almost 2 years ago - 4 dependent packages - 33 dependent repositories - 233 downloads last month - 0 stars on GitHub - 1 maintainer
unexpected-require 2.1.0
Easily mock out required modules using Unexpected and mock-require
3 versions - Latest release: over 5 years ago - 1 dependent package - 1 dependent repositories - 15 downloads last month - 1 stars on GitHub - 2 maintainers
Top 2.5% on npmjs.org
@putout/plugin-convert-mock-require-to-mock-import 4.1.1 πŸ’°
🐊Putout plugin adds ability to convert mockRequire to mockImport
9 versions - Latest release: 7 months ago - 4 dependent packages - 71 dependent repositories - 56.5 thousand downloads last month - 646 stars on GitHub - 1 maintainer
mock-path-with-spy-that-returns-x 2.0.0 deprecated
Mocks a path with a spy that returns x
3 versions - Latest release: over 7 years ago - 2 dependent packages - 1 dependent repositories - 4 downloads last month - 0 stars on GitHub - 1 maintainer
mock-path-with-simple-spy 4.0.0 deprecated
Mocks a path with a spy that returns x
2 versions - Latest release: over 7 years ago - 2 dependent packages - 1 dependent repositories - 2 downloads last month - 0 stars on GitHub - 1 maintainer