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

@c8s/cracker

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@c8s/cracker

tbw

0.0.3
latest
npm
Version published
Weekly downloads
2
100%
Maintainers
2
Weekly downloads
 
Created
Source

@c8s/cracker

tbw

github npm:version typescript license browserslist code style:prettier

Usage

/**
 * As to prepare of using the `cracker`
 * 
 * ```sh
 * yarn add @c8s/cracker react @types/react
 * ```
 */
import Cracker from '@c8s/cracker';

Example

() => (
  <Cracker
    // when a `[data-tag='img']` reached the display area,
    // to insert element as `<img src="//xxx.com/xxx.png">`
    query="[data-tag='img']"
    dangerouslySetInnerHTML={{
      __html: '<div data-tag="img" data-src="//xxx.com/xxx.png"></div>
    }}
  />
);

Contributors

Thanks goes to these wonderful people (emoji key):



📖

Aki-Japan

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Package last updated on 27 Jan 2019

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