esformatter-literal-notation
esformatter plugin that converts array and object constructors to literal notations
Last updated 10 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 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

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