1.0.3 • Published 1 year ago

is-ecma-keyword v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

is-ecma-keyword

Determine if string is an ECMAScript keyword.

Install

npm install is-ecma-keyword

Usage

import isECMAKeyword from 'is-ecma-keyword';

console.log(isECMAKeyword('async')); // > true
console.log(isECMAKeyword('class')); // > true
console.log(isECMAKeyword('yo'));    // > false

Author

space-77 (next0186@gmail.com)

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago