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

@ngrx/devtools

Package Overview
Dependencies
Maintainers
3
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.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@ngrx/devtools

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

Devtools for @ngrx projects.

Available Devtools

@ngrx/store Instrumentation

To instrument your @ngrx/store and use the devtools, simply call instrumentStore() after you call provideStore() then use the Devtools component:

import {Devtools, instrumentStore} from '@ngrx/devtools';

@Component({
	selector: 'app',
	providers: [
		provideStore(reducer),
		instrumentStore()
	],
	directives: [ Devtools ],
	template: `
		<ngrx-devtools></ngrx-devtools>
	`
})
export class App{ ... }

Customization

To customize the default layout for the devtools, import the devtoolsConfig function, add it to providers with an object with position (top, bottom, left, right), size (0.3) and visible (true). To set different commands for toggling dock visibility and position, use the toggle-command (ctrl-h) and position-command (ctrl-m) inputs on the ngrx-devtools component:

import {Devtools, instrumentStore, devtoolsConfig} from '@ngrx/devtools';

@Component({
	providers: [
		instrumentStore(),
		devtoolsConfig({
			position: 'bottom',
			visible: false,
			size: 0.3
		})
	],
	directives: [ Devtools ],
	template: `
		<ngrx-devtools toggle-command="ctrl-k" position-command="ctrl-e"></ngrx-devtools>
	`
})
export class App{ ... }

Contributing

Please read contributing guidelines here.

Keywords

FAQs

Package last updated on 17 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