Displaying 1 to 20 from 47 results

esformatter - ECMAScript code beautifier/formatter

  •    Javascript

ECMAScript code beautifier/formatter.This tool is still missing support for many important features. Please report any bugs you find, the code is only as good as the test cases. Feature requests are very welcome.

esprima - ECMAScript parsing infrastructure for multipurpose analysis

  •    TypeScript

Esprima (esprima.org, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima is created and maintained by Ariya Hidayat, with the help of many contributors. Esprima can be used to perform lexical analysis (tokenization) or syntactic analysis (parsing) of a JavaScript program.

ast-types - Esprima-compatible implementation of the Mozilla JS Parser API

  •    Javascript

This module provides an efficient, modular, Esprima-compatible implementation of the abstract syntax tree type hierarchy pioneered by the Mozilla Parser API. Because it understands the AST type system so thoroughly, this library is able to provide excellent node iteration and traversal mechanisms.

earhorn - JavaScript Execution Logs

  •    HTML

JavaScript execution logs. Earhorn instruments your JavaScript and shows you a detailed, reversible, line-by-line log of JavaScript execution, sort of like console.log's crazy uncle.




ast-traverse - simple but flexible AST traversal with pre and post visitors

  •    Javascript

Simple but flexible AST traversal with pre and post visitors. Works in node and browsers.

strip-debug - Strip console, alert, and debugger statements from JavaScript code

  •    Javascript

Useful for making sure you didn't leave any logging in production code.Also available as Gulp/Grunt/Broccoli plugins.


closer

  •    Javascript

Closer.js is a parser for the Clojure programming language written in JavaScript, compatible with the Mozilla Parser API. It also provides much of the Clojure core library as a separate module (thanks in large part to swannodette/mori). All of this is heavily tested, with > 90% code coverage (the untested 10% is mostly unused code from the Jison parser generator). This project could be useful for a variety of things like browser-based Clojure code editing, linting, syntax highlighting, auto-completion, and running sandboxed Clojure code in a browser.

rocambole - Recursively walk and transform EcmaScript AST

  •    Javascript

Recursively walk and add extra information/helpers to Esprima / Mozilla SpiderMonkey Parser API compatible AST.The main difference between other tools is that it also keeps information about tokens and white spaces and it is meant to be used to transform the tokens and not the string values itself.

grunt-eslint - Validate files with ESLint

  •    Javascript

See the ESLint options.Name of a built-in formatter or path to a custom one.

eshighlight - highlight javascript code based on an esprima AST

  •    Javascript

JavaScript code highlighter based on esprima.Takes a JavaScript string, returns an html string.

static-eval - evaluate statically-analyzable expressions

  •    Javascript

Evaluate the esprima-parsed abstract syntax tree object ast with an optional collection of variables vars to use in the static expression resolution.If the expression contained in ast can't be statically resolved, evaluate() returns undefined.

node-syntax-error - detect and report syntax errors in source code strings

  •    Javascript

Detect and report syntax errors in source code strings.When you type node src.js you get a friendly error report about exactly where the syntax error is. This module lets you check for syntax errors and report them in a similarly friendly format that wrapping a try/catch around Function() or vm.runInNewContext() doesn't get you.

eslint-grunt - Validate files with ESLint using the Grunt task runner.

  •    Javascript

Validate files with ESLint. config String: This should be a path to your ESLint config JSON file. This must be a valid ESLint config JSON. Note that eslint-grunt will respect the reporting level in your ESLint config JSON (1 is warn, 2 is error). Warn will let the task exit successfully. Error will fail the task. If a config is not specified, the default JSON file will be used. Take a look at the default ESLint config JSON and the ESLint rules documentation.

mrdoobapproves - does mrdoob approve?

  •    Javascript

This is a browser-based tool to check, validate, formatter, lint javascript code. Initially created for Mr.doob's Code Style™, it can now support multiple code styles.