Utilisez le format pg comme ci-dessous.
var format = require('pg-format');
var values = [
[7, 'john22', '[email protected]', '9999999922'],
[6, 'testvk', '[email protected]', '88888888888']
];
client.query(format('INSERT INTO users (id, name, email, phone) VALUES %L', values),[], (err, result)=>{
console.log(err);
console.log(result);
});