Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngrx/devtools

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/devtools

Developer tools for @ngrx projects

  • 1.3.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@ngrx/devtools

Join the chat at https://gitter.im/ngrx/store Codeship Status for ngrx/devtools npm version

Devtools for @ngrx projects.

@ngrx/store Instrumentation

Devtools currently export experimental instrumentation tools for @ngrx/store. To use them, import instrumentStore and use it when providing your @ngrx/store:

boostrap(App, [ provideStore(reducer), instrumentStore() ]);

Then use the StoreDevtools service and accompanying StoreDevtoolActions to interact with the lifted store:

import {StoreDevtools, StoreDevtoolActions} from '@ngrx/devtools';

@Component({ ... })
class Monitor{
	constructor(private devtools: StoreDevtools){
		this.devtools.state$.subscribe(liftedState => console.log(liftedState));
	}

	reset(){
		this.devtools.dispatch(StoreDevtoolActions.reset());
	}
}

The exported action types and resultant lifted state are currently identical to redux-devtools.

Contributing

Please read contributing guidelines here.

Keywords

FAQs

Package last updated on 09 Mar 2016

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc