### Install Diffblazer via npm Source: https://github.com/thecodrr/diffblazer/blob/main/README.md This command installs the Diffblazer package using npm, making it available for use in your Node.js project. Ensure you have Node.js and npm installed. ```bash npm install diffblazer ``` -------------------------------- ### Run Diffblazer Benchmarks Source: https://github.com/thecodrr/diffblazer/blob/main/README.md This command executes the benchmarks included in the Diffblazer project to measure its performance. It requires npm to be installed and the project dependencies to be set up. ```bash npm run bench ``` -------------------------------- ### Plaintext Diffing with Custom Markers Source: https://github.com/thecodrr/diffblazer/blob/main/README.md Shows how to perform diffing on plain text and customize the markers used to highlight insertions. This example uses double asterisks for inserted text. The 'diff' function accepts an options object for marker customization. ```typescript import { diff } from 'diffblazer' const oldText = 'hello world' const newText = 'hello beautiful world' diff(oldText, newText, { markers: { insert: { start: '**', end: '**', }, }, }) // Output: hello **beautiful** world ``` -------------------------------- ### Run Diffblazer Tests Source: https://github.com/thecodrr/diffblazer/blob/main/README.md Executes the test suite for Diffblazer to ensure code integrity and functionality. This command should be run before contributing or when making changes to the codebase. ```bash npm run test ``` -------------------------------- ### Basic HTML Diffing with Diffblazer Source: https://github.com/thecodrr/diffblazer/blob/main/README.md Demonstrates the core functionality of Diffblazer by comparing two HTML strings. It highlights how differences are marked with default 'ins' tags. This requires importing the 'diff' function from the 'diffblazer' library. ```typescript import { diff } from 'diffblazer' const oldHtml = '
hello world
' const newHtml = 'hello world!
' diff(oldHtml, newHtml) // Output:hello world!
``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.