esformatter-literal-notation
v1.0.1
Published
esformatter plugin that converts array and object constructors to literal notations
Downloads
26,015
Maintainers
Readme
esformatter-literal-notation
esformatter plugin that converts array and object constructors to literal notations
var foo = new Array();
// converted to:
var foo = [];
var bar = new Object();
// converted to:
var bar = {};
Install
With npm do:
$ npm install esformatter-literal-notation
Usage
esformatter config file:
{
"plugins": [
"esformatter-literal-notation"
]
}
License
MIT