Showing 14 open source projects for "ast"

View related business solutions
  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Get Started Free
  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 1
    UglifyJS 3

    UglifyJS 3

    JavaScript parser, mangler, compressor, beautifier toolkit

    UglifyJS is a JavaScript compressor/minifier written in JavaScript. It also contains tools that allow one to automate working with JavaScript code. A parser which produces an abstract syntax tree (AST) from JavaScript code. A code generator which outputs JavaScript code from an AST, also providing the option to get a source map. A compressor (optimizer). it uses the transformer API to optimize an AST into a smaller one. A mangler, reduce names of local variables to (usually) single-letters. A scope analyzer, which is a tool that augments the AST with information about where variables are defined/referenced etc. ...
    Downloads: 6 This Week
    Last Update:
    See Project
  • 2
    jscodeshift

    jscodeshift

    A JavaScript codemod toolkit

    ...The primary way to identify nodes is via their type. It's OK to not know the structure of every AST node type. The (esprima) AST explorer is an online tool to inspect the AST for a given piece of JS code.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    eslint-plugin-jsx-a11y

    eslint-plugin-jsx-a11y

    Static AST checker for a11y rules on JSX elements

    Static AST checker for accessibility rules on JSX elements. This plugin does a static evaluation of the JSX to spot accessibility issues in React apps. Because it only catches errors in static code, use it in combination with axe-core/react to test the accessibility of the rendered DOM. Consider these tools just as one step of a larger a11y testing process and always test your apps with assistive technology.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 4
    eslint-plugin-vue

    eslint-plugin-vue

    ESLint plugin for Vue.js

    ...The default JavaScript parser must be replaced because Vue.js single file components are not plain JavaScript, but a custom file format. vue-eslint-parser is a replacement parser that generates an enhanced AST with nodes that represent specific parts of the template syntax, as well as the contents of the script tag.
    Downloads: 2 This Week
    Last Update:
    See Project
  • Build Securely on AWS with Proven Frameworks Icon
    Build Securely on AWS with Proven Frameworks

    Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

    Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
    Download Now
  • 5
    Browserify

    Browserify

    browser-side require() the node.js way

    ...Install the uniq module with npm. Now recursively bundle up all the required modules starting at main.js into a single file called bundle.js with the browserify command. Browserify parses the AST for require() calls to traverse the entire dependency graph of your project. Drop a single <script> tag into your html and you're done! browserify is a tool for compiling node-flavored commonjs modules for the browser. You can use browserify to organize your code and use third-party libraries even if you don't use node itself in any other capacity except for bundling and installing packages with npm.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 6
    rehype

    rehype

    HTML processor powered by plugins part of the @unifiedjs collective

    ...You can use rehype for many different things. unified is the core project that transforms content with ASTs. rehype adds support for HTML to unified. hast is the HTML AST that rehype uses. Depending on the input you have and output you want, you can use different parts of rehype. If the input is HTML, you can use rehype-parse with unified. If the output is HTML, you can use rehype-stringify with unified If both the input and output are HTML, you can use rehype on its own.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    CSSO

    CSSO

    CSS minifier with structural optimizations

    ...One of CDN services like unpkg or jsDelivr can be used. By default (for short path) the ESM version is exposed. For IIFE version a full path to a bundle should be specified. CSSO is based on CSSTree to parse CSS into AST, AST traversal and to generate AST back to CSS. All CSSTree API is available behind syntax field extended with compress() method. You may minify CSS step by step. CSSO can use data about how CSS is used in the markup for better compression. File with this data (JSON) can be set using the usage option.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 8
    ast-hook-forjs-re

    ast-hook-forjs-re

    AST-based JavaScript reverse engineering and variable tracing toolkit

    ast-hook-for-js-RE is an open source JavaScript reverse engineering toolkit designed to help analysts locate and understand client-side encryption logic used by web applications. It works by intercepting browser traffic through a local proxy server and modifying JavaScript code before it executes in the browser. Using Abstract Syntax Tree (AST) transformations, it injects hook functions into the code to monitor variable assignments and other runtime changes during execution. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    babel-eslint

    babel-eslint

    A wrapper for Babel's parser used for ESLint

    ...ESLint allows for the use of custom parsers. When using this plugin, your code is parsed by Babel's parser (using the configuration specified in your Babel configuration file) and the resulting AST is transformed into an ESTree-compliant structure that ESLint can understand.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Go from Code to Production URL in Seconds Icon
    Go from Code to Production URL in Seconds

    Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

    Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
    Try it free
  • 10
    Ganja.js

    Ganja.js

    Javascript Geometric Algebra Generator for Javascript, c++

    ...Technically, ganja.js is a code generator producing classes that reificate algebraic literals and expressions by using reflection, a built-in tokenizer and a simple AST translator to rewrite functions containing algebraic constructs to their procedural counterparts. ganja.js now has a nodejs based templated source generator that allows the creation of arbitrary algebras for C++, C#, python and rust. The generated code provides in a flat multivector format and operator overloading.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    doT

    doT

    The fastest + concise javascript template engine for nodejs

    ...I used it in my other projects (e.g. ajv) as the smallest, fastest and most functional (all three!) templating engine ever made, that is particularly useful in all code generation scenarios where manipulating AST is overkill. doT allows arbitrary JavaScript code in templates, making it one of the most flexible and powerful templating engines. It means that doT security model assumes that you only use trusted templates and you don't use any user input as any part of the template, as otherwise it can lead to code injection.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    Prepack

    Prepack

    A JavaScript bundle optimizer

    ...Prepack replaces the global code of a JavaScript bundle with equivalent code that is a simple sequence of assignments. This gets rid of most intermediate computations and object allocations. Prepack operates at the AST level, using Babel to parse and generate JavaScript source code. At the core of Prepack is an almost ECMAScript 5 compatible interpreter — implemented in JavaScript! The interpreter closely follows the ECMAScript 2016 Language Specification, with a focus on correctness and spec conformance. You can think of the interpreter in Prepack as a clean reference implementation of JavaScript.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    deps-report

    deps-report

    Generate reports about dependencies and dependents of your JavaScript

    Generate reports about dependencies and dependents of your JavaScript/TypeScript files through an AST. It supports import and require statements. You can search also images and css files imported in your javascript files (such as in a React project).
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    AST explorer

    AST explorer

    A web tool to explore the ASTs generated by various parsers

    Paste or drop code into the editor and inspect the generated AST. Depending on the parser settings, it not only supports ES5/CSS3. Since the future syntax is supported, the AST explorer is a useful tool for developers who want to create AST transforms. In fact, transformers are included so you can prototype your own plugins. Save and fork code snippets. Copy the URL to share them. Copying an AST or dropping a file containing an AST into the window will parse the AST and update the code using escodegen. ...
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • Next