@putout/operator-keyword 
🐊Putout operator adds ability to lint keyword.
Install
npm i putout @putout/operator-keyword
API
import {operator} from 'putout';
const {
isKeyword,
isTSKeyword,
isDeclarationKeyword,
isModuleDeclarationKeyword,
isConditionKeyword,
} = operator;
isKeyword('if');
// returns
true;
isKeyword('abc');
// returns
false;
isDeclarationKeyword('const');
// returns
true;
isModuleDeclarationKeyword('import');
// returns
true;
isConditionKeyword('if');
// returns
true;
isStatementKeyword('for');
// returns
true;
isTSKeyword('implements');
// returns
true;
License
MIT