diff2html
- Version 3.4.51
- Published
- 1.99 MB
- 2 dependencies
- MIT license
Install
npm i diff2html
yarn add diff2html
pnpm add diff2html
Overview
Fast Diff to colorized HTML
Index
Variables
Functions
Interfaces
Variables
variable defaultDiff2HtmlConfig
const defaultDiff2HtmlConfig: { outputFormat: OutputFormatType; drawFileList: boolean; renderNothingWhenEmpty: boolean; matchingMaxComparisons: number; maxLineSizeInBlockForComparison: number; matching: import('./types').LineMatchingType; matchWordsThreshold: number; maxLineLengthHighlight: number; diffStyle: import('./types').DiffStyleType; colorScheme: import('./types').ColorSchemeType;};
Functions
Interfaces
interface Diff2HtmlConfig
interface Diff2HtmlConfig extends DiffParser.DiffParserConfig, LineByLineRendererConfig, SideBySideRendererConfig, HoganJsUtilsConfig {}
property drawFileList
drawFileList?: boolean;
property outputFormat
outputFormat?: OutputFormatType;
Package Files (1)
Dependencies (2)
Dev Dependencies (48)
- @eslint/js
- @eslint/json
- @types/diff
- @types/hogan.js
- @types/jest
- @types/node
- @types/nopt
- all-contributors-cli
- autoprefixer
- bulma
- clipboard
- copy-webpack-plugin
- css-loader
- cssnano
- eslint
- eslint-plugin-jest
- eslint-plugin-promise
- file-loader
- globals
- handlebars
- handlebars-loader
- html-webpack-plugin
- husky
- image-webpack-loader
- is-ci-cli
- jest
- lint-staged
- markdown-toc
- mini-css-extract-plugin
- mkdirp
- nopt
- postcss
- postcss-cli
- postcss-import
- postcss-loader
- postcss-preset-env
- prettier
- prettier-2
- ts-jest
- ts-loader
- ts-node
- typescript
- typescript-eslint
- url-loader
- webpack
- webpack-cli
- webpack-dev-server
- whatwg-fetch
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/diff2html
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/diff2html)
- HTML<a href="https://www.jsdocs.io/package/diff2html"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1931 ms. - Missing or incorrect documentation? Open an issue for this package.