react-diffview

0.1.46 • Public • Published

npm version Build Status Total downloads

diffview

React component to display unified diffs.

TODO

  • remove dependency on qwest in demo app, use fetch api
  • support unified diff
  • highlight code with prism.js
  • fix parse-diff to support single patch (e.g. fetched from github) without diff header
  • split view
  • github styles
  • allow to customize highlight function

/react-diffview/

    Package Sidebar

    Install

    npm i react-diffview

    Weekly Downloads

    6

    Version

    0.1.46

    License

    MIT

    Last publish

    Collaborators

    • sergeyt