New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

reactotron-apisauce

Package Overview
Dependencies
Maintainers
16
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reactotron-apisauce

A Reactotron plugin for Apisauce.

latest
Source
npmnpm
Version
3.0.7
Version published
Weekly downloads
2.7K
-13.52%
Maintainers
16
Weekly downloads
 
Created
Source

reactotron-apisauce

Converts responses sent via apisauce into Reactotron.

Installing

npm i --save-dev reactotron-apisauce
# or
yarn add -D reactotron-apisauce

Configuring

In the file that you create your Redux store, add these two imports at the top:

// in your reactotron config (where you setup Reactotron) add this as a plugin.
import tronsauce from "reactotron-apisauce"

// then plug it in when you configure Reactotron.

Reactotron.configure()
  .use(tronsauce()) // <-- here we go!!!
  .connect()

// meanwhile, in a different file, when you get a response back
// from apisauce, pass it `Reactotron.apisauce(myAwesomeResponse)`
Reactotron.apisauce(theResponseWeJustTalkedAbout)

// Apisauce has a feature where you can attach a handler to watch
// all requests/response flowing through your api.  You can hook this up:
api.addMonitor(Reactotron.apisauce)

// or if you just wanted to track on 500's
api.addMonitor((response) => {
  if (response.problem === "SERVER_ERROR") Reactotron.apisauce(response)
})

// see https://github.com/infinitered/apisauce for more details.

FAQs

Package last updated on 16 Sep 2025

Did you know?

Socket

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