@types/esutils

  • Version 2.0.0
  • Published
  • 5.88 kB
  • No dependencies
  • MIT license

Install

npm i @types/esutils
yarn add @types/esutils
pnpm add @types/esutils

Overview

TypeScript definitions for esutils

Index

Variables

Variables

variable esutils

const esutils: {
ast: {
isExpression: (node: any) => boolean;
isIterationStatement: (node: any) => boolean;
isProblematicIfStatement: (node: any) => boolean;
isSourceElement: (node: any) => boolean;
isStatement: (node: any) => boolean;
trailingStatement: any;
};
code: {
isDecimalDigit: (ch: any) => boolean;
isHexDigit: (ch: any) => boolean;
isIdentifierPartES5: (ch: any) => boolean;
isIdentifierPartES6: (ch: any) => boolean;
isIdentifierStartES5: (ch: any) => boolean;
isIdentifierStartES6: (ch: any) => boolean;
isLineTerminator: (ch: any) => boolean;
isOctalDigit: (ch: any) => boolean;
isWhiteSpace: (ch: any) => boolean;
};
keyword: {
isStrictModeReservedWordES6: (id: any) => boolean;
isIdentifierES5: (id: any, strict: any) => boolean;
isIdentifierES6: (id: any, strict: any) => boolean;
isIdentifierNameES5: (id: any) => boolean;
isIdentifierNameES6: (id: any) => boolean;
isKeywordES5: (id: any, strict: any) => boolean;
isKeywordES6: (id: any, strict: any) => boolean;
decodeUtf16: (lead: any, trail: any) => any;
isReservedWordES5: (id: any, strict: any) => boolean;
isReservedWordES6: (id: any, strict: any) => boolean;
isRestrictedWord: (id: any) => boolean;
};
};

    Package Files (1)

    Dependencies (0)

    No dependencies.

    Dev Dependencies (0)

    No dev dependencies.

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/esutils.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/esutils)
    • HTML
      <a href="https://www.jsdocs.io/package/@types/esutils"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>