New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

inspector-component

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inspector-component

Inspector webcomponent based on react-inspector

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

inspector-component Published on webcomponents.org

Inspector webcomponent based on react-inspector

Installation

npm: npm install inspector-component --save-dev

bower: bower install inspector-component --save-dev

Usage

Only for ES6 supporting browsers

<script src="bower_components/inspector-components/dist/inspector-component.js"></script>

<inspector-component data='["56dcf573b09c217d39fd7621", "Hello World"]'></inspector-component>
<inspector-component data='{"_id":"56dcf573b09c217d39fd7621", "name":"Hello World"}'></inspector-component>

Demo

<div>
  One: <inspector-component data='Hello World'></inspector-component><br/>
</div>
<div>
  Two: <inspector-component data='["56dcf573b09c217d39fd7621", "Hello World"]'></inspector-component><br/>
</div>
<div>
  Three: <inspector-component data='{"_id":"56dcf573b09c217d39fd7621", "name":"Hello World"}'></inspector-component><br/>
</div>

<script>
var i = 0;
var interval = setInterval(function() {
  document.querySelector('inspector-component').log({log: i++});
}, 2000);
setTimeout(function() {
  clearInterval(interval);
}, 2000*60)
</script>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

  • 1.0.0: Refactored, breaking changes. Now only usable in ES6 enabled browsers
  • 0.1.2: Added Demo
  • 0.1.1: Fixed for Bower
  • 0.1.0: Initial Version

Credits

react-inspector

License

MIT

FAQs

Package last updated on 07 Feb 2018

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