Fast data equal for business data.
npm install @jswork/is-partial-equal
import isPartialEqual from '@jswork/is-partial-equal';
const data1 = { name: 'afei', age: 25 };
const data2 = { name: 'afei' };
console.log(isPartialEqual(data1, data2)); // true
Code released under the MIT license.