Atscript
Atscript (also spelled AtScript) is the name of two distinct projects in the JavaScript ecosystem, along with a third unrelated project that shares the name. The modern Atscript is a model-driven development framework created by Artem Maltsev that generates TypeScript types, runtime validation, database schemas, REST routes, and UI components from a single .as model file[^c1]. The earlier Google AtScript was a proposed superset of TypeScript for Angular 2.0 that was introduced in 2014 and merged into TypeScript 1.5 in 2015[^c3][^c5].
The modern Atscript framework is built around the principle of a single source of truth for data models. Developers define their data once in a .as file using semantic types and annotations, and the framework generates TypeScript type declarations, runtime validation logic, JSON Schema, database schemas with CRUD operations, and UI form components from that definition[^c1]. The model itself serves as the single source for "types, validation, database schema, UI metadata, and anything else your stack needs"[^c2]. As of May 2026, the project had accumulated 1.4K npm downloads and ranked in the top 30% of npm packages[^c8][^c9]. It is described by market.dev as "a type-focused description language that gives you a single source of truth for types, validation rules, database metadata, and UI hints"[^c7].
Google's AtScript was announced in October 2014 at the ng-Europe conference as an extension of TypeScript that added runtime type introspection, annotations, and dependency injection — features the Angular team needed for Angular 2.0[^c3]. In March 2015, Microsoft and Google announced that AtScript's features would be incorporated into TypeScript 1.5, and Angular 2.0 would be built on pure TypeScript[^c4]. The alignment was formalized with the announcement "AtScript now is TypeScript"[^c5]. AtScript's legacy lives on in TypeScript's decorator support and the Angular framework's use of annotations.
A third, unrelated project named AtScript also exists — a JavaScript-like scripting language interpreter written in TypeScript with a tokenizer, parser, and interpreter[^c6]. It is independent of both the modern framework and the historical Google project.
Note: scope of generation capabilities
The original prose omitted "REST routes" from the list of Atscript generation targets. The cited source (atscriptdev-homepage.md) and the dedicated [[projects/atscript]] page both include REST routes alongside types, validation, DB schemas, and UI components. The index body should either include REST routes or clarify that the omission is deliberate (e.g. REST route gen requires a plugin).