Socket
Socket
Sign inDemoInstall

@metamask/docusaurus-openrpc

Package Overview
Dependencies
Maintainers
9
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/docusaurus-openrpc

A Docusaurus plugin for generating interactive documentation from your OpenRPC document


Version published
Weekly downloads
150
increased by17.19%
Maintainers
9
Weekly downloads
 
Created
Source

Docusaurus OpenRPC Plugin

A Docusaurus plugin for OpenRPC.

How to use the plugin

  1. install @metamask/docusaurus-openrpc
  2. add the plugin to your docusaurus config:
[
      "@metamask/docusaurus-openrpc",
      /** @type {import('@docusaurus/plugin-content-docs').PluginOptions} */
      {
        path: "/api-playground",
        openrpcDocument: "./path/to/openrpc.json" // path or url to openrpc document.
      },
    ]

Development

In development, you can use yarn link in this repo, then run yarn link "@metamask/docusaurus-openrpc" in your project (metamask-docs, for example). Finally, run yarn build:watch in this repo to rebuild the plugin as you make changes.

FAQs

Package last updated on 23 May 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

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