Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
effector-inspector
Advanced tools
| Dark theme and unit tracing | Units in files | | ----------------------------------------------- | ----------------------------------------- | | ![Dark-Traces](https://i.imgur.com/m9arc8u.png) | ![Units](ht
Dark theme and unit tracing | Units in files |
---|---|
npm install --dev effector-inspector
or
yarn add -D effector-inspector
effector/babel-plugin
or @effector/swc-plugin
set up in your project. These plugins add metadata to all effector's units, which is then used by effector-inspector.Check out the documentation of effector/babel-plugin
or @effector/swc-plugin
.
inspector
in your application's entrypoint (something like index.ts
or client.tsx
).import {createInspector} from 'effector-inspector';
createInspector();
One way to do it is to attach inspector to units manually:
import {attachInspector} from 'effector-inspector';
// single units
attachInspector($store);
attachInspector(event);
attachInspector(effectFx);
// or list of them
attachInspector([
$store,
event,
effectFx,
// any number of units in the list
]);
// or by domain
attachInspector(someDomain);
The effector-root
library can be used for convenience, as it provides common root domain for all units.
// index.ts
import {attachInspector, createInspector} from 'effector-inspector';
import {root} from 'effector-root';
createInspector();
attachInspector(root);
Check out effector-root
documentation here.
npm install effector
npm install --dev effector-logger effector-inspector
or yarn
yarn add effector
yarn add -D effector-logger effector-inspector
effector
to effector-logger
client.tsx
or index.tsx
)Initialize effector logger in it first lines.
import {createInspector} from 'effector-inspector';
createInspector();
By default: CTRL+B
in your application
FAQs
| Dark theme and unit tracing | Units in files | | ----------------------------------------------- | ----------------------------------------- | | ![Dark-Traces](https://i.imgur.com/m9arc8u.png) | ![Units](ht
The npm package effector-inspector receives a total of 1,333 weekly downloads. As such, effector-inspector popularity was classified as popular.
We found that effector-inspector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.