1.0.1 • Published 9 years ago

esformatter-literal-notation v1.0.1

Weekly downloads
3,070
License
MIT
Repository
github
Last release
9 years ago

esformatter-literal-notation Build Status

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