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

@viamrobotics/prime-editor

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viamrobotics/prime-editor

## Getting started

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@viamrobotics/prime-editor

Getting started

@viamrobotics/prime-editor is a collection of Svelte components that wrap code-editing tools.

This primarily based around Codemirror

Installation

Install use the README instructions at @viamrobotics/prime-core to install prime-core. Then install prime-editor using your package manager of choice:

pnpm add --save-dev @viamrobotics/prime-editor

These components require that ssr is disabled. Ensure that you have a +layout.ts above all pages that use these components:

export const prerender = false;
export const ssr = false;

Usage

Once installed, you can use the components in your app:

<script lang="ts">
  import { JsonEditor } from '@viamrobotics/prime-editor';
</script>

<JsonEditor
  initialValue={'{"a": "b"}'}
  label="editor"
  onChange={(e) => console.log(e)}
/>

FAQs

Package last updated on 27 Aug 2024

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