api-diff-viewer
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

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:

  • [x] JsonSchema support
  • [x] OpenApi 3.x support
  • [ ] Swagger support
  • [x] AsyncApi 2.x support
  • [x] Side-by-side compare view
  • [x] Inline compare view
  • [x] Yaml output
  • [x] Json output
  • [x] Compare text by words
  • [x] Collapse/expand blocks
  • [x] View change summary on collaped blocks
  • [x] Collapse/expand all
  • [x] Filter changes by type (Hide unchanged/not filtered lines)
  • [x] Navigation sidebar
  • [x] Non-blocking loading (via WebWorker)
  • [x] 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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.7.2149latest

Version History

VersionDownloads (Last 7 Days)Published
0.7.2149
0.7.10
0.7.00
0.6.1530
0.6.140
0.6.131
0.6.120
0.6.114
0.6.100
0.6.90
0.6.80
0.6.70
0.6.60
0.6.50
0.6.40
0.6.30
0.6.20
0.6.10
0.6.00
0.5.30
0.5.20
0.5.10
0.5.00
0.4.10
0.4.00
0.3.110
0.3.100
0.3.90
0.3.80
0.3.70
0.3.60
0.3.50
0.3.40
0.3.30
0.3.20
0.3.10
0.3.00
0.2.100
0.2.90
0.2.80
0.2.70
0.2.60
0.2.50
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i api-diff-viewer

Weekly Downloads

184

Version

0.7.2

License

MIT

Unpacked Size

1.11 MB

Total Files

35

Last publish

Collaborators

  • udamir