code-languages 1.4.3 → 1.6.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.
package/dist/index.cjs CHANGED
@@ -1,5 +1,34 @@
1
1
  'use strict';
2
2
 
3
+ // src/languages/assembly.ts
4
+ var assembly = {
5
+ slug: "assembly",
6
+ publishedDate: "1949-01-01",
7
+ extensions: [".asm", ".s", ".S", ".inc"],
8
+ author: "Machine architecture vendors and assembler implementers",
9
+ website: "https://en.wikipedia.org/wiki/Assembly_language",
10
+ paradigms: ["imperative", "low-level", "procedural"],
11
+ tooling: {
12
+ runtimes: ["Native"],
13
+ packageManagers: ["APT", "DNF", "Pacman", "Homebrew"],
14
+ ecosystems: ["Systems", "Embedded", "Reverse Engineering"]
15
+ },
16
+ version: "Architecture-specific",
17
+ logo: "https://cdn.simpleicons.org/assemblyscript/007AAC",
18
+ i18n: {
19
+ en: {
20
+ name: "Assembly",
21
+ description: "A family of low-level languages that map closely to machine instructions for specific CPU architectures.",
22
+ longDescription: "Assembly language represents processor instructions, registers, memory addressing modes, labels, directives, and macros using symbolic text that is assembled into machine code.\n\nIt is used in operating systems, embedded firmware, bootloaders, drivers, reverse engineering, performance-critical routines, and educational material where direct control over hardware and instructions matters."
23
+ },
24
+ es: {
25
+ name: "Assembly",
26
+ description: "Una familia de lenguajes de bajo nivel cercana a instrucciones de maquina para arquitecturas especificas.",
27
+ longDescription: "Assembly representa instrucciones del procesador, registros, modos de direccionamiento de memoria, etiquetas, directivas y macros usando texto simbolico que se ensambla en codigo maquina.\n\nSe usa en sistemas operativos, firmware embebido, bootloaders, drivers, ingenieria inversa, rutinas criticas de rendimiento y material educativo donde importa el control directo del hardware y las instrucciones."
28
+ }
29
+ }
30
+ };
31
+
3
32
  // src/languages/astro.ts
4
33
  var astro = {
5
34
  slug: "astro",
@@ -115,6 +144,35 @@ var cobol = {
115
144
  }
116
145
  };
117
146
 
147
+ // src/languages/coffeescript.ts
148
+ var coffeescript = {
149
+ slug: "coffeescript",
150
+ publishedDate: "2009-12-25",
151
+ extensions: [".coffee", ".litcoffee", ".cson"],
152
+ author: "Jeremy Ashkenas",
153
+ website: "https://coffeescript.org",
154
+ paradigms: ["functional", "imperative", "object-oriented", "scripting"],
155
+ tooling: {
156
+ runtimes: ["Browser", "Node.js"],
157
+ packageManagers: ["npm", "pnpm", "Yarn"],
158
+ ecosystems: ["JavaScript", "Web", "Node.js"]
159
+ },
160
+ version: "2.7.0",
161
+ logo: "https://cdn.simpleicons.org/coffeescript/2F2625",
162
+ i18n: {
163
+ en: {
164
+ name: "CoffeeScript",
165
+ description: "A small language that compiles to JavaScript with concise syntax inspired by Ruby and Python.",
166
+ longDescription: "CoffeeScript adds a concise syntax over JavaScript with significant whitespace, function shortcuts, comprehensions, destructuring, classes, string interpolation, and other expressive conveniences.\n\nIt was widely used in earlier JavaScript application stacks and remains relevant in legacy projects, build pipelines, and codebases that prefer its compact syntax while targeting standard JavaScript."
167
+ },
168
+ es: {
169
+ name: "CoffeeScript",
170
+ description: "Un lenguaje pequeno que compila a JavaScript con sintaxis concisa inspirada en Ruby y Python.",
171
+ longDescription: "CoffeeScript agrega una sintaxis concisa sobre JavaScript con indentacion significativa, atajos para funciones, comprehensions, destructuring, clases, interpolacion de cadenas y otras comodidades expresivas.\n\nFue muy usado en stacks anteriores de aplicaciones JavaScript y sigue siendo relevante en proyectos legacy, pipelines de build y codebases que prefieren su sintaxis compacta mientras generan JavaScript estandar."
172
+ }
173
+ }
174
+ };
175
+
118
176
  // src/languages/cpp.ts
119
177
  var cpp = {
120
178
  slug: "cpp",
@@ -643,6 +701,35 @@ var php = {
643
701
  }
644
702
  };
645
703
 
704
+ // src/languages/powershell.ts
705
+ var powershell = {
706
+ slug: "powershell",
707
+ publishedDate: "2006-11-14",
708
+ extensions: [".ps1", ".psm1", ".psd1", ".ps1xml"],
709
+ author: "Microsoft",
710
+ website: "https://learn.microsoft.com/powershell/",
711
+ paradigms: ["command", "imperative", "object-oriented", "scripting", "shell"],
712
+ tooling: {
713
+ runtimes: ["PowerShell", "Windows PowerShell", ".NET"],
714
+ packageManagers: ["PowerShell Gallery", "PSResourceGet", "PowerShellGet"],
715
+ ecosystems: ["Windows", "Azure", "DevOps", "Automation"]
716
+ },
717
+ version: "7.6.1",
718
+ logo: "https://upload.wikimedia.org/wikipedia/commons/2/2f/PowerShell_5.0_icon.png",
719
+ i18n: {
720
+ en: {
721
+ name: "PowerShell",
722
+ description: "A cross-platform command shell and scripting language for automation and system administration.",
723
+ longDescription: "PowerShell combines a command-line shell, scripting language, object pipeline, module system, providers, remoting, and deep integration with .NET and operating system management APIs.\n\nIt is widely used for Windows administration, Azure automation, DevOps workflows, configuration management, cloud operations, and repeatable infrastructure tasks across Windows, Linux, and macOS."
724
+ },
725
+ es: {
726
+ name: "PowerShell",
727
+ description: "Un shell de comandos y lenguaje de scripting multiplataforma para automatizacion y administracion de sistemas.",
728
+ longDescription: "PowerShell combina un shell de linea de comandos, lenguaje de scripting, pipeline de objetos, sistema de modulos, proveedores, remoting e integracion profunda con .NET y APIs de administracion del sistema operativo.\n\nSe usa ampliamente para administracion de Windows, automatizacion de Azure, flujos DevOps, gestion de configuracion, operaciones cloud y tareas repetibles de infraestructura en Windows, Linux y macOS."
729
+ }
730
+ }
731
+ };
732
+
646
733
  // src/languages/python.ts
647
734
  var python = {
648
735
  slug: "python",
@@ -1007,8 +1094,10 @@ var zsh = {
1007
1094
  // src/catalog.ts
1008
1095
  var languages = [
1009
1096
  astro,
1097
+ assembly,
1010
1098
  bash,
1011
1099
  c,
1100
+ coffeescript,
1012
1101
  cobol,
1013
1102
  cpp,
1014
1103
  csharp,
@@ -1029,6 +1118,7 @@ var languages = [
1029
1118
  nginx,
1030
1119
  objectiveC,
1031
1120
  php,
1121
+ powershell,
1032
1122
  python,
1033
1123
  rust,
1034
1124
  scss,
@@ -1091,10 +1181,12 @@ var resolveLocale = (translations, locale) => {
1091
1181
  return "en";
1092
1182
  };
1093
1183
 
1184
+ exports.assembly = assembly;
1094
1185
  exports.astro = astro;
1095
1186
  exports.bash = bash;
1096
1187
  exports.c = c;
1097
1188
  exports.cobol = cobol;
1189
+ exports.coffeescript = coffeescript;
1098
1190
  exports.cpp = cpp;
1099
1191
  exports.csharp = csharp;
1100
1192
  exports.css = css;
@@ -1118,6 +1210,7 @@ exports.markdown = markdown;
1118
1210
  exports.nginx = nginx;
1119
1211
  exports.objectiveC = objectiveC;
1120
1212
  exports.php = php;
1213
+ exports.powershell = powershell;
1121
1214
  exports.python = python;
1122
1215
  exports.rust = rust;
1123
1216
  exports.scss = scss;