You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nate Goldman 31ea9d727f 1.0.1 2 years ago
tests initial commit 2 years ago
.gitignore initial commit 2 years ago docs: add usage 2 years ago
index.js initial commit 2 years ago
package-lock.json 1.0.1 2 years ago
package.json 1.0.1 2 years ago


Check code is at most ES5 syntax


This is a Node.js module available through the npm registry. It can be installed using the npm or yarn command line tools.

npm install is-es5 --save


var isES5 = require('is-es5')

var es5code = 'var x = 1'
var es6code = 'const y = 2'

isES5(es5code) // => true
isES5(es6code) // => false


npm install
npm test


  • acorn: ECMAScript parser

Dev Dependencies

  • proclaim: A simple assertion library for server and client side JavaScript