This reminds me of I guy I met who was trying to build a clone of Twitter, but with messages of unlimited length. In his view this made it objectively "better". He understood the what of the software, but not the why.
If you really want ES5 for writing package.json files, then you could save the time and effort by just using ES5:
var _ =
{
some: 'object literal',
// a comment
num: 3,
}
fs.writeFileSync(path.basename(__filename, '.js') + '.json', JSON.stringify(_))
If you really want ES5 for writing package.json files, then you could save the time and effort by just using ES5: