es3ify
    Overview
    Documentation
    Tutorials
    Insights
    Code
    Dependencies
    Contributors
    Jobs

es3ify

Browserify transform to convert ES5 syntax to be ES3-compatible.

0.2.2  •  Updated 3 years ago  •  by Sophie Alpert  •  MIT License

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

Popularity

Weekly Downloads
42.2K
Stars
112

Maintenance

Development

Last ver 4 years ago
Created 6 years ago
Last commit 6 months ago
3 months between commits

Technology

Node version: 4.1.0
0 unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

6 contributors
Ben Alpert
Maintainer, 15 commits, 6 merges
Works at Humu
Rico Sta. Cruz
2 commits, 2 PRs
Kevin WENNER
2 commits
Calvin Metcalf
1 commits, 2 PRs
Works at AppGeo
JUNG YONG WOO
1 commits, 1 PRs
bren brightwell
1 commits, 1 PRs
Works at Financial-Times
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.