🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@propellerads/code-viewer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@propellerads/code-viewer

![size](https://img.shields.io/bundlephobia/min/@propellerads/code-viewer.svg) ![](https://img.shields.io/npm/v/@propellerads/code-viewer.svg?style=flat-square)

1.7.0
latest
Version published
Weekly downloads
216
100%
Maintainers
9
Weekly downloads
 
Created

Codeviawer

size

NPM | Github

Installation

  • yarn add @propellerads/code-viewer or npm install @propellerads/code-viewer -S

How to use

  • import CodeViewer from '@propellerads/code-viewer';
  • And render ```<CodeViewer copyingEnabled elementId="some-id" language="js"

{const suggestions = [{ id: 0, title: 'One' }, { id: 1, title: 'Two' }]} ```

FAQs

Package last updated on 01 Mar 2023

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