Socket
Socket
Sign inDemoInstall

api-diff-viewer

Package Overview
Dependencies
9
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    api-diff-viewer

React component to view the difference between two Json based API documents


Version published
Maintainers
1
Install size
2.28 MB
Created

Readme

Source

api-diff-viewer

npm npm npm type definitions GitHub

React component to view the difference between two Json based API documents. Supported specifications: JsonSchema, OpenAPI 3.x, AsyncAPI 2.x.

View online demo and Storybook

Current status and plans:

  • JsonSchema support
  • OpenApi 3.x support
  • Swagger support
  • AsyncApi 2.x support
  • Side-by-side compare view
  • Inline compare view
  • Yaml output
  • Json output
  • Compare text by words
  • Collapse/expand blocks
  • View change summary on collaped blocks
  • Collapse/expand all
  • Filter changes by type (Hide unchanged/not filtered lines)
  • Navigation sidebar
  • Non-blocking loading (via WebWorker)
  • Custom themes support
  • Default themes
  • WebComponent
  • Performance improvement
  • Tests

Documentation

Installation

# Yarn
yarn add api-diff-viewer

# NPM
npm install api-diff-viewer

✨ Checkout the stories here for a detailed documentation.

Development

Install

yarn install

Develop

yarn storybook

License

MIT

Keywords

FAQs

Last updated on 03 Feb 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc