Socket
Socket
Sign inDemoInstall

@neuralegion/nexmock

Package Overview
Dependencies
12
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @neuralegion/nexmock

Mock http requests made using fetch (or isomorphic-fetch)


Version published
Weekly downloads
21
increased by425%
Maintainers
2
Install size
4.57 MB
Created
Weekly downloads
 

Readme

Source

nexmock

Mock http requests made using fetch based on fetch-mock

node version licence

fetchMock.mock('http://example.com', 200);
const res = await fetch('http://example.com');
assert(res.ok);
fetchMock.restore();

Requirements

fetch-mock requires the following to run:

Documentation and Usage

See the fork website and example

License

nexmock is licensed under the MIT license. Copyright © 2019, NeuraLegion

Third-party license

fetch-mock is licensed under the MIT license. Copyright © 2019, Rhys Evans

Keywords

FAQs

Last updated on 13 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc