code-languages 1.13.0 → 1.14.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/README.md +16 -0
- package/dist/api.cjs +168 -0
- package/dist/api.cjs.map +1 -1
- package/dist/api.d.cts +108 -0
- package/dist/api.d.ts +108 -0
- package/dist/api.js +168 -0
- package/dist/api.js.map +1 -1
- package/dist/detect.cjs +120 -0
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +120 -0
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +172 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -0
- package/dist/index.d.ts +108 -0
- package/dist/index.js +173 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/elixir.cjs +34 -0
- package/dist/languages/elixir.cjs.map +1 -0
- package/dist/languages/elixir.d.cts +29 -0
- package/dist/languages/elixir.d.ts +29 -0
- package/dist/languages/elixir.js +32 -0
- package/dist/languages/elixir.js.map +1 -0
- package/dist/languages/haskell.cjs +34 -0
- package/dist/languages/haskell.cjs.map +1 -0
- package/dist/languages/haskell.d.cts +29 -0
- package/dist/languages/haskell.d.ts +29 -0
- package/dist/languages/haskell.js +32 -0
- package/dist/languages/haskell.js.map +1 -0
- package/dist/languages/jupyter-notebook.cjs +34 -0
- package/dist/languages/jupyter-notebook.cjs.map +1 -0
- package/dist/languages/jupyter-notebook.d.cts +29 -0
- package/dist/languages/jupyter-notebook.d.ts +29 -0
- package/dist/languages/jupyter-notebook.js +32 -0
- package/dist/languages/jupyter-notebook.js.map +1 -0
- package/dist/languages/ocaml.cjs +34 -0
- package/dist/languages/ocaml.cjs.map +1 -0
- package/dist/languages/ocaml.d.cts +29 -0
- package/dist/languages/ocaml.d.ts +29 -0
- package/dist/languages/ocaml.js +32 -0
- package/dist/languages/ocaml.js.map +1 -0
- package/package.json +21 -1
package/dist/detect.cjs
CHANGED
|
@@ -511,6 +511,35 @@ var dockerfile = {
|
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
+
// src/languages/elixir.ts
|
|
515
|
+
var elixir = {
|
|
516
|
+
slug: "elixir",
|
|
517
|
+
publishedDate: "2012-05-25",
|
|
518
|
+
extensions: [".ex", ".exs", ".eex", ".leex", ".heex"],
|
|
519
|
+
author: "Jose Valim",
|
|
520
|
+
website: "https://elixir-lang.org",
|
|
521
|
+
paradigms: ["functional", "concurrent", "distributed", "metaprogramming"],
|
|
522
|
+
tooling: {
|
|
523
|
+
runtimes: ["BEAM", "Erlang/OTP"],
|
|
524
|
+
packageManagers: ["Mix", "Hex"],
|
|
525
|
+
ecosystems: ["Web", "Distributed Systems", "Fault-tolerant Systems", "Data Processing"]
|
|
526
|
+
},
|
|
527
|
+
version: "1.19.5",
|
|
528
|
+
logo: "https://cdn.simpleicons.org/elixir/4B275F",
|
|
529
|
+
i18n: {
|
|
530
|
+
en: {
|
|
531
|
+
name: "Elixir",
|
|
532
|
+
description: "A dynamic functional language for scalable, maintainable, and fault-tolerant systems.",
|
|
533
|
+
longDescription: "Elixir runs on the BEAM virtual machine and combines functional programming, lightweight processes, message passing, pattern matching, macros, and OTP libraries for building concurrent and distributed software.\n\nIt is widely used for web applications with Phoenix, real-time systems, background jobs, data pipelines, embedded systems, and services that need resilience, observability, and high concurrency."
|
|
534
|
+
},
|
|
535
|
+
es: {
|
|
536
|
+
name: "Elixir",
|
|
537
|
+
description: "Un lenguaje funcional dinamico para sistemas escalables, mantenibles y tolerantes a fallos.",
|
|
538
|
+
longDescription: "Elixir corre sobre la maquina virtual BEAM y combina programacion funcional, procesos ligeros, paso de mensajes, pattern matching, macros y librerias OTP para construir software concurrente y distribuido.\n\nSe usa ampliamente en aplicaciones web con Phoenix, sistemas en tiempo real, trabajos en segundo plano, pipelines de datos, sistemas embebidos y servicios que necesitan resiliencia, observabilidad y alta concurrencia."
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
|
|
514
543
|
// src/languages/elm.ts
|
|
515
544
|
var elm = {
|
|
516
545
|
slug: "elm",
|
|
@@ -800,6 +829,35 @@ var groovy = {
|
|
|
800
829
|
}
|
|
801
830
|
};
|
|
802
831
|
|
|
832
|
+
// src/languages/haskell.ts
|
|
833
|
+
var haskell = {
|
|
834
|
+
slug: "haskell",
|
|
835
|
+
publishedDate: "1990-04-01",
|
|
836
|
+
extensions: [".hs", ".lhs", ".hsc", ".hs-boot", ".hsig", ".cabal"],
|
|
837
|
+
author: "Haskell Committee",
|
|
838
|
+
website: "https://www.haskell.org",
|
|
839
|
+
paradigms: ["functional", "declarative", "lazy evaluation", "statically typed"],
|
|
840
|
+
tooling: {
|
|
841
|
+
runtimes: ["GHC", "GHCi"],
|
|
842
|
+
packageManagers: ["Cabal", "Stack", "GHCup"],
|
|
843
|
+
ecosystems: ["Functional Programming", "Compilers", "Research", "Financial Systems"]
|
|
844
|
+
},
|
|
845
|
+
version: "GHC 9.14.1",
|
|
846
|
+
logo: "https://cdn.simpleicons.org/haskell/5D4F85",
|
|
847
|
+
i18n: {
|
|
848
|
+
en: {
|
|
849
|
+
name: "Haskell",
|
|
850
|
+
description: "A lazy, purely functional language with strong static typing and expressive abstractions.",
|
|
851
|
+
longDescription: "Haskell is a general-purpose functional programming language known for purity, lazy evaluation, algebraic data types, type classes, pattern matching, and a powerful static type system. The Haskell 2010 language standard is widely supported, while GHC adds many commonly used extensions.\n\nIt is used in compiler construction, programming language research, financial systems, formal methods, data processing, education, and production services that benefit from strong types and high-level abstractions."
|
|
852
|
+
},
|
|
853
|
+
es: {
|
|
854
|
+
name: "Haskell",
|
|
855
|
+
description: "Un lenguaje puramente funcional y lazy con tipado estatico fuerte y abstracciones expresivas.",
|
|
856
|
+
longDescription: "Haskell es un lenguaje de programacion funcional de proposito general conocido por pureza, evaluacion lazy, tipos algebraicos, type classes, pattern matching y un sistema de tipos estatico potente. El estandar Haskell 2010 tiene amplio soporte, mientras GHC agrega muchas extensiones de uso comun.\n\nSe usa en construccion de compiladores, investigacion en lenguajes de programacion, sistemas financieros, metodos formales, procesamiento de datos, educacion y servicios de produccion que se benefician de tipos fuertes y abstracciones de alto nivel."
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
};
|
|
860
|
+
|
|
803
861
|
// src/languages/hcl.ts
|
|
804
862
|
var hcl = {
|
|
805
863
|
slug: "hcl",
|
|
@@ -991,6 +1049,35 @@ var julia = {
|
|
|
991
1049
|
}
|
|
992
1050
|
};
|
|
993
1051
|
|
|
1052
|
+
// src/languages/jupyter-notebook.ts
|
|
1053
|
+
var jupyterNotebook = {
|
|
1054
|
+
slug: "jupyter-notebook",
|
|
1055
|
+
publishedDate: "2011-12-21",
|
|
1056
|
+
extensions: [".ipynb"],
|
|
1057
|
+
author: "Project Jupyter",
|
|
1058
|
+
website: "https://jupyter.org",
|
|
1059
|
+
paradigms: ["literate programming", "interactive computing", "data serialization", "markup"],
|
|
1060
|
+
tooling: {
|
|
1061
|
+
runtimes: ["Jupyter Notebook", "JupyterLab", "VS Code"],
|
|
1062
|
+
packageManagers: ["pip", "conda", "mamba"],
|
|
1063
|
+
ecosystems: ["Data Science", "Machine Learning", "Scientific Computing", "Education"]
|
|
1064
|
+
},
|
|
1065
|
+
version: "nbformat 4.5",
|
|
1066
|
+
logo: "https://cdn.simpleicons.org/jupyter/F37626",
|
|
1067
|
+
i18n: {
|
|
1068
|
+
en: {
|
|
1069
|
+
name: "Jupyter Notebook",
|
|
1070
|
+
description: "A JSON-based notebook format for combining live code, narrative text, outputs, and media.",
|
|
1071
|
+
longDescription: "Jupyter Notebook files store executable code cells, Markdown narrative, rich outputs, metadata, and kernel information in a JSON document with the .ipynb extension.\n\nThey are widely used for data analysis, machine learning experiments, scientific computing, education, tutorials, reports, and reproducible computational workflows."
|
|
1072
|
+
},
|
|
1073
|
+
es: {
|
|
1074
|
+
name: "Jupyter Notebook",
|
|
1075
|
+
description: "Un formato de notebook basado en JSON para combinar codigo vivo, texto, salidas y medios.",
|
|
1076
|
+
longDescription: "Los archivos Jupyter Notebook guardan celdas de codigo ejecutable, narrativa en Markdown, salidas enriquecidas, metadatos e informacion del kernel en un documento JSON con extension .ipynb.\n\nSe usan ampliamente en analisis de datos, experimentos de machine learning, computacion cientifica, educacion, tutoriales, reportes y flujos computacionales reproducibles."
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
};
|
|
1080
|
+
|
|
994
1081
|
// src/languages/kotlin.ts
|
|
995
1082
|
var kotlin = {
|
|
996
1083
|
slug: "kotlin",
|
|
@@ -1331,6 +1418,35 @@ var objectiveC = {
|
|
|
1331
1418
|
}
|
|
1332
1419
|
};
|
|
1333
1420
|
|
|
1421
|
+
// src/languages/ocaml.ts
|
|
1422
|
+
var ocaml = {
|
|
1423
|
+
slug: "ocaml",
|
|
1424
|
+
publishedDate: "1996-01-01",
|
|
1425
|
+
extensions: [".ml", ".mli", ".mll", ".mly", ".mlt", ".eliom", ".eliomi"],
|
|
1426
|
+
author: "Xavier Leroy, Jerome Vouillon, Damien Doligez, Didier Remy, Ascander Suarez",
|
|
1427
|
+
website: "https://ocaml.org",
|
|
1428
|
+
paradigms: ["functional", "imperative", "object-oriented", "modular"],
|
|
1429
|
+
tooling: {
|
|
1430
|
+
runtimes: ["OCaml Runtime", "Native Code Compiler", "Bytecode Interpreter"],
|
|
1431
|
+
packageManagers: ["opam", "Dune"],
|
|
1432
|
+
ecosystems: ["Compilers", "Formal Methods", "Systems Programming", "Web"]
|
|
1433
|
+
},
|
|
1434
|
+
version: "5.6.0",
|
|
1435
|
+
logo: "https://cdn.simpleicons.org/ocaml/EC6813",
|
|
1436
|
+
i18n: {
|
|
1437
|
+
en: {
|
|
1438
|
+
name: "OCaml",
|
|
1439
|
+
description: "A statically typed ML-family language with modules, inference, and native compilation.",
|
|
1440
|
+
longDescription: "OCaml combines functional, imperative, and object-oriented programming with Hindley-Milner type inference, algebraic data types, pattern matching, functors, and a powerful module system.\n\nIt is used for compilers, theorem provers, static analysis, developer tools, financial systems, systems software, and production services where strong types, performance, and maintainability matter."
|
|
1441
|
+
},
|
|
1442
|
+
es: {
|
|
1443
|
+
name: "OCaml",
|
|
1444
|
+
description: "Un lenguaje de la familia ML con tipado estatico, modulos, inferencia y compilacion nativa.",
|
|
1445
|
+
longDescription: "OCaml combina programacion funcional, imperativa y orientada a objetos con inferencia de tipos Hindley-Milner, tipos algebraicos, pattern matching, functors y un sistema de modulos potente.\n\nSe usa en compiladores, demostradores de teoremas, analisis estatico, herramientas de desarrollo, sistemas financieros, software de sistemas y servicios de produccion donde importan los tipos fuertes, el rendimiento y la mantenibilidad."
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1334
1450
|
// src/languages/pascal.ts
|
|
1335
1451
|
var pascal = {
|
|
1336
1452
|
slug: "pascal",
|
|
@@ -2140,6 +2256,7 @@ var languages = [
|
|
|
2140
2256
|
cuda,
|
|
2141
2257
|
dart,
|
|
2142
2258
|
dockerfile,
|
|
2259
|
+
elixir,
|
|
2143
2260
|
elm,
|
|
2144
2261
|
erlang,
|
|
2145
2262
|
fortran,
|
|
@@ -2150,12 +2267,14 @@ var languages = [
|
|
|
2150
2267
|
glsl,
|
|
2151
2268
|
graphql,
|
|
2152
2269
|
groovy,
|
|
2270
|
+
haskell,
|
|
2153
2271
|
hcl,
|
|
2154
2272
|
html,
|
|
2155
2273
|
ini,
|
|
2156
2274
|
java,
|
|
2157
2275
|
javascript,
|
|
2158
2276
|
json,
|
|
2277
|
+
jupyterNotebook,
|
|
2159
2278
|
julia,
|
|
2160
2279
|
kotlin,
|
|
2161
2280
|
less,
|
|
@@ -2169,6 +2288,7 @@ var languages = [
|
|
|
2169
2288
|
svn,
|
|
2170
2289
|
nginx,
|
|
2171
2290
|
nix,
|
|
2291
|
+
ocaml,
|
|
2172
2292
|
objectiveC,
|
|
2173
2293
|
pascal,
|
|
2174
2294
|
perl,
|