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 June 2026, the official npm organization page lists 24 packages under the @atscript scope, all maintained by Artem Maltsev[^c14]. These packages span core compiler tooling, database adapters for four backends (SQLite, PostgreSQL, MySQL, MongoDB) with dedicated SQL and client packages, a UI framework with Vue 3 form and table components, and Moost framework integrations[^c13]. The npm registry search confirms 24 actively maintained scoped packages all at version 0.1.x[^c15], with the most actively downloaded package (@atscript/db) reaching over 9,000 weekly downloads[^c11]. For a step-by-step walkthrough, see the [[Getting Started with Atscript|guides/getting-started]] guide. The project 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], and had accumulated 1.4K total npm downloads as of May 2026, ranking in the top 30% of npm packages[^c8][^c9].
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.