Package Exports
- is-es2016-keyword
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-es2016-keyword) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-es2016-keyword
Determine if string is an ES2016 keyword.
Install
npm install os-is-es2016-keyword
Usage
const isES2016Keyword = require('is-es2016-keyword');
console.log(isES2016Keyword('async')); // > true
console.log(isES2016Keyword('class')); // > true
console.log(isES2016Keyword('yo')); // > false