JSPM

Found 3222 results for ast

eslint

An AST-based pattern checker for JavaScript.

  • v9.34.0
  • 75.76
  • Published

espree

An Esprima-compatible JavaScript parser built on Acorn

  • v10.4.0
  • 74.83
  • Published

esprima

ECMAScript parsing infrastructure for multipurpose analysis

  • v4.0.1
  • 74.41
  • Published

esquery

A query library for ECMAScript AST using a CSS selector like query language.

  • v1.6.0
  • 73.62
  • Published

css-tree

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations

  • v3.1.0
  • 72.94
  • Published

ast-types

Esprima-compatible implementation of the Mozilla JS Parser API

  • v0.14.2
  • 72.48
  • Published

regjsgen

Generate regular expressions from regjsparser’s AST.

  • v0.8.0
  • 71.56
  • Published

unist-util-visit-parents

unist utility to recursively walk over nodes, with ancestral information

  • v6.0.1
  • 71.55
  • Published

jsx-ast-utils

AST utility module for statically analyzing JSX

  • v3.3.5
  • 71.16
  • Published

ast-types-flow

Flow types for the Javascript AST

  • v0.0.8
  • 70.84
  • Published

acorn-globals

Detect global variables in JavaScript using acorn

  • v7.0.1
  • 70.28
  • Published

tsutils

utilities for working with typescript's AST

  • v3.21.0
  • 69.94
  • Published

typescript-eslint

Tooling which enables you to use TypeScript with ESLint

  • v8.41.0
  • 69.79
  • Published

unified

parse, inspect, transform, and serialize content through syntax trees

  • v11.0.5
  • 69.73
  • Published

regexpp

Regular expression parser for ECMAScript.

  • v3.2.0
  • 69.54
  • Published

remark-parse

remark plugin to add support for parsing markdown input

  • v11.0.0
  • 69.18
  • Published

recast

JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator

  • v0.23.11
  • 69.03
  • Published

@adobe/css-tools

A modern CSS parser and stringifier with TypeScript support

  • v4.4.4
  • 68.82
  • Published

is-reference

Determine whether an AST node is a reference

  • v3.0.3
  • 66.53
  • Published

esniff

Low footprint ECMAScript source code parser

  • v2.0.1
  • 66.17
  • Published

remark-stringify

remark plugin to add support for serializing markdown

  • v11.0.0
  • 65.67
  • Published

@babel/regjsgen

Generate regular expressions from regjsparser’s AST.

  • v0.8.0
  • 65.26
  • Published

yaml-ast-parser

[![Build Status](https://travis-ci.org/mulesoft-labs/yaml-ast-parser.svg?branch=master)](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)

  • v0.0.43
  • 65.13
  • Published

react-markdown

React component to render markdown

  • v10.1.0
  • 65.09
  • Published

ts-morph

TypeScript compiler wrapper for static analysis and code manipulation.

  • v26.0.0
  • 64.80
  • Published

html-parse-stringify

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

  • v3.0.1
  • 64.79
  • Published

detective-es6

Get the dependencies of an ES6 module

  • v5.0.1
  • 63.94
  • Published

@one-ini/wasm

Parse EditorConfig-INI file contents into AST

  • v0.2.0
  • 63.93
  • Published

static-eval

evaluate statically-analyzable expressions

  • v2.1.1
  • 63.83
  • Published

redeyed

Takes JavaScript code, along with a config and returns the original code with tokens wrapped as configured.

  • v2.1.1
  • 63.77
  • Published

node-source-walk

Execute a callback on every node of a source code's AST and stop walking when you see fit

  • v7.0.1
  • 63.74
  • Published

detective-stylus

Get the dependencies of a Stylus file

  • v5.0.1
  • 63.74
  • Published

refractor

Lightweight, robust, elegant virtual syntax highlighting using Prism

  • v5.0.0
  • 63.65
  • Published

lowlight

Virtual syntax highlighting for virtual DOMs and non-HTML things

  • v3.3.0
  • 63.34
  • Published

@es-joy/jsdoccomment

Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities

  • v0.54.0
  • 63.26
  • Published

astring

JavaScript code generator from an ESTree-compliant AST.

  • v1.9.0
  • 63.08
  • Published

react-syntax-highlighter

syntax highlighting component for react with prismjs or highlightjs ast using inline styles

  • v15.6.6
  • 62.88
  • Published

detective-sass

Find the dependencies of a sass file

  • v6.0.1
  • 62.31
  • Published

detective-amd

Find all dependencies within a JavaScript file using AMD module syntax

  • v6.0.1
  • 62.29
  • Published

detective

find all require() calls by walking the AST

  • v5.2.1
  • 61.79
  • Published

detective-scss

Find the dependencies of an scss file

  • v5.0.1
  • 61.76
  • Published

detective-cjs

Get the dependencies of a CommonJS module by traversing its AST

  • v6.0.1
  • 61.76
  • Published

remark

markdown processor powered by plugins part of the unified collective

  • v15.0.1
  • 61.58
  • Published

detective-vue2

Get the dependencies of a Vue module

  • v2.2.0
  • 61.56
  • Published

estree-util-visit

esast (and estree) utility to visit nodes

  • v2.0.0
  • 61.30
  • Published

unist-builder

unist utility to create a new trees with a nice syntax

  • v4.0.0
  • 61.13
  • Published

@stoplight/yaml-ast-parser

[![Build Status](https://travis-ci.org/mulesoft-labs/yaml-ast-parser.svg?branch=master)](https://travis-ci.org/mulesoft-labs/yaml-ast-parser)

  • v0.0.50
  • 61.08
  • Published

@npmcli/query

npm query parser and tools

  • v4.0.1
  • 61.02
  • Published

dependency-tree

Get the dependency tree of a module

  • v11.2.0
  • 60.89
  • Published

estree-util-build-jsx

Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)

  • v3.0.1
  • 60.67
  • Published

constantinople

Determine whether a JavaScript expression evaluates to a constant

  • v4.0.1
  • 60.67
  • Published

unist-util-remove

unist utility to remove nodes from a tree

  • v4.0.0
  • 60.23
  • Published

rehype-parse

rehype plugin to parse HTML

  • v9.0.1
  • 60.10
  • Published

simple-eval

Simple JavaScript expression evaluator

  • v2.0.0
  • 59.29
  • Published

get-assigned-identifiers

get a list of identifiers that are initialised by a JavaScript AST node.

  • v1.2.0
  • 59.08
  • Published

dash-ast

walk an AST, quickly

  • v2.0.1
  • 59.07
  • Published

recma-jsx

recma plugin to add support for parsing and serializing JSX

  • v1.0.1
  • 58.67
  • Published

estree-util-scope

Check what’s defined in an estree scope

  • v1.0.0
  • 58.66
  • Published

rehype-recma

recma plugin to transform HTML (hast) to JS (estree)

  • v1.0.0
  • 58.61
  • Published

recma-stringify

recma plugin to serialize JavaScript

  • v1.0.0
  • 58.61
  • Published

recma-parse

recma plugin to parse JavaScript

  • v1.0.0
  • 58.61
  • Published

falafel

transform the ast on a recursive walk

  • v2.2.5
  • 58.53
  • Published

recma-build-jsx

recma plugin to add support for parsing and serializing JSX

  • v1.0.0
  • 58.42
  • Published

undeclared-identifiers

find undeclared identifiers and property accesses in a javascript file.

  • v1.1.3
  • 57.65
  • Published

rehype

HTML processor powered by plugins part of the unified collective

  • v13.0.2
  • 57.31
  • Published

@ucast/mongo

git@github.com:stalniy/ucast.git

  • v2.4.3
  • 57.27
  • Published

static-module

convert module usage to inline expressions

  • v3.0.4
  • 57.18
  • Published

@ucast/mongo2js

git@github.com:stalniy/ucast.git

  • v1.4.0
  • 56.95
  • Published

@ast-grep/napi

Search and Rewrite code at large scale using precise AST pattern

  • v0.39.4
  • 56.81
  • Published

@ucast/core

git@github.com:stalniy/ucast.git

  • v1.10.2
  • 56.49
  • Published

@ucast/js

git@github.com:stalniy/ucast.git

  • v3.0.4
  • 56.48
  • Published

unist-util-filter

unist utility to create a new tree with nodes that pass a filter

  • v5.0.1
  • 56.22
  • Published

detective-less

Find the dependencies of a less file

  • v1.0.2
  • 56.20
  • Published

toml-eslint-parser

A TOML parser that produces output compatible with ESLint

  • v0.10.0
  • 55.56
  • Published

espurify

Clone AST without extra properties

  • v3.2.0
  • 55.41
  • Published

scope-analyzer

simple scope analysis for javascript ASTs

  • v2.1.2
  • 55.34
  • Published

ts-patch

Patch typescript to support custom transformers in tsconfig.json

  • v3.3.0
  • 54.99
  • Published

esprima-next

ECMAScript parsing infrastructure for multipurpose analysis

  • v6.0.3
  • 54.63
  • Published

ast-transform

Convenience wrapper for performing AST transformations with browserify transform streams

  • v0.0.0
  • 53.82
  • Published

ast-traverse

simple but flexible AST traversal with pre and post visitors

  • v0.1.1
  • 53.21
  • Published

rehype-attr

New syntax to add attributes to Markdown.

  • v4.0.2
  • 53.05
  • Published

meriyah

A 100% compliant, self-hosted javascript parser with high focus on both performance and stability

  • v6.1.4
  • 52.96
  • Published

@applitools/css-tree

A temporary custom copy of https://github.com/csstree/csstree

  • v1.2.0
  • 52.93
  • Published

call-matcher

ECMAScript CallExpression matcher made from function/method signature

  • v2.0.0
  • 52.65
  • Published

rehype-rewrite

Rewrite element with rehype.

  • v4.0.2
  • 52.58
  • Published

rehype-ignore

Ignore content display via HTML comments, Shown in GitHub readme, excluded in HTML.

  • v2.0.2
  • 52.34
  • Published

power-assert

Power Assert in JavaScript

  • v1.6.1
  • 52.18
  • Published

graphql-fields

Turns GraphQLResolveInfo into a map of the requested fields

  • v2.0.3
  • 52.12
  • Published

enhance-visitors

Enhance your ESLint visitors with shared logic

  • v1.0.0
  • 52.06
  • Published

php-parser

Parse PHP code from JS and returns its AST

  • v3.2.5
  • 51.91
  • Published

@ast-grep/cli

Search and Rewrite code at large scale using precise AST pattern

  • v0.39.4
  • 51.78
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 51.53
  • Published

pgsql-ast-parser

Yet another simple Postgres SQL parser/modifier

  • v12.0.1
  • 51.53
  • Published

remark-github-blockquote-alert

Alerts are a Markdown extension based on the blockquote syntax that you can use to emphasize critical information.

  • v2.0.0
  • 51.48
  • Published

to-ast

Converts JavaScript objects to equivalent ASTs

  • v1.0.0
  • 51.04
  • Published

html-parse-stringify2

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

  • v2.0.1
  • 50.33
  • Published

data-with-position

Pseudo AST that contains data with its positions attached.

  • v0.5.0
  • 50.16
  • Published

escallmatch

ECMAScript CallExpression matcher made from function/method signature

  • v1.5.0
  • 50.04
  • Published

ast-parents

Walks a JavaScript AST and adds a "parent" property to each node

  • v0.0.1
  • 49.89
  • Published

ts-evaluator

An interpreter for Typescript that can evaluate an arbitrary Node within a Typescript AST

  • v2.0.0
  • 49.88
  • Published

espower

Power Assert feature instrumentor based on the ECMAScript AST

  • v2.1.2
  • 49.59
  • Published

simple-markdown

Javascript markdown parsing, made simple

  • v0.7.3
  • 49.49
  • Published

eval-estree-expression

Safely evaluate JavaScript (estree) expressions, sync and async.

  • v3.0.0
  • 49.43
  • Published

ts-simple-type

Relationship type checker functions for Typescript types.

  • v1.0.7
  • 49.41
  • Published

@eslint/css-tree

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations

  • v3.6.5
  • 49.37
  • Published

estraverse-fb

Drop-in for estraverse that enables traversal over React's JSX nodes.

  • v1.3.2
  • 49.26
  • Published

xml-reader

XML Reader and Parser

  • v2.4.3
  • 49.23
  • Published

@textlint/ast-tester

Compliance tests for textlint's AST(Abstract Syntax Tree).

  • v15.2.2
  • 49.18
  • Published

ordered-ast-traverse

simple but flexible lexically ordered AST traversal with pre and post visitors

  • v1.1.1
  • 49.09
  • Published

lexical-scope

detect global and local lexical identifiers from javascript source code

  • v1.2.0
  • 49.01
  • Published

markdown

A sensible Markdown parser for javascript

  • v0.5.0
  • 48.86
  • Published

ordered-esprima-props

Lexical ordering of property names per Esprima AST type

  • v1.1.0
  • 48.62
  • Published

solhint

Solidity Code Linter

  • v6.0.1
  • 48.62
  • Published

ts-clone-node

A library that helps you clone Nodes from a Typescript AST

  • v4.0.0
  • 48.60
  • Published

rocambole

Recursively walk and transform EcmaScript AST

  • v0.7.0
  • 48.51
  • Published

astw

walk the ast with references to parent nodes

  • v2.2.0
  • 48.50
  • Published

astray

Walk an AST without being led astray

  • v1.1.1
  • 48.28
  • Published

whence

Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, templates, and many other user cases.

  • v2.1.0
  • 48.08
  • Published

json5-writer

Comment-preserving JSON / JSON5 parser

  • v0.2.0
  • 47.83
  • Published

dockerfile-ast

Parse a Dockerfile into an array of instructions and comments.

  • v0.7.1
  • 47.83
  • Published

extract-comments

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).

  • v1.1.0
  • 47.66
  • Published

rocambole-token

Helpers for rocambole AST token manipulation

  • v1.2.1
  • 47.44
  • Published

graphql-list-fields

Get a list of fields while resolving a GraphQL query

  • v2.0.4
  • 47.30
  • Published

dotparser

Parser of GraphViz dot file format

  • v1.1.1
  • 47.26
  • Published

@bbob/parser

A BBCode to AST Parser part of @bbob

  • v4.2.0
  • 47.06
  • Published

fluent-transpiler

Transpile Fluent (ftl) files into optimized, tree-shakable, JavaScript EcmaScript Modules (esm).

  • v0.3.2
  • 47.05
  • Published

svelte-ast-print

Serialize Svelte AST nodes into stringified syntax. A.k.a parse in reverse.

  • v1.1.0
  • 46.85
  • Published

estree-toolkit

Traverser, scope tracker, and more tools for working with ESTree AST

  • v1.7.13
  • 46.74
  • Published

rocambole-node

Helpers to traverse and manipulate rocambole AST nodes

  • v1.0.0
  • 46.65
  • Published

ng-morph

[![npm version](https://img.shields.io/npm/v/ng-morph.svg)](https://npmjs.com/package/ng-morph) [![downloads](https://img.shields.io/npm/dy/ng-morph?color=dark-green)](https://npmjs.com/package/ng-morph) [![telegram chat](https://img.shields.io/badge/supp

  • v4.8.4
  • 46.46
  • Published

@fmvilas/pseudo-yaml-ast

Fork of pseudo-yaml-ast. Parse a YAML string into an object with location properties

    • v0.3.1
    • 46.33
    • Published

    rocambole-linebreak

    helpers for rocambole AST line break manipulation

    • v1.0.2
    • 46.32
    • Published

    rehype-dom-stringify

    rehype plugin to use browser APIs to stringify HTML

    • v4.0.2
    • 46.31
    • Published

    rehype-dom-parse

    rehype plugin to use browser APIs to parse HTML

    • v5.0.2
    • 46.11
    • Published

    ajv-ftl-i18n

    Transpile Fluent (ftl) files into ajv error translations.

    • v0.1.1
    • 46.07
    • Published

    rocambole-indent

    helpers for rocambole AST indentation

    • v2.0.4
    • 45.97
    • Published

    vue-parser

    Get contents from tags in .vue files (using AST tree).

    • v1.1.6
    • 45.91
    • Published

    @kubb/parser-ts

    TypeScript parsing and manipulation utilities for Kubb, enabling code generation with proper TypeScript syntax and formatting.

    • v3.18.2
    • 45.87
    • Published

    asty

    Abstract Syntax Tree (AST) Data Structure

    • v1.8.21
    • 45.73
    • Published

    html5parser

    A super fast & tiny HTML5 parser

    • v2.0.2
    • 45.40
    • Published

    burrito

    Wrap up expressions with a trace function while walking the AST with rice and beans on the side

    • v0.2.12
    • 44.36
    • Published

    webpack-addons

    Utility suite for webpack-cli

    • v1.1.5
    • 44.31
    • Published

    eslint-traverse

    Create a sub-traversal of an AST node in your ESLint plugin

    • v1.0.0
    • 43.95
    • Published

    typhonjs-ast-walker

    Provides a simple Javascript AST traversal utility that traverses all nodes / children regardless of type.

    • v0.2.1
    • 43.90
    • Published

    es-lookup-scope

    Look up the scoop of an estree compatible node

    • v1.0.1
    • 43.85
    • Published

    @wistia/eslint

    (FORK) An AST-based pattern checker for JavaScript, now supporting parallelism.

    • v8.52.0
    • 43.80
    • Published

    graphql-fields-list

    Extracts and returns list of fields requested from graphql resolver info object

    • v2.3.0
    • 43.21
    • Published

    json-cst

    Parse JSON into CST (Concrete Syntax Tree)

    • v1.2.0
    • 42.90
    • Published

    webassemblyjs

    WebAssembly interpreter

    • v1.14.1
    • 42.83
    • Published

    vscode-regexpp

    Regular expression parser for ECMAScript.

    • v3.1.0
    • 42.56
    • Published

    @putout/operate

    Operate on AST for 🐊 Putout

    • v14.0.1
    • 42.46
    • Published

    ast-types-x

    Esprima-compatible implementation of the Mozilla JS Parser API

    • v1.18.0
    • 42.24
    • Published

    himalaya

    HTML to JSON parser

    • v1.1.1
    • 42.18
    • Published

    bnf-parser

    Deterministic BNF compiler/parser

    • v4.1.3
    • 42.11
    • Published

    yaml-language-server-parser

    This is a maintained fork of YAML-AST-PARSER specifically for the YAML Language server.

    • v0.1.3
    • 42.00
    • Published

    putout

    🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json

    • v40.7.0
    • 41.82
    • Published

    fresh-falafel

    transform the ast on a recursive walk

    • v1.2.0
    • 41.49
    • Published

    @rsql/ast

    RSQL AST definitions and functions

    • v1.6.0
    • 41.18
    • Published

    rehype-video

    Markdown supports video play with `.mp4` and `.mov` URLs.

    • v2.3.0
    • 41.13
    • Published

    cherow

    Fast and lightweight, standard-compliant javascript parser written in ECMAScript

    • v1.6.9
    • 40.81
    • Published

    strip-debug

    Strip console, alert, and debugger statements from JavaScript code

    • v7.0.0
    • 40.72
    • Published

    graphql-ast-types

    <h1 align="center">graphql-ast-types</h1> <p align="center">Autogenerated helper functions for generating a GraphQL AST</p>

    • v1.0.2
    • 40.72
    • Published

    @marcj/ts-clone-node

    A library that helps you clone Nodes from a Typescript AST

    • v2.2.0
    • 40.69
    • Published

    recast-x

    JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator

    • v1.0.5
    • 40.63
    • Published

    circular-dependency-scanner

    Out-of-box and zero configuration circular dependencies detector, with both JavaScript API and Command Line Tool.

    • v2.3.0
    • 40.60
    • Published

    gruntfile-editor

    API to modify the content of a Gruntfile.js file

    • v1.2.1
    • 40.53
    • Published

    @putout/recast

    JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator

    • v1.16.1
    • 40.52
    • Published

    jsx-ast-utils-x

    AST utility module for statically analyzing JSX

    • v0.1.0
    • 40.51
    • Published

    ast-monkey-util

    Utility library of AST helper functions

    • v3.0.10
    • 40.47
    • Published

    solid-markdown

    Markdown renderer for solid-js

    • v2.0.14
    • 40.34
    • Published

    gulp-strip-debug

    Strip console and debugger statements from JavaScript code

    • v6.0.0
    • 40.10
    • Published

    esnext

    Update your project to the latest ECMAScript syntax.

    • v3.3.1
    • 40.10
    • Published

    eslint-bankruptcy

    Codemod to eslint-disable all instances of a rule violation in a codebase

    • v1.1.0
    • 39.77
    • Published

    vue-metamorph

    Codemod framework for Vue files

    • v3.3.3
    • 39.75
    • Published

    hoister

    Put all function and variable declarations at the top of the scope in an AST

    • v0.0.2
    • 39.57
    • Published

    buntis

    A 100% compliant, self-hosted typescript parser that emits an ESTree-compatible abstract syntax tree

    • v0.2.1
    • 39.34
    • Published

    decaffeinate-parser

    A better AST for CoffeeScript, inspired by CoffeeScriptRedux.

    • v23.0.1
    • 39.34
    • Published

    @firanorg/mollitia-molestias-accusamus

    [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

    • v10.13.142
    • 39.28
    • Published

    @ucast/sql

    git@github.com:stalniy/ucast.git

    • v1.0.0-alpha.1
    • 39.00
    • Published

    estemplate

    Proper JavaScript code templating with source maps support.

    • v0.5.1
    • 38.80
    • Published

    @pgsql/traverse

    PostgreSQL AST traversal utilities for pgsql-parser

    • v17.1.0
    • 38.73
    • Published

    @appland/sql-parser

    JavaScript implementation of SQLite 3 query parser

    • v1.5.1
    • 38.70
    • Published