Utility functions to work with table data.
Install with npm:
$ npm install --save @libs-jb/table-data-kit
From @libs-jb/table-data-kit
we can use the following functions:
const table1 = [
["Alice", "30", "alice@example.com"],
["Bob", "25", "bob@example.com"],
];
const table2 = [
["Alice", "30", "alice@example.com"],
["Bob", "25", "bob@example.com"],
];
const { comparator } = require("@libs-jb/table-data-kit");
const similar = comparator(table1, table2);
console.log(similar); // true / false
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jeet Dhandha
Released under the MIT License.