es3ify
Browserify transform to convert ES5 syntax to be ES3-compatible.
Last updated 9 years ago by spicyj .
MIT · Repository · Bugs · Original npm
$ cnpm install es3ify 
SYNC missed versions from official npm registry.

es3ify

Browserify transform to convert quote reserved words in property keys for compatibility with ES3 JavaScript engines like IE8. In addition, trailing commas in array and object literals are removed.

// In
var x = {class: 2,};
x.class = [3, 4,];

// Out:
var x = {"class": 2};
x["class"] = [3, 4];

Run tests with:

npm install -g jasmine-node
jasmine-node spec

Current Tags

  • 0.2.2                                ...           latest (9 years ago)

1 Versions

  • 0.2.2                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org