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

api-diff-viewer

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

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

0.7.2
latest
Source
npm
Version published
Weekly downloads
228
66.42%
Maintainers
1
Weekly downloads
 
Created
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

react

FAQs

Package last updated on 03 Feb 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