🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@metrichor/plasmid

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metrichor/plasmid

Plasmid map visualisations

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
4
Created
Source

Plasmid visualisation

We have recreated the VIXIS plasmid map (http://angularplasmid.vixis.com/) as a reusable web component for all modern web frameworks.

Plasmid DEMO

Using this component

There are three strategies we recommend for using the @metrichor/plasmid web component built with Stencil.

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/@metrichor/plasmid@0.1.6/dist/plasmid/plasmid.esm.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @metrichor/plasmid --save
  • Put a script tag similar to this <script src='node_modules/@metrichor/plasmid/dist/plasmid/plasmid.esm.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install @metrichor/plasmid --save
  • Add an import to the npm packages import @metrichor/plasmid;
  • Then you can use the element anywhere in your template, JSX, html etc

Visualising Plasmid data

To use the Plasmid map visualisation in your HTML you will need to create a plasmid-map tag and appropriate nested tags

See examples

Keywords

plasmid

FAQs

Package last updated on 11 Jul 2022

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