JSPM

is-es2016-keyword

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 640055
  • Score
    100M100P100Q185980F
  • License MIT

Determine if string is an ES2016 keyword.

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

Build Status

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

Author

Ivan Nikulin (ifaaan@gmail.com)