This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Description
It would be great if this could have an option to support comma first syntax. An example:
var target =
{ host: this.domain
, port: this.port
, path: '/'
, method: 'GET'
, agent: false
, headers: { 'User-Agent': 'Mozilla/5.0' }
}
We use the above formatting for objects, and ArgWrap will correctly wrap this down to one line, however when wrapping that one line back out to a multi-line object, it defaults to comma last (Example below), having an option to create the object in the above format would be amazing!
var target =
{
host: this.domain,
port: this.port,
path: '/',
method: 'GET',
agent: false,
headers: { 'User-Agent': 'Mozilla/5.0' }
}