esformatter-literal-notation
esformatter plugin that converts array and object constructors to literal notations
Last updated 9 years ago by kewah .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install esformatter-literal-notation 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (9 years ago)

2 Versions

  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 2
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE