code-languages 0.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +140 -0
  2. package/dist/index.cjs +196 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +39 -0
  5. package/dist/index.d.ts +39 -0
  6. package/dist/index.js +183 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/languages/c.cjs +20 -0
  9. package/dist/languages/c.cjs.map +1 -0
  10. package/dist/languages/c.d.cts +15 -0
  11. package/dist/languages/c.d.ts +15 -0
  12. package/dist/languages/c.js +18 -0
  13. package/dist/languages/c.js.map +1 -0
  14. package/dist/languages/css.cjs +20 -0
  15. package/dist/languages/css.cjs.map +1 -0
  16. package/dist/languages/css.d.cts +15 -0
  17. package/dist/languages/css.d.ts +15 -0
  18. package/dist/languages/css.js +18 -0
  19. package/dist/languages/css.js.map +1 -0
  20. package/dist/languages/go.cjs +20 -0
  21. package/dist/languages/go.cjs.map +1 -0
  22. package/dist/languages/go.d.cts +15 -0
  23. package/dist/languages/go.d.ts +15 -0
  24. package/dist/languages/go.js +18 -0
  25. package/dist/languages/go.js.map +1 -0
  26. package/dist/languages/html.cjs +20 -0
  27. package/dist/languages/html.cjs.map +1 -0
  28. package/dist/languages/html.d.cts +15 -0
  29. package/dist/languages/html.d.ts +15 -0
  30. package/dist/languages/html.js +18 -0
  31. package/dist/languages/html.js.map +1 -0
  32. package/dist/languages/java.cjs +20 -0
  33. package/dist/languages/java.cjs.map +1 -0
  34. package/dist/languages/java.d.cts +15 -0
  35. package/dist/languages/java.d.ts +15 -0
  36. package/dist/languages/java.js +18 -0
  37. package/dist/languages/java.js.map +1 -0
  38. package/dist/languages/javascript.cjs +20 -0
  39. package/dist/languages/javascript.cjs.map +1 -0
  40. package/dist/languages/javascript.d.cts +15 -0
  41. package/dist/languages/javascript.d.ts +15 -0
  42. package/dist/languages/javascript.js +18 -0
  43. package/dist/languages/javascript.js.map +1 -0
  44. package/dist/languages/json.cjs +20 -0
  45. package/dist/languages/json.cjs.map +1 -0
  46. package/dist/languages/json.d.cts +15 -0
  47. package/dist/languages/json.d.ts +15 -0
  48. package/dist/languages/json.js +18 -0
  49. package/dist/languages/json.js.map +1 -0
  50. package/dist/languages/markdown.cjs +20 -0
  51. package/dist/languages/markdown.cjs.map +1 -0
  52. package/dist/languages/markdown.d.cts +15 -0
  53. package/dist/languages/markdown.d.ts +15 -0
  54. package/dist/languages/markdown.js +18 -0
  55. package/dist/languages/markdown.js.map +1 -0
  56. package/dist/languages/python.cjs +20 -0
  57. package/dist/languages/python.cjs.map +1 -0
  58. package/dist/languages/python.d.cts +15 -0
  59. package/dist/languages/python.d.ts +15 -0
  60. package/dist/languages/python.js +18 -0
  61. package/dist/languages/python.js.map +1 -0
  62. package/dist/languages/rust.cjs +20 -0
  63. package/dist/languages/rust.cjs.map +1 -0
  64. package/dist/languages/rust.d.cts +15 -0
  65. package/dist/languages/rust.d.ts +15 -0
  66. package/dist/languages/rust.js +18 -0
  67. package/dist/languages/rust.js.map +1 -0
  68. package/dist/languages/typescript.cjs +20 -0
  69. package/dist/languages/typescript.cjs.map +1 -0
  70. package/dist/languages/typescript.d.cts +15 -0
  71. package/dist/languages/typescript.d.ts +15 -0
  72. package/dist/languages/typescript.js +18 -0
  73. package/dist/languages/typescript.js.map +1 -0
  74. package/dist/languages/yaml.cjs +20 -0
  75. package/dist/languages/yaml.cjs.map +1 -0
  76. package/dist/languages/yaml.d.cts +15 -0
  77. package/dist/languages/yaml.d.ts +15 -0
  78. package/dist/languages/yaml.js +18 -0
  79. package/dist/languages/yaml.js.map +1 -0
  80. package/package.json +109 -8
package/README.md ADDED
@@ -0,0 +1,140 @@
1
+ # code-languages
2
+
3
+ [![npm version](https://img.shields.io/npm/v/code-languages.svg)](https://www.npmjs.com/package/code-languages)
4
+ [![CI](https://github.com/ElJijuna/code-languages/actions/workflows/ci.yml/badge.svg)](https://github.com/ElJijuna/code-languages/actions/workflows/ci.yml)
5
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
+ [![TypeScript](https://img.shields.io/badge/TypeScript-ready-3178c6.svg)](https://www.typescriptlang.org)
7
+ [![Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen.svg)](package.json)
8
+
9
+ Structured metadata for programming languages, packaged as a typed, tree-shakeable TypeScript library.
10
+
11
+ `code-languages` is useful when you need a small source of truth for language names, slugs, file extensions, release metadata, websites, paradigms, and logos in developer tools, docs sites, learning platforms, or editor-like interfaces. It currently includes metadata for 12 languages.
12
+
13
+ ## Features
14
+
15
+ - TypeScript-first data model
16
+ - Zero runtime dependencies
17
+ - ESM and CommonJS builds
18
+ - Subpath imports for per-language usage
19
+ - Tree-shakeable exports
20
+ - Works in Node.js and modern bundlers
21
+
22
+ ## Installation
23
+
24
+ ```bash
25
+ npm install code-languages
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ Import only the language metadata you need:
31
+
32
+ ```ts
33
+ import { typescript } from "code-languages/typescript";
34
+
35
+ console.log(typescript.name);
36
+ console.log(typescript.extensions);
37
+ console.log(typescript.paradigms);
38
+ ```
39
+
40
+ Import multiple languages:
41
+
42
+ ```ts
43
+ import { c } from "code-languages/c";
44
+ import { css } from "code-languages/css";
45
+ import { javascript } from "code-languages/javascript";
46
+ import { java } from "code-languages/java";
47
+ import { html } from "code-languages/html";
48
+ import { markdown } from "code-languages/markdown";
49
+ import { python } from "code-languages/python";
50
+ import { json } from "code-languages/json";
51
+ import { yaml } from "code-languages/yaml";
52
+
53
+ console.log(c.extensions);
54
+ console.log(css.paradigms);
55
+ console.log(javascript.website);
56
+ console.log(java.version);
57
+ console.log(html.extensions);
58
+ console.log(markdown.website);
59
+ console.log(python.publishedDate);
60
+ console.log(json.description);
61
+ console.log(yaml.version);
62
+ ```
63
+
64
+ Import from the package root when bundle size is not a concern:
65
+
66
+ ```ts
67
+ import { c, css, go, html, java, json, markdown, rust, typescript, yaml } from "code-languages";
68
+
69
+ console.log(c.version);
70
+ console.log(css.name);
71
+ console.log(java.name);
72
+ console.log(html.website);
73
+ console.log(markdown.extensions);
74
+ console.log(go.logo);
75
+ console.log(json.website);
76
+ console.log(yaml.paradigms);
77
+ ```
78
+
79
+ ## API
80
+
81
+ Every language object satisfies the `Language` interface:
82
+
83
+ ```ts
84
+ export interface Language {
85
+ name: string;
86
+ slug: string;
87
+ description: string;
88
+ longDescription: string;
89
+ publishedDate: string;
90
+ extensions: string[];
91
+ author: string;
92
+ website: string;
93
+ paradigms: string[];
94
+ version: string;
95
+ logo: string;
96
+ }
97
+ ```
98
+
99
+ ## Supported Languages
100
+
101
+ | Language | Slug | Extensions | Version | Import |
102
+ |---|---|---|---|---|
103
+ | C | `c` | `.c`, `.h` | `C23` | `code-languages/c` |
104
+ | TypeScript | `typescript` | `.ts`, `.tsx`, `.mts`, `.cts` | `6.0` | `code-languages/typescript` |
105
+ | JavaScript | `javascript` | `.js`, `.mjs`, `.cjs`, `.jsx` | `ECMAScript 2025` | `code-languages/javascript` |
106
+ | JSON | `json` | `.json` | `RFC 8259` | `code-languages/json` |
107
+ | Java | `java` | `.java` | `26` | `code-languages/java` |
108
+ | HTML | `html` | `.html`, `.htm` | `Living Standard` | `code-languages/html` |
109
+ | CSS | `css` | `.css` | `Living Standard` | `code-languages/css` |
110
+ | Markdown | `markdown` | `.md`, `.markdown`, `.mdown`, `.mkd` | `CommonMark 0.31.2` | `code-languages/markdown` |
111
+ | YAML | `yaml` | `.yaml`, `.yml` | `1.2.2` | `code-languages/yaml` |
112
+ | Python | `python` | `.py`, `.pyw` | `3.14.4` | `code-languages/python` |
113
+ | Rust | `rust` | `.rs` | `1.95.0` | `code-languages/rust` |
114
+ | Go | `go` | `.go` | `1.26.3` | `code-languages/go` |
115
+
116
+ ## Development
117
+
118
+ ```bash
119
+ npm ci
120
+ npm run check
121
+ npm run build
122
+ ```
123
+
124
+ Common scripts:
125
+
126
+ | Script | Purpose |
127
+ |---|---|
128
+ | `npm run lint` | Run Biome checks |
129
+ | `npm run typecheck` | Run TypeScript without emitting files |
130
+ | `npm test` | Run Vitest |
131
+ | `npm run build` | Build ESM, CommonJS, and declaration files |
132
+ | `npm run check` | Run lint, typecheck, and tests |
133
+
134
+ ## Contributing
135
+
136
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for setup instructions, field rules, and the process for adding a new language.
137
+
138
+ ## License
139
+
140
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,196 @@
1
+ 'use strict';
2
+
3
+ // src/languages/c.ts
4
+ var c = {
5
+ name: "C",
6
+ slug: "c",
7
+ description: "A general-purpose systems programming language with low-level memory access.",
8
+ longDescription: "C is a compiled language designed for systems programming, portable software, embedded development, operating systems, language runtimes, and performance-sensitive libraries.\n\nIt offers direct memory management, a small core language, and close interaction with machine-level concepts while remaining portable across many hardware and operating system targets.",
9
+ publishedDate: "1972-01-01",
10
+ extensions: [".c", ".h"],
11
+ author: "Dennis Ritchie / Bell Labs",
12
+ website: "https://www.open-std.org/jtc1/sc22/wg14/",
13
+ paradigms: ["imperative", "procedural", "structured"],
14
+ version: "C23",
15
+ logo: "https://upload.wikimedia.org/wikipedia/commons/1/18/C_Programming_Language.svg"
16
+ };
17
+
18
+ // src/languages/css.ts
19
+ var css = {
20
+ name: "CSS",
21
+ slug: "css",
22
+ description: "A stylesheet language for describing the presentation of web documents.",
23
+ longDescription: "CSS defines how structured documents are presented, including layout, typography, colors, animations, responsive behavior, and visual states.\n\nIt is one of the core technologies of the web platform and is maintained through modular specifications rather than a single versioned language release.",
24
+ publishedDate: "1996-12-17",
25
+ extensions: [".css"],
26
+ author: "Hakon Wium Lie / W3C",
27
+ website: "https://www.w3.org/Style/CSS/",
28
+ paradigms: ["declarative", "stylesheet"],
29
+ version: "Living Standard",
30
+ logo: "https://www.w3.org/html/logo/downloads/CSS3_Logo.svg"
31
+ };
32
+
33
+ // src/languages/go.ts
34
+ var go = {
35
+ name: "Go",
36
+ slug: "go",
37
+ description: "A compiled language designed for simplicity, fast builds, and concurrency.",
38
+ longDescription: "Go combines a small language specification, garbage collection, static typing, and built-in concurrency primitives through goroutines and channels.\n\nIt is commonly used for cloud services, networking tools, distributed systems, command-line applications, and infrastructure software.",
39
+ publishedDate: "2012-03-28",
40
+ extensions: [".go"],
41
+ author: "Robert Griesemer, Rob Pike, Ken Thompson / Google",
42
+ website: "https://go.dev",
43
+ paradigms: ["concurrent", "imperative", "procedural"],
44
+ version: "1.26.3",
45
+ logo: "https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg"
46
+ };
47
+
48
+ // src/languages/html.ts
49
+ var html = {
50
+ name: "HTML",
51
+ slug: "html",
52
+ description: "A markup language for structuring web pages and browser-rendered documents.",
53
+ longDescription: "HTML defines the structure and semantics of documents on the web, using elements and attributes to describe headings, paragraphs, links, media, forms, and application surfaces.\n\nIt is maintained as a living standard and works alongside CSS and JavaScript as one of the core technologies of the web platform.",
54
+ publishedDate: "1993-06-01",
55
+ extensions: [".html", ".htm"],
56
+ author: "Tim Berners-Lee / WHATWG",
57
+ website: "https://html.spec.whatwg.org",
58
+ paradigms: ["declarative", "markup"],
59
+ version: "Living Standard",
60
+ logo: "https://www.w3.org/html/logo/downloads/HTML5_Badge.svg"
61
+ };
62
+
63
+ // src/languages/java.ts
64
+ var java = {
65
+ name: "Java",
66
+ slug: "java",
67
+ description: "A class-based, object-oriented language for portable applications and services.",
68
+ longDescription: "Java is a statically typed language and runtime platform designed around portability, a large standard library, managed memory, and a mature virtual machine.\n\nIt is widely used for enterprise systems, Android applications, backend services, financial platforms, distributed systems, and long-lived production software.",
69
+ publishedDate: "1995-05-23",
70
+ extensions: [".java"],
71
+ author: "James Gosling / Sun Microsystems",
72
+ website: "https://www.java.com",
73
+ paradigms: ["class-based", "concurrent", "generic", "imperative", "object-oriented"],
74
+ version: "26",
75
+ logo: "https://www.vectorlogo.zone/logos/java/java-icon.svg"
76
+ };
77
+
78
+ // src/languages/javascript.ts
79
+ var javascript = {
80
+ name: "JavaScript",
81
+ slug: "javascript",
82
+ description: "A dynamic scripting language for the web, servers, tools, and applications.",
83
+ longDescription: "JavaScript is the primary programming language of the web platform, running natively in browsers and in server runtimes such as Node.js, Deno, and Bun.\n\nThe language is standardized as ECMAScript and supports event-driven, functional, object-oriented, and prototype-based programming styles.",
84
+ publishedDate: "1995-12-04",
85
+ extensions: [".js", ".mjs", ".cjs", ".jsx"],
86
+ author: "Brendan Eich / Netscape",
87
+ website: "https://developer.mozilla.org/en-US/docs/Web/JavaScript",
88
+ paradigms: ["event-driven", "functional", "imperative", "object-oriented", "prototype-based"],
89
+ version: "ECMAScript 2025",
90
+ logo: "https://upload.wikimedia.org/wikipedia/commons/6/6a/JavaScript-logo.png"
91
+ };
92
+
93
+ // src/languages/json.ts
94
+ var json = {
95
+ name: "JSON",
96
+ slug: "json",
97
+ description: "A lightweight data interchange format based on JavaScript object syntax.",
98
+ longDescription: "JSON represents structured data with objects, arrays, strings, numbers, booleans, and null, using a compact text format that is easy for programs to parse and generate.\n\nIt is widely used for web APIs, configuration files, logs, package manifests, application state, and data exchange between services.",
99
+ publishedDate: "2001-04-01",
100
+ extensions: [".json"],
101
+ author: "Douglas Crockford",
102
+ website: "https://www.json.org/json-en.html",
103
+ paradigms: ["data serialization", "declarative"],
104
+ version: "RFC 8259",
105
+ logo: "https://www.json.org/img/json160.gif"
106
+ };
107
+
108
+ // src/languages/markdown.ts
109
+ var markdown = {
110
+ name: "Markdown",
111
+ slug: "markdown",
112
+ description: "A lightweight markup language for writing formatted plain-text documents.",
113
+ longDescription: "Markdown uses plain-text syntax to represent headings, lists, links, emphasis, code blocks, tables, and other common document structures.\n\nIt is widely used for README files, documentation, static sites, notes, issue trackers, and publishing workflows where readable source text matters.",
114
+ publishedDate: "2004-03-19",
115
+ extensions: [".md", ".markdown", ".mdown", ".mkd"],
116
+ author: "John Gruber / Aaron Swartz",
117
+ website: "https://daringfireball.net/projects/markdown/",
118
+ paradigms: ["declarative", "markup"],
119
+ version: "CommonMark 0.31.2",
120
+ logo: "https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg"
121
+ };
122
+
123
+ // src/languages/python.ts
124
+ var python = {
125
+ name: "Python",
126
+ slug: "python",
127
+ description: "A high-level, readable language used for applications, automation, data, and AI.",
128
+ longDescription: "Python emphasizes readability, a compact syntax, and a broad standard library, making it popular for scripting, backend services, data analysis, education, and scientific computing.\n\nIts ecosystem includes major frameworks and packages for web development, automation, machine learning, numerical computing, testing, and command-line tooling.",
129
+ publishedDate: "1991-02-20",
130
+ extensions: [".py", ".pyw"],
131
+ author: "Guido van Rossum",
132
+ website: "https://www.python.org",
133
+ paradigms: ["object-oriented", "functional", "imperative", "procedural"],
134
+ version: "3.14.4",
135
+ logo: "https://www.python.org/static/community_logos/python-logo-only.svg"
136
+ };
137
+
138
+ // src/languages/rust.ts
139
+ var rust = {
140
+ name: "Rust",
141
+ slug: "rust",
142
+ description: "A systems programming language focused on safety, speed, and concurrency.",
143
+ longDescription: "Rust provides memory safety without a garbage collector through ownership, borrowing, lifetimes, and strong compile-time checks.\n\nIt is used for systems software, command-line tools, web services, embedded development, WebAssembly, and performance-critical infrastructure.",
144
+ publishedDate: "2015-05-15",
145
+ extensions: [".rs"],
146
+ author: "Graydon Hoare / Mozilla Research",
147
+ website: "https://www.rust-lang.org",
148
+ paradigms: ["concurrent", "functional", "imperative", "procedural"],
149
+ version: "1.95.0",
150
+ logo: "https://www.rust-lang.org/logos/rust-logo-512x512.png"
151
+ };
152
+
153
+ // src/languages/typescript.ts
154
+ var typescript = {
155
+ name: "TypeScript",
156
+ slug: "typescript",
157
+ description: "A typed superset of JavaScript that compiles to plain JavaScript.",
158
+ longDescription: "TypeScript adds static typing, interfaces, generics, and modern tooling support to JavaScript while preserving JavaScript runtime semantics.\n\nIt is widely used for large web applications, libraries, server-side Node.js projects, and developer tools where maintainability and editor feedback matter.",
159
+ publishedDate: "2012-10-01",
160
+ extensions: [".ts", ".tsx", ".mts", ".cts"],
161
+ author: "Anders Hejlsberg / Microsoft",
162
+ website: "https://www.typescriptlang.org",
163
+ paradigms: ["object-oriented", "functional", "imperative", "generic"],
164
+ version: "6.0",
165
+ logo: "https://www.typescriptlang.org/icons/icon-512x512.png"
166
+ };
167
+
168
+ // src/languages/yaml.ts
169
+ var yaml = {
170
+ name: "YAML",
171
+ slug: "yaml",
172
+ description: "A human-readable data serialization language used for configuration and documents.",
173
+ longDescription: "YAML represents structured data with indentation-based syntax, supporting mappings, sequences, scalars, anchors, aliases, and multiple documents in a stream.\n\nIt is widely used for configuration files, CI/CD workflows, infrastructure definitions, application settings, and data exchange where readability is important.",
174
+ publishedDate: "2001-05-11",
175
+ extensions: [".yaml", ".yml"],
176
+ author: "Clark Evans, Ingy dot Net, Oren Ben-Kiki",
177
+ website: "https://yaml.org",
178
+ paradigms: ["data serialization", "declarative"],
179
+ version: "1.2.2",
180
+ logo: "https://yaml.org/spec/1.2.2/ext/img/yaml-logo.svg"
181
+ };
182
+
183
+ exports.c = c;
184
+ exports.css = css;
185
+ exports.go = go;
186
+ exports.html = html;
187
+ exports.java = java;
188
+ exports.javascript = javascript;
189
+ exports.json = json;
190
+ exports.markdown = markdown;
191
+ exports.python = python;
192
+ exports.rust = rust;
193
+ exports.typescript = typescript;
194
+ exports.yaml = yaml;
195
+ //# sourceMappingURL=index.cjs.map
196
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/languages/c.ts","../src/languages/css.ts","../src/languages/go.ts","../src/languages/html.ts","../src/languages/java.ts","../src/languages/javascript.ts","../src/languages/json.ts","../src/languages/markdown.ts","../src/languages/python.ts","../src/languages/rust.ts","../src/languages/typescript.ts","../src/languages/yaml.ts"],"names":[],"mappings":";;;AAEO,IAAM,CAAA,GAAI;AAAA,EACf,IAAA,EAAM,GAAA;AAAA,EACN,IAAA,EAAM,GAAA;AAAA,EACN,WAAA,EAAa,8EAAA;AAAA,EACb,eAAA,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eAAA,EACE,oRAAA;AAAA,EACF,aAAA,EAAe,YAAA;AAAA,EACf,UAAA,EAAY,CAAC,KAAK,CAAA;AAAA,EAClB,MAAA,EAAQ,kCAAA;AAAA,EACR,OAAA,EAAS,2BAAA;AAAA,EACT,SAAA,EAAW,CAAC,YAAA,EAAc,YAAA,EAAc,cAAc,YAAY,CAAA;AAAA,EAClE,OAAA,EAAS,QAAA;AAAA,EACT,IAAA,EAAM;AACR;;;ACbO,IAAM,UAAA,GAAa;AAAA,EACxB,IAAA,EAAM,YAAA;AAAA,EACN,IAAA,EAAM,YAAA;AAAA,EACN,WAAA,EAAa,mEAAA;AAAA,EACb,eAAA,EACE,8SAAA;AAAA,EACF,aAAA,EAAe,YAAA;AAAA,EACf,UAAA,EAAY,CAAC,KAAA,EAAO,MAAA,EAAQ,QAAQ,MAAM,CAAA;AAAA,EAC1C,MAAA,EAAQ,8BAAA;AAAA,EACR,OAAA,EAAS,gCAAA;AAAA,EACT,SAAA,EAAW,CAAC,iBAAA,EAAmB,YAAA,EAAc,cAAc,SAAS,CAAA;AAAA,EACpE,OAAA,EAAS,KAAA;AAAA,EACT,IAAA,EAAM;AACR;;;ACbO,IAAM,IAAA,GAAO;AAAA,EAClB,IAAA,EAAM,MAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA,EACN,WAAA,EAAa,oFAAA;AAAA,EACb,eAAA,EACE,kUAAA;AAAA,EACF,aAAA,EAAe,YAAA;AAAA,EACf,UAAA,EAAY,CAAC,OAAA,EAAS,MAAM,CAAA;AAAA,EAC5B,MAAA,EAAQ,0CAAA;AAAA,EACR,OAAA,EAAS,kBAAA;AAAA,EACT,SAAA,EAAW,CAAC,oBAAA,EAAsB,aAAa,CAAA;AAAA,EAC/C,OAAA,EAAS,OAAA;AAAA,EACT,IAAA,EAAM;AACR","file":"index.cjs","sourcesContent":["import type { Language } from \"../types\";\n\nexport const c = {\n name: \"C\",\n slug: \"c\",\n description: \"A general-purpose systems programming language with low-level memory access.\",\n longDescription:\n \"C is a compiled language designed for systems programming, portable software, embedded development, operating systems, language runtimes, and performance-sensitive libraries.\\n\\nIt offers direct memory management, a small core language, and close interaction with machine-level concepts while remaining portable across many hardware and operating system targets.\",\n publishedDate: \"1972-01-01\",\n extensions: [\".c\", \".h\"],\n author: \"Dennis Ritchie / Bell Labs\",\n website: \"https://www.open-std.org/jtc1/sc22/wg14/\",\n paradigms: [\"imperative\", \"procedural\", \"structured\"],\n version: \"C23\",\n logo: \"https://upload.wikimedia.org/wikipedia/commons/1/18/C_Programming_Language.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const css = {\n name: \"CSS\",\n slug: \"css\",\n description: \"A stylesheet language for describing the presentation of web documents.\",\n longDescription:\n \"CSS defines how structured documents are presented, including layout, typography, colors, animations, responsive behavior, and visual states.\\n\\nIt is one of the core technologies of the web platform and is maintained through modular specifications rather than a single versioned language release.\",\n publishedDate: \"1996-12-17\",\n extensions: [\".css\"],\n author: \"Hakon Wium Lie / W3C\",\n website: \"https://www.w3.org/Style/CSS/\",\n paradigms: [\"declarative\", \"stylesheet\"],\n version: \"Living Standard\",\n logo: \"https://www.w3.org/html/logo/downloads/CSS3_Logo.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const go = {\n name: \"Go\",\n slug: \"go\",\n description: \"A compiled language designed for simplicity, fast builds, and concurrency.\",\n longDescription:\n \"Go combines a small language specification, garbage collection, static typing, and built-in concurrency primitives through goroutines and channels.\\n\\nIt is commonly used for cloud services, networking tools, distributed systems, command-line applications, and infrastructure software.\",\n publishedDate: \"2012-03-28\",\n extensions: [\".go\"],\n author: \"Robert Griesemer, Rob Pike, Ken Thompson / Google\",\n website: \"https://go.dev\",\n paradigms: [\"concurrent\", \"imperative\", \"procedural\"],\n version: \"1.26.3\",\n logo: \"https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const html = {\n name: \"HTML\",\n slug: \"html\",\n description: \"A markup language for structuring web pages and browser-rendered documents.\",\n longDescription:\n \"HTML defines the structure and semantics of documents on the web, using elements and attributes to describe headings, paragraphs, links, media, forms, and application surfaces.\\n\\nIt is maintained as a living standard and works alongside CSS and JavaScript as one of the core technologies of the web platform.\",\n publishedDate: \"1993-06-01\",\n extensions: [\".html\", \".htm\"],\n author: \"Tim Berners-Lee / WHATWG\",\n website: \"https://html.spec.whatwg.org\",\n paradigms: [\"declarative\", \"markup\"],\n version: \"Living Standard\",\n logo: \"https://www.w3.org/html/logo/downloads/HTML5_Badge.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const java = {\n name: \"Java\",\n slug: \"java\",\n description: \"A class-based, object-oriented language for portable applications and services.\",\n longDescription:\n \"Java is a statically typed language and runtime platform designed around portability, a large standard library, managed memory, and a mature virtual machine.\\n\\nIt is widely used for enterprise systems, Android applications, backend services, financial platforms, distributed systems, and long-lived production software.\",\n publishedDate: \"1995-05-23\",\n extensions: [\".java\"],\n author: \"James Gosling / Sun Microsystems\",\n website: \"https://www.java.com\",\n paradigms: [\"class-based\", \"concurrent\", \"generic\", \"imperative\", \"object-oriented\"],\n version: \"26\",\n logo: \"https://www.vectorlogo.zone/logos/java/java-icon.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const javascript = {\n name: \"JavaScript\",\n slug: \"javascript\",\n description: \"A dynamic scripting language for the web, servers, tools, and applications.\",\n longDescription:\n \"JavaScript is the primary programming language of the web platform, running natively in browsers and in server runtimes such as Node.js, Deno, and Bun.\\n\\nThe language is standardized as ECMAScript and supports event-driven, functional, object-oriented, and prototype-based programming styles.\",\n publishedDate: \"1995-12-04\",\n extensions: [\".js\", \".mjs\", \".cjs\", \".jsx\"],\n author: \"Brendan Eich / Netscape\",\n website: \"https://developer.mozilla.org/en-US/docs/Web/JavaScript\",\n paradigms: [\"event-driven\", \"functional\", \"imperative\", \"object-oriented\", \"prototype-based\"],\n version: \"ECMAScript 2025\",\n logo: \"https://upload.wikimedia.org/wikipedia/commons/6/6a/JavaScript-logo.png\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const json = {\n name: \"JSON\",\n slug: \"json\",\n description: \"A lightweight data interchange format based on JavaScript object syntax.\",\n longDescription:\n \"JSON represents structured data with objects, arrays, strings, numbers, booleans, and null, using a compact text format that is easy for programs to parse and generate.\\n\\nIt is widely used for web APIs, configuration files, logs, package manifests, application state, and data exchange between services.\",\n publishedDate: \"2001-04-01\",\n extensions: [\".json\"],\n author: \"Douglas Crockford\",\n website: \"https://www.json.org/json-en.html\",\n paradigms: [\"data serialization\", \"declarative\"],\n version: \"RFC 8259\",\n logo: \"https://www.json.org/img/json160.gif\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const markdown = {\n name: \"Markdown\",\n slug: \"markdown\",\n description: \"A lightweight markup language for writing formatted plain-text documents.\",\n longDescription:\n \"Markdown uses plain-text syntax to represent headings, lists, links, emphasis, code blocks, tables, and other common document structures.\\n\\nIt is widely used for README files, documentation, static sites, notes, issue trackers, and publishing workflows where readable source text matters.\",\n publishedDate: \"2004-03-19\",\n extensions: [\".md\", \".markdown\", \".mdown\", \".mkd\"],\n author: \"John Gruber / Aaron Swartz\",\n website: \"https://daringfireball.net/projects/markdown/\",\n paradigms: [\"declarative\", \"markup\"],\n version: \"CommonMark 0.31.2\",\n logo: \"https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const python = {\n name: \"Python\",\n slug: \"python\",\n description: \"A high-level, readable language used for applications, automation, data, and AI.\",\n longDescription:\n \"Python emphasizes readability, a compact syntax, and a broad standard library, making it popular for scripting, backend services, data analysis, education, and scientific computing.\\n\\nIts ecosystem includes major frameworks and packages for web development, automation, machine learning, numerical computing, testing, and command-line tooling.\",\n publishedDate: \"1991-02-20\",\n extensions: [\".py\", \".pyw\"],\n author: \"Guido van Rossum\",\n website: \"https://www.python.org\",\n paradigms: [\"object-oriented\", \"functional\", \"imperative\", \"procedural\"],\n version: \"3.14.4\",\n logo: \"https://www.python.org/static/community_logos/python-logo-only.svg\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const rust = {\n name: \"Rust\",\n slug: \"rust\",\n description: \"A systems programming language focused on safety, speed, and concurrency.\",\n longDescription:\n \"Rust provides memory safety without a garbage collector through ownership, borrowing, lifetimes, and strong compile-time checks.\\n\\nIt is used for systems software, command-line tools, web services, embedded development, WebAssembly, and performance-critical infrastructure.\",\n publishedDate: \"2015-05-15\",\n extensions: [\".rs\"],\n author: \"Graydon Hoare / Mozilla Research\",\n website: \"https://www.rust-lang.org\",\n paradigms: [\"concurrent\", \"functional\", \"imperative\", \"procedural\"],\n version: \"1.95.0\",\n logo: \"https://www.rust-lang.org/logos/rust-logo-512x512.png\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const typescript = {\n name: \"TypeScript\",\n slug: \"typescript\",\n description: \"A typed superset of JavaScript that compiles to plain JavaScript.\",\n longDescription:\n \"TypeScript adds static typing, interfaces, generics, and modern tooling support to JavaScript while preserving JavaScript runtime semantics.\\n\\nIt is widely used for large web applications, libraries, server-side Node.js projects, and developer tools where maintainability and editor feedback matter.\",\n publishedDate: \"2012-10-01\",\n extensions: [\".ts\", \".tsx\", \".mts\", \".cts\"],\n author: \"Anders Hejlsberg / Microsoft\",\n website: \"https://www.typescriptlang.org\",\n paradigms: [\"object-oriented\", \"functional\", \"imperative\", \"generic\"],\n version: \"6.0\",\n logo: \"https://www.typescriptlang.org/icons/icon-512x512.png\",\n} satisfies Language;\n","import type { Language } from \"../types\";\n\nexport const yaml = {\n name: \"YAML\",\n slug: \"yaml\",\n description: \"A human-readable data serialization language used for configuration and documents.\",\n longDescription:\n \"YAML represents structured data with indentation-based syntax, supporting mappings, sequences, scalars, anchors, aliases, and multiple documents in a stream.\\n\\nIt is widely used for configuration files, CI/CD workflows, infrastructure definitions, application settings, and data exchange where readability is important.\",\n publishedDate: \"2001-05-11\",\n extensions: [\".yaml\", \".yml\"],\n author: \"Clark Evans, Ingy dot Net, Oren Ben-Kiki\",\n website: \"https://yaml.org\",\n paradigms: [\"data serialization\", \"declarative\"],\n version: \"1.2.2\",\n logo: \"https://yaml.org/spec/1.2.2/ext/img/yaml-logo.svg\",\n} satisfies Language;\n"]}
@@ -0,0 +1,39 @@
1
+ export { c } from './languages/c.cjs';
2
+ export { css } from './languages/css.cjs';
3
+ export { go } from './languages/go.cjs';
4
+ export { html } from './languages/html.cjs';
5
+ export { java } from './languages/java.cjs';
6
+ export { javascript } from './languages/javascript.cjs';
7
+ export { json } from './languages/json.cjs';
8
+ export { markdown } from './languages/markdown.cjs';
9
+ export { python } from './languages/python.cjs';
10
+ export { rust } from './languages/rust.cjs';
11
+ export { typescript } from './languages/typescript.cjs';
12
+ export { yaml } from './languages/yaml.cjs';
13
+
14
+ interface Language {
15
+ /** Display name. e.g. "TypeScript" */
16
+ name: string;
17
+ /** URL-safe identifier. e.g. "typescript" */
18
+ slug: string;
19
+ /** One-line summary, max 160 characters. */
20
+ description: string;
21
+ /** Rich multi-paragraph description in plain text. */
22
+ longDescription: string;
23
+ /** ISO 8601 date of first public release. e.g. "2012-10-01" */
24
+ publishedDate: string;
25
+ /** All file extensions associated with the language. e.g. [".ts", ".tsx"] */
26
+ extensions: string[];
27
+ /** Original author or organization. e.g. "Anders Hejlsberg / Microsoft" */
28
+ author: string;
29
+ /** Official website URL. e.g. "https://www.typescriptlang.org" */
30
+ website: string;
31
+ /** Programming paradigms. e.g. ["object-oriented", "functional", "imperative"] */
32
+ paradigms: string[];
33
+ /** Latest stable version at time of last data update. e.g. "5.4.5" */
34
+ version: string;
35
+ /** URL to the official language logo or icon. */
36
+ logo: string;
37
+ }
38
+
39
+ export type { Language };
@@ -0,0 +1,39 @@
1
+ export { c } from './languages/c.js';
2
+ export { css } from './languages/css.js';
3
+ export { go } from './languages/go.js';
4
+ export { html } from './languages/html.js';
5
+ export { java } from './languages/java.js';
6
+ export { javascript } from './languages/javascript.js';
7
+ export { json } from './languages/json.js';
8
+ export { markdown } from './languages/markdown.js';
9
+ export { python } from './languages/python.js';
10
+ export { rust } from './languages/rust.js';
11
+ export { typescript } from './languages/typescript.js';
12
+ export { yaml } from './languages/yaml.js';
13
+
14
+ interface Language {
15
+ /** Display name. e.g. "TypeScript" */
16
+ name: string;
17
+ /** URL-safe identifier. e.g. "typescript" */
18
+ slug: string;
19
+ /** One-line summary, max 160 characters. */
20
+ description: string;
21
+ /** Rich multi-paragraph description in plain text. */
22
+ longDescription: string;
23
+ /** ISO 8601 date of first public release. e.g. "2012-10-01" */
24
+ publishedDate: string;
25
+ /** All file extensions associated with the language. e.g. [".ts", ".tsx"] */
26
+ extensions: string[];
27
+ /** Original author or organization. e.g. "Anders Hejlsberg / Microsoft" */
28
+ author: string;
29
+ /** Official website URL. e.g. "https://www.typescriptlang.org" */
30
+ website: string;
31
+ /** Programming paradigms. e.g. ["object-oriented", "functional", "imperative"] */
32
+ paradigms: string[];
33
+ /** Latest stable version at time of last data update. e.g. "5.4.5" */
34
+ version: string;
35
+ /** URL to the official language logo or icon. */
36
+ logo: string;
37
+ }
38
+
39
+ export type { Language };
package/dist/index.js ADDED
@@ -0,0 +1,183 @@
1
+ // src/languages/c.ts
2
+ var c = {
3
+ name: "C",
4
+ slug: "c",
5
+ description: "A general-purpose systems programming language with low-level memory access.",
6
+ longDescription: "C is a compiled language designed for systems programming, portable software, embedded development, operating systems, language runtimes, and performance-sensitive libraries.\n\nIt offers direct memory management, a small core language, and close interaction with machine-level concepts while remaining portable across many hardware and operating system targets.",
7
+ publishedDate: "1972-01-01",
8
+ extensions: [".c", ".h"],
9
+ author: "Dennis Ritchie / Bell Labs",
10
+ website: "https://www.open-std.org/jtc1/sc22/wg14/",
11
+ paradigms: ["imperative", "procedural", "structured"],
12
+ version: "C23",
13
+ logo: "https://upload.wikimedia.org/wikipedia/commons/1/18/C_Programming_Language.svg"
14
+ };
15
+
16
+ // src/languages/css.ts
17
+ var css = {
18
+ name: "CSS",
19
+ slug: "css",
20
+ description: "A stylesheet language for describing the presentation of web documents.",
21
+ longDescription: "CSS defines how structured documents are presented, including layout, typography, colors, animations, responsive behavior, and visual states.\n\nIt is one of the core technologies of the web platform and is maintained through modular specifications rather than a single versioned language release.",
22
+ publishedDate: "1996-12-17",
23
+ extensions: [".css"],
24
+ author: "Hakon Wium Lie / W3C",
25
+ website: "https://www.w3.org/Style/CSS/",
26
+ paradigms: ["declarative", "stylesheet"],
27
+ version: "Living Standard",
28
+ logo: "https://www.w3.org/html/logo/downloads/CSS3_Logo.svg"
29
+ };
30
+
31
+ // src/languages/go.ts
32
+ var go = {
33
+ name: "Go",
34
+ slug: "go",
35
+ description: "A compiled language designed for simplicity, fast builds, and concurrency.",
36
+ longDescription: "Go combines a small language specification, garbage collection, static typing, and built-in concurrency primitives through goroutines and channels.\n\nIt is commonly used for cloud services, networking tools, distributed systems, command-line applications, and infrastructure software.",
37
+ publishedDate: "2012-03-28",
38
+ extensions: [".go"],
39
+ author: "Robert Griesemer, Rob Pike, Ken Thompson / Google",
40
+ website: "https://go.dev",
41
+ paradigms: ["concurrent", "imperative", "procedural"],
42
+ version: "1.26.3",
43
+ logo: "https://go.dev/blog/go-brand/Go-Logo/SVG/Go-Logo_Blue.svg"
44
+ };
45
+
46
+ // src/languages/html.ts
47
+ var html = {
48
+ name: "HTML",
49
+ slug: "html",
50
+ description: "A markup language for structuring web pages and browser-rendered documents.",
51
+ longDescription: "HTML defines the structure and semantics of documents on the web, using elements and attributes to describe headings, paragraphs, links, media, forms, and application surfaces.\n\nIt is maintained as a living standard and works alongside CSS and JavaScript as one of the core technologies of the web platform.",
52
+ publishedDate: "1993-06-01",
53
+ extensions: [".html", ".htm"],
54
+ author: "Tim Berners-Lee / WHATWG",
55
+ website: "https://html.spec.whatwg.org",
56
+ paradigms: ["declarative", "markup"],
57
+ version: "Living Standard",
58
+ logo: "https://www.w3.org/html/logo/downloads/HTML5_Badge.svg"
59
+ };
60
+
61
+ // src/languages/java.ts
62
+ var java = {
63
+ name: "Java",
64
+ slug: "java",
65
+ description: "A class-based, object-oriented language for portable applications and services.",
66
+ longDescription: "Java is a statically typed language and runtime platform designed around portability, a large standard library, managed memory, and a mature virtual machine.\n\nIt is widely used for enterprise systems, Android applications, backend services, financial platforms, distributed systems, and long-lived production software.",
67
+ publishedDate: "1995-05-23",
68
+ extensions: [".java"],
69
+ author: "James Gosling / Sun Microsystems",
70
+ website: "https://www.java.com",
71
+ paradigms: ["class-based", "concurrent", "generic", "imperative", "object-oriented"],
72
+ version: "26",
73
+ logo: "https://www.vectorlogo.zone/logos/java/java-icon.svg"
74
+ };
75
+
76
+ // src/languages/javascript.ts
77
+ var javascript = {
78
+ name: "JavaScript",
79
+ slug: "javascript",
80
+ description: "A dynamic scripting language for the web, servers, tools, and applications.",
81
+ longDescription: "JavaScript is the primary programming language of the web platform, running natively in browsers and in server runtimes such as Node.js, Deno, and Bun.\n\nThe language is standardized as ECMAScript and supports event-driven, functional, object-oriented, and prototype-based programming styles.",
82
+ publishedDate: "1995-12-04",
83
+ extensions: [".js", ".mjs", ".cjs", ".jsx"],
84
+ author: "Brendan Eich / Netscape",
85
+ website: "https://developer.mozilla.org/en-US/docs/Web/JavaScript",
86
+ paradigms: ["event-driven", "functional", "imperative", "object-oriented", "prototype-based"],
87
+ version: "ECMAScript 2025",
88
+ logo: "https://upload.wikimedia.org/wikipedia/commons/6/6a/JavaScript-logo.png"
89
+ };
90
+
91
+ // src/languages/json.ts
92
+ var json = {
93
+ name: "JSON",
94
+ slug: "json",
95
+ description: "A lightweight data interchange format based on JavaScript object syntax.",
96
+ longDescription: "JSON represents structured data with objects, arrays, strings, numbers, booleans, and null, using a compact text format that is easy for programs to parse and generate.\n\nIt is widely used for web APIs, configuration files, logs, package manifests, application state, and data exchange between services.",
97
+ publishedDate: "2001-04-01",
98
+ extensions: [".json"],
99
+ author: "Douglas Crockford",
100
+ website: "https://www.json.org/json-en.html",
101
+ paradigms: ["data serialization", "declarative"],
102
+ version: "RFC 8259",
103
+ logo: "https://www.json.org/img/json160.gif"
104
+ };
105
+
106
+ // src/languages/markdown.ts
107
+ var markdown = {
108
+ name: "Markdown",
109
+ slug: "markdown",
110
+ description: "A lightweight markup language for writing formatted plain-text documents.",
111
+ longDescription: "Markdown uses plain-text syntax to represent headings, lists, links, emphasis, code blocks, tables, and other common document structures.\n\nIt is widely used for README files, documentation, static sites, notes, issue trackers, and publishing workflows where readable source text matters.",
112
+ publishedDate: "2004-03-19",
113
+ extensions: [".md", ".markdown", ".mdown", ".mkd"],
114
+ author: "John Gruber / Aaron Swartz",
115
+ website: "https://daringfireball.net/projects/markdown/",
116
+ paradigms: ["declarative", "markup"],
117
+ version: "CommonMark 0.31.2",
118
+ logo: "https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg"
119
+ };
120
+
121
+ // src/languages/python.ts
122
+ var python = {
123
+ name: "Python",
124
+ slug: "python",
125
+ description: "A high-level, readable language used for applications, automation, data, and AI.",
126
+ longDescription: "Python emphasizes readability, a compact syntax, and a broad standard library, making it popular for scripting, backend services, data analysis, education, and scientific computing.\n\nIts ecosystem includes major frameworks and packages for web development, automation, machine learning, numerical computing, testing, and command-line tooling.",
127
+ publishedDate: "1991-02-20",
128
+ extensions: [".py", ".pyw"],
129
+ author: "Guido van Rossum",
130
+ website: "https://www.python.org",
131
+ paradigms: ["object-oriented", "functional", "imperative", "procedural"],
132
+ version: "3.14.4",
133
+ logo: "https://www.python.org/static/community_logos/python-logo-only.svg"
134
+ };
135
+
136
+ // src/languages/rust.ts
137
+ var rust = {
138
+ name: "Rust",
139
+ slug: "rust",
140
+ description: "A systems programming language focused on safety, speed, and concurrency.",
141
+ longDescription: "Rust provides memory safety without a garbage collector through ownership, borrowing, lifetimes, and strong compile-time checks.\n\nIt is used for systems software, command-line tools, web services, embedded development, WebAssembly, and performance-critical infrastructure.",
142
+ publishedDate: "2015-05-15",
143
+ extensions: [".rs"],
144
+ author: "Graydon Hoare / Mozilla Research",
145
+ website: "https://www.rust-lang.org",
146
+ paradigms: ["concurrent", "functional", "imperative", "procedural"],
147
+ version: "1.95.0",
148
+ logo: "https://www.rust-lang.org/logos/rust-logo-512x512.png"
149
+ };
150
+
151
+ // src/languages/typescript.ts
152
+ var typescript = {
153
+ name: "TypeScript",
154
+ slug: "typescript",
155
+ description: "A typed superset of JavaScript that compiles to plain JavaScript.",
156
+ longDescription: "TypeScript adds static typing, interfaces, generics, and modern tooling support to JavaScript while preserving JavaScript runtime semantics.\n\nIt is widely used for large web applications, libraries, server-side Node.js projects, and developer tools where maintainability and editor feedback matter.",
157
+ publishedDate: "2012-10-01",
158
+ extensions: [".ts", ".tsx", ".mts", ".cts"],
159
+ author: "Anders Hejlsberg / Microsoft",
160
+ website: "https://www.typescriptlang.org",
161
+ paradigms: ["object-oriented", "functional", "imperative", "generic"],
162
+ version: "6.0",
163
+ logo: "https://www.typescriptlang.org/icons/icon-512x512.png"
164
+ };
165
+
166
+ // src/languages/yaml.ts
167
+ var yaml = {
168
+ name: "YAML",
169
+ slug: "yaml",
170
+ description: "A human-readable data serialization language used for configuration and documents.",
171
+ longDescription: "YAML represents structured data with indentation-based syntax, supporting mappings, sequences, scalars, anchors, aliases, and multiple documents in a stream.\n\nIt is widely used for configuration files, CI/CD workflows, infrastructure definitions, application settings, and data exchange where readability is important.",
172
+ publishedDate: "2001-05-11",
173
+ extensions: [".yaml", ".yml"],
174
+ author: "Clark Evans, Ingy dot Net, Oren Ben-Kiki",
175
+ website: "https://yaml.org",
176
+ paradigms: ["data serialization", "declarative"],
177
+ version: "1.2.2",
178
+ logo: "https://yaml.org/spec/1.2.2/ext/img/yaml-logo.svg"
179
+ };
180
+
181
+ export { c, css, go, html, java, javascript, json, markdown, python, rust, typescript, yaml };
182
+ //# sourceMappingURL=index.js.map
183
+ //# sourceMappingURL=index.js.map