print total records

This commit is contained in:
Alexander Popov 2023-01-04 23:57:33 +03:00
parent de9ed51968
commit 1c0ad5cc56

View File

@ -48,6 +48,7 @@ function exportJson(badgesArray) {
json = JSON.stringify(badgesArray);
console.log(json);
console.log(`Total records: ${badgesArray.length}.`);
console.log(`Size: ${byteSize(json)} bytes.`)
}