JSPM

Found 3228 results for ast

acorn-globals

Detect global variables in JavaScript using acorn

  • v7.0.1
  • 69.11
  • Published

@adobe/css-tools

A modern CSS parser and stringifier with TypeScript support

  • v4.4.4
  • 69.04
  • Published

regexpp

Regular expression parser for ECMAScript.

  • v3.2.0
  • 68.96
  • Published

remark-parse

remark plugin to add support for parsing markdown input

  • v11.0.0
  • 68.72
  • Published

recast

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

  • v0.23.11
  • 68.03
  • Published

is-reference

Determine whether an AST node is a reference

  • v3.0.3
  • 66.74
  • Published

remark-stringify

remark plugin to add support for serializing markdown

  • v11.0.0
  • 65.75
  • Published

@babel/regjsgen

Generate regular expressions from regjsparser’s AST.

  • v0.8.0
  • 65.21
  • Published

react-markdown

React component to render markdown

  • v10.1.0
  • 65.17
  • Published

esniff

Low footprint ECMAScript source code parser

  • v2.0.1
  • 65.13
  • 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
  • 64.83
  • Published

ts-morph

TypeScript compiler wrapper for static analysis and code manipulation.

  • v26.0.0
  • 64.55
  • Published

@one-ini/wasm

Parse EditorConfig-INI file contents into AST

  • v0.2.0
  • 64.11
  • Published

static-eval

evaluate statically-analyzable expressions

  • v2.1.1
  • 64.06
  • Published

html-parse-stringify

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

  • v3.0.1
  • 63.86
  • Published

lowlight

Virtual syntax highlighting for virtual DOMs and non-HTML things

  • v3.3.0
  • 63.47
  • Published

refractor

Lightweight, robust, elegant virtual syntax highlighting using Prism

  • v5.0.0
  • 63.40
  • Published

redeyed

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

  • v2.1.1
  • 63.33
  • Published

astring

JavaScript code generator from an ESTree-compliant AST.

  • v1.9.0
  • 62.92
  • Published

detective-es6

Get the dependencies of an ES6 module

  • v5.0.1
  • 62.85
  • 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
  • 62.62
  • Published

react-syntax-highlighter

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

  • v15.6.6
  • 62.54
  • Published

detective-stylus

Get the dependencies of a Stylus file

  • v5.0.1
  • 62.51
  • Published

@es-joy/jsdoccomment

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

  • v0.54.0
  • 62.38
  • Published

detective-sass

Find the dependencies of a sass file

  • v6.0.1
  • 62.15
  • Published

detective-amd

Find all dependencies within a JavaScript file using AMD module syntax

  • v6.0.1
  • 62.04
  • Published

detective-cjs

Get the dependencies of a CommonJS module by traversing its AST

  • v6.0.1
  • 61.90
  • Published

detective

find all require() calls by walking the AST

  • v5.2.1
  • 61.88
  • Published

detective-scss

Find the dependencies of an scss file

  • v5.0.1
  • 61.80
  • Published

estree-util-visit

esast (and estree) utility to visit nodes

  • v2.0.0
  • 61.37
  • Published

@npmcli/query

npm query parser and tools

  • v4.0.1
  • 61.12
  • Published

unist-builder

unist utility to create a new trees with a nice syntax

  • v4.0.0
  • 61.09
  • Published

estree-util-build-jsx

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

  • v3.0.1
  • 60.73
  • Published

dependency-tree

Get the dependency tree of a module

  • v11.2.0
  • 60.66
  • Published

remark

markdown processor powered by plugins part of the unified collective

  • v15.0.1
  • 60.57
  • Published

constantinople

Determine whether a JavaScript expression evaluates to a constant

  • v4.0.1
  • 60.54
  • Published

detective-vue2

Get the dependencies of a Vue module

  • v2.2.0
  • 60.43
  • Published

rehype-parse

rehype plugin to parse HTML

  • v9.0.1
  • 60.18
  • Published

unist-util-remove

unist utility to remove nodes from a tree

  • v4.0.0
  • 59.88
  • 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
  • 59.85
  • Published

get-assigned-identifiers

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

  • v1.2.0
  • 59.09
  • Published

dash-ast

walk an AST, quickly

  • v2.0.1
  • 59.06
  • Published

recma-build-jsx

recma plugin to add support for parsing and serializing JSX

  • v1.0.0
  • 58.23
  • Published

simple-eval

Simple JavaScript expression evaluator

  • v2.0.0
  • 58.09
  • Published

recma-jsx

recma plugin to add support for parsing and serializing JSX

  • v1.0.1
  • 57.78
  • Published

estree-util-scope

Check what’s defined in an estree scope

  • v1.0.0
  • 57.77
  • Published

recma-stringify

recma plugin to serialize JavaScript

  • v1.0.0
  • 57.72
  • Published

rehype-recma

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

  • v1.0.0
  • 57.72
  • Published

recma-parse

recma plugin to parse JavaScript

  • v1.0.0
  • 57.72
  • Published

undeclared-identifiers

find undeclared identifiers and property accesses in a javascript file.

  • v1.1.3
  • 57.68
  • Published

falafel

transform the ast on a recursive walk

  • v2.2.5
  • 57.46
  • Published

rehype

HTML processor powered by plugins part of the unified collective

  • v13.0.2
  • 57.43
  • Published

static-module

convert module usage to inline expressions

  • v3.0.4
  • 56.80
  • Published

unist-util-filter

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

  • v5.0.1
  • 56.25
  • Published

@ucast/mongo

git@github.com:stalniy/ucast.git

  • v2.4.3
  • 56.11
  • Published

@ucast/mongo2js

git@github.com:stalniy/ucast.git

  • v1.4.0
  • 55.99
  • Published

@ast-grep/napi

Search and Rewrite code at large scale using precise AST pattern

  • v0.39.4
  • 55.72
  • Published

@ucast/core

git@github.com:stalniy/ucast.git

  • v1.10.2
  • 55.66
  • Published

@ucast/js

git@github.com:stalniy/ucast.git

  • v3.0.4
  • 55.52
  • Published

espurify

Clone AST without extra properties

  • v3.2.0
  • 55.39
  • Published

detective-less

Find the dependencies of a less file

  • v1.0.2
  • 55.01
  • Published

toml-eslint-parser

A TOML parser that produces output compatible with ESLint

  • v0.10.0
  • 54.83
  • Published

esprima-next

ECMAScript parsing infrastructure for multipurpose analysis

  • v6.0.3
  • 54.41
  • Published

scope-analyzer

simple scope analysis for javascript ASTs

  • v2.1.2
  • 54.20
  • Published

ts-patch

Patch typescript to support custom transformers in tsconfig.json

  • v3.3.0
  • 53.91
  • Published

ast-traverse

simple but flexible AST traversal with pre and post visitors

  • v0.1.1
  • 52.95
  • Published

ast-transform

Convenience wrapper for performing AST transformations with browserify transform streams

  • v0.0.0
  • 52.86
  • Published

rehype-rewrite

Rewrite element with rehype.

  • v4.0.2
  • 52.42
  • Published

rehype-attr

New syntax to add attributes to Markdown.

  • v4.0.2
  • 52.11
  • Published

meriyah

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

  • v6.1.4
  • 52.02
  • Published

power-assert

Power Assert in JavaScript

  • v1.6.1
  • 52.01
  • Published

@applitools/css-tree

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

  • v1.2.0
  • 51.89
  • Published

call-matcher

ECMAScript CallExpression matcher made from function/method signature

  • v2.0.0
  • 51.83
  • Published

graphql-fields

Turns GraphQLResolveInfo into a map of the requested fields

  • v2.0.3
  • 51.61
  • Published

enhance-visitors

Enhance your ESLint visitors with shared logic

  • v1.0.0
  • 51.56
  • Published

pgsql-ast-parser

Yet another simple Postgres SQL parser/modifier

  • v12.0.1
  • 51.51
  • Published

rehype-ignore

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

  • v2.0.2
  • 51.48
  • Published

@ast-grep/cli

Search and Rewrite code at large scale using precise AST pattern

  • v0.39.4
  • 51.34
  • 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.20
  • Published

php-parser

Parse PHP code from JS and returns its AST

  • v3.2.5
  • 51.15
  • Published

unist-util-select

unist utility to select nodes with CSS-like selectors

  • v5.1.0
  • 50.81
  • Published

to-ast

Converts JavaScript objects to equivalent ASTs

  • v1.0.0
  • 49.99
  • Published

ts-evaluator

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

  • v2.0.0
  • 49.65
  • Published

escallmatch

ECMAScript CallExpression matcher made from function/method signature

  • v1.5.0
  • 49.56
  • 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.43
  • Published

simple-markdown

Javascript markdown parsing, made simple

  • v0.7.3
  • 49.31
  • Published

html-parse-stringify2

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

  • v2.0.1
  • 49.22
  • Published

data-with-position

Pseudo AST that contains data with its positions attached.

  • v0.5.0
  • 49.10
  • Published

espower

Power Assert feature instrumentor based on the ECMAScript AST

  • v2.1.2
  • 49.09
  • Published

@textlint/ast-tester

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

  • v15.2.2
  • 48.95
  • Published

ast-parents

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

  • v0.0.1
  • 48.95
  • Published

solhint

Solidity Code Linter

  • v6.0.1
  • 48.69
  • Published

ts-simple-type

Relationship type checker functions for Typescript types.

  • v1.0.7
  • 48.37
  • Published

eval-estree-expression

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

  • v3.0.0
  • 48.34
  • Published

xml-reader

XML Reader and Parser

  • v2.4.3
  • 48.33
  • Published

ordered-esprima-props

Lexical ordering of property names per Esprima AST type

  • v1.1.0
  • 48.31
  • Published

rocambole

Recursively walk and transform EcmaScript AST

  • v0.7.0
  • 48.27
  • Published

astw

walk the ast with references to parent nodes

  • v2.2.0
  • 48.26
  • Published

estraverse-fb

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

  • v1.3.2
  • 48.24
  • Published

ordered-ast-traverse

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

  • v1.1.1
  • 48.08
  • Published

lexical-scope

detect global and local lexical identifiers from javascript source code

  • v1.2.0
  • 47.98
  • 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
  • 47.96
  • Published

markdown

A sensible Markdown parser for javascript

  • v0.5.0
  • 47.83
  • Published

ts-clone-node

A library that helps you clone Nodes from a Typescript AST

  • v4.0.0
  • 47.51
  • Published

dockerfile-ast

Parse a Dockerfile into an array of instructions and comments.

  • v0.7.1
  • 47.36
  • 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.33
  • Published

astray

Walk an AST without being led astray

  • v1.1.1
  • 47.33
  • Published

json5-writer

Comment-preserving JSON / JSON5 parser

  • v0.2.0
  • 46.92
  • Published

@bbob/parser

A BBCode to AST Parser part of @bbob

  • v4.2.0
  • 46.78
  • Published

estree-toolkit

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

  • v1.7.13
  • 46.64
  • Published

rocambole-token

Helpers for rocambole AST token manipulation

  • v1.2.1
  • 46.55
  • Published

rehype-dom-parse

rehype plugin to use browser APIs to parse HTML

  • v5.0.2
  • 46.44
  • 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.38
  • Published

rocambole-node

Helpers to traverse and manipulate rocambole AST nodes

  • v1.0.0
  • 46.36
  • Published

fluent-transpiler

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

  • v0.3.2
  • 46.35
  • Published

graphql-list-fields

Get a list of fields while resolving a GraphQL query

  • v2.0.4
  • 46.28
  • Published

rehype-dom-stringify

rehype plugin to use browser APIs to stringify HTML

  • v4.0.2
  • 46.24
  • Published

dotparser

Parser of GraphViz dot file format

  • v1.1.1
  • 46.24
  • Published

rocambole-linebreak

helpers for rocambole AST line break manipulation

  • v1.0.2
  • 46.13
  • Published

@fmvilas/pseudo-yaml-ast

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

    • v0.3.1
    • 45.98
    • Published

    svelte-ast-print

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

    • v1.1.0
    • 45.93
    • Published

    vue-parser

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

    • v1.1.6
    • 45.90
    • Published

    @kubb/parser-ts

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

    • v3.18.3
    • 45.89
    • Published

    rocambole-indent

    helpers for rocambole AST indentation

    • v2.0.4
    • 45.82
    • Published

    asty

    Abstract Syntax Tree (AST) Data Structure

    • v1.8.21
    • 45.48
    • Published

    ajv-ftl-i18n

    Transpile Fluent (ftl) files into ajv error translations.

    • v0.1.1
    • 45.47
    • Published

    html5parser

    A super fast & tiny HTML5 parser

    • v2.0.2
    • 44.67
    • Published

    burrito

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

    • v0.2.12
    • 44.47
    • 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.70
    • Published

    es-lookup-scope

    Look up the scoop of an estree compatible node

    • v1.0.1
    • 43.30
    • Published

    @wistia/eslint

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

    • v8.52.0
    • 43.27
    • Published

    webpack-addons

    Utility suite for webpack-cli

    • v1.1.5
    • 43.16
    • Published

    webassemblyjs

    WebAssembly interpreter

    • v1.14.1
    • 42.79
    • Published

    graphql-fields-list

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

    • v2.3.0
    • 42.64
    • Published

    json-cst

    Parse JSON into CST (Concrete Syntax Tree)

    • v1.2.0
    • 42.17
    • Published

    bnf-parser

    Deterministic BNF compiler/parser

    • v4.1.3
    • 42.10
    • Published

    ast-types-x

    Esprima-compatible implementation of the Mozilla JS Parser API

    • v1.18.0
    • 42.07
    • Published

    vscode-regexpp

    Regular expression parser for ECMAScript.

    • v3.1.0
    • 42.03
    • Published

    himalaya

    HTML to JSON parser

    • v1.1.1
    • 42.02
    • Published

    jsx-ast-utils-x

    AST utility module for statically analyzing JSX

    • v0.1.0
    • 41.98
    • Published

    yaml-language-server-parser

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

    • v0.1.3
    • 41.95
    • 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.1
    • 41.81
    • Published

    fresh-falafel

    transform the ast on a recursive walk

    • v1.2.0
    • 41.34
    • Published

    cherow

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

    • v1.6.9
    • 41.34
    • Published

    @rsql/ast

    RSQL AST definitions and functions

    • v1.6.0
    • 41.15
    • Published

    rehype-video

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

    • v2.3.0
    • 40.91
    • Published

    @marcj/ts-clone-node

    A library that helps you clone Nodes from a Typescript AST

    • v2.2.0
    • 40.87
    • 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.67
    • Published

    recast-x

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

    • v1.0.5
    • 40.63
    • Published

    strip-debug

    Strip console, alert, and debugger statements from JavaScript code

    • v7.0.0
    • 40.08
    • Published

    ast-monkey-util

    Utility library of AST helper functions

    • v3.0.10
    • 40.06
    • 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.03
    • Published

    @putout/recast

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

    • v1.16.1
    • 39.96
    • Published

    vue-metamorph

    Codemod framework for Vue files

    • v3.3.3
    • 39.96
    • Published

    gulp-strip-debug

    Strip console and debugger statements from JavaScript code

    • v6.0.0
    • 39.89
    • Published

    solid-markdown

    Markdown renderer for solid-js

    • v2.0.14
    • 39.79
    • Published

    eslint-bankruptcy

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

    • v1.1.0
    • 39.72
    • Published

    buntis

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

    • v0.2.1
    • 39.57
    • Published

    decaffeinate-parser

    A better AST for CoffeeScript, inspired by CoffeeScriptRedux.

    • v23.0.1
    • 39.52
    • Published

    esnext

    Update your project to the latest ECMAScript syntax.

    • v3.3.1
    • 39.52
    • 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.46
    • Published

    hoister

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

    • v0.0.2
    • 39.00
    • Published

    gruntfile-editor

    API to modify the content of a Gruntfile.js file

    • v1.2.1
    • 38.86
    • Published

    @appland/sql-parser

    JavaScript implementation of SQLite 3 query parser

    • v1.5.1
    • 38.64
    • Published

    @ucast/sql

    git@github.com:stalniy/ucast.git

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

    glsl-parser

    transform streamed glsl tokens into an ast

    • v2.0.1
    • 38.43
    • Published

    estemplate

    Proper JavaScript code templating with source maps support.

    • v0.5.1
    • 38.34
    • Published

    webcrack

    Deobfuscate, unminify and unpack bundled javascript

    • v2.15.1
    • 38.28
    • Published

    luaparse

    A Lua parser in JavaScript

    • v0.3.1
    • 37.87
    • Published

    @gkz/ast-types

    Esprima-compatible implementation of the Mozilla JS Parser API

    • v0.14.4
    • 37.72
    • Published

    @dramaorg/delectus-culpa-reprehenderit

    [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

    • v3.5.94
    • 37.54
    • Published

    @kayvan/markdown-tree-parser

    A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures using the remark/unified ecosystem

    • v1.6.1
    • 37.51
    • Published

    codemod

    Codemod platform for semantic code transformations

    • v1.0.2
    • 37.29
    • Published

    indicative-compiler

    Indicative compiler to compile parsed schema into highly optimized functions

    • v7.2.4
    • 37.26
    • Published

    graphql-ast-types-browser

    :warning: This package is a temporary clone of [`graphql-ast-types`](https://www.npmjs.com/package/graphql-ast-types). It will be deleted as soon as the issue [#7](https://github.com/imranolas/graphql-ast-types/issues/7) is closed.

    • v1.0.2
    • 37.10
    • Published

    @pgsql/traverse

    PostgreSQL AST traversal utilities for pgsql-parser

    • v17.1.0
    • 36.75
    • Published

    proto-parser

    A parser for proto files

    • v0.0.9
    • 36.60
    • Published

    equivalent-exchange

    Transmute one JavaScript string into another by way of mutating its AST. Powered by [babel](https://babeljs.io/) and [recast](https://www.npmjs.com/package/recast).

    • v3.1.1
    • 36.52
    • Published