repo "https://github.com/tree-sitter/tree-sitter-javascript"
commit "58404d8cf191d69f2674a8fd507bd5776f46cb11"
license "MIT"
grammar {
id "javascript"
name "JavaScript"
tag "code"
tier 1
has-scanner #true
generate-component #true
icon "devicon-plain:javascript"
aliases "js" "jsx" "mjs" "cjs"
inventor "Brendan Eich"
year 1995
description "High-level, dynamic language for the web and beyond; the current <a href=\"https://tc39.es/ecma262/\">ECMAScript specification</a>."
link "https://en.wikipedia.org/wiki/JavaScript"
trivia "Eich created JavaScript in 10 days at Netscape in May 1995; it shipped in Netscape Navigator 2.0. TC39 now standardizes it via <a href=\"https://tc39.es/ecma262/\">ECMAScript specification</a>, and the official name of the language is ECMAScript."
sample {
path "samples/x-model.js"
description "Alpine.js x-model directive with reactivity, DOM binding, and event handling."
link "https://github.com/alpinejs/alpine/blob/main/packages/alpinejs/src/directives/x-model.js"
license "MIT"
}
}