esformatter-literal-notation

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i esformatter-literal-notation

Weekly Downloads

2,586

Version

1.0.1

License

MIT

Last publish

Collaborators

  • kewah