donedeal0

donedeal0/superdiff

Superdiff provides a rich and readable diff for arrays, objects, texts and coordinates. It supports stream and file inputs for handling large datasets efficiently, is battle-tested, has zero dependencies, and offers a top-tier performance.

TypeScript
1112
8
No license

", diff: [ { key: "user", value: { name: "joe", + member: false, + hobbies: ["golf", "chess"], age: 66, }, + previousValue: { name: "joe", + member: true, + hobbies: ["golf", "football"], age: 66, }, + status: "updated", diff: [ { key: "member", + value: false, + previousValue: true, + status: "updated", }, { key: "hobbies", + value: ["golf", "chess"], + previousValue: ["golf", "football"], + status: "updated", } ] } ] } ``` ### getListDiff ```js import { getListDiff } from "@donedeal0/superdiff"; ``` Compares two lists and returns a diff for each value and its possible subvalues. Supports lists of any value type. #### FORMAT **Input** ```ts prevData: unknown[]; nextData: unknown[]; options?: { ignoreArrayOrder?: boolean, // false by default, showOnly?:

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of donedeal0/superdiff

Account's avatar
ESLint JavaScript language implementation
Account's avatar
semantic-release plugin to run custom shell commands
Account's avatar
semantic-release plugin to commit release assets to the project's git repository
Account's avatar
Super-fast alternative for babel
Account's avatar
swc integration for jest
Account's avatar
TypeScript definitions for arr-diff
Account's avatar
TypeScript definitions for deep-diff
Account's avatar
TypeScript definitions for jest
Account's avatar
Blob.js implements the W3C Blob interface in browsers that do not natively support it.
Account's avatar
Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.
Account's avatar
Deep diffs two objects, including nested structures of arrays and objects, and return the difference.
Account's avatar
A JavaScript text diff implementation.
Account's avatar
Modern native Git hooks
Account's avatar
Delightful JavaScript Testing.
Account's avatar
A JavaScript implementation of many web standards
Account's avatar
Small, fast, zero dependency deep object and array comparison
Account's avatar
Webpack plugin for swc
Account's avatar
TypeScript execution environment and REPL for node.js, with source map support
Account's avatar
Bundle your TypeScript library with no config, powered by esbuild
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
Tooling which enables you to use TypeScript with ESLint
Account's avatar
Web Streams, based on the WHATWG spec reference implementation

Support the repos that depend on donedeal0/superdiff

Top contributors

DoneDeal0's profile
DoneDeal0
57 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet