code-languages 1.13.0 → 1.15.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 (48) hide show
  1. package/README.md +21 -0
  2. package/dist/api.cjs +210 -0
  3. package/dist/api.cjs.map +1 -1
  4. package/dist/api.d.cts +135 -0
  5. package/dist/api.d.ts +135 -0
  6. package/dist/api.js +210 -0
  7. package/dist/api.js.map +1 -1
  8. package/dist/detect.cjs +150 -0
  9. package/dist/detect.cjs.map +1 -1
  10. package/dist/detect.js +150 -0
  11. package/dist/detect.js.map +1 -1
  12. package/dist/index.cjs +215 -0
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +135 -0
  15. package/dist/index.d.ts +135 -0
  16. package/dist/index.js +216 -1
  17. package/dist/index.js.map +1 -1
  18. package/dist/languages/elixir.cjs +34 -0
  19. package/dist/languages/elixir.cjs.map +1 -0
  20. package/dist/languages/elixir.d.cts +29 -0
  21. package/dist/languages/elixir.d.ts +29 -0
  22. package/dist/languages/elixir.js +32 -0
  23. package/dist/languages/elixir.js.map +1 -0
  24. package/dist/languages/haskell.cjs +34 -0
  25. package/dist/languages/haskell.cjs.map +1 -0
  26. package/dist/languages/haskell.d.cts +29 -0
  27. package/dist/languages/haskell.d.ts +29 -0
  28. package/dist/languages/haskell.js +32 -0
  29. package/dist/languages/haskell.js.map +1 -0
  30. package/dist/languages/jupyter-notebook.cjs +34 -0
  31. package/dist/languages/jupyter-notebook.cjs.map +1 -0
  32. package/dist/languages/jupyter-notebook.d.cts +29 -0
  33. package/dist/languages/jupyter-notebook.d.ts +29 -0
  34. package/dist/languages/jupyter-notebook.js +32 -0
  35. package/dist/languages/jupyter-notebook.js.map +1 -0
  36. package/dist/languages/ocaml.cjs +34 -0
  37. package/dist/languages/ocaml.cjs.map +1 -0
  38. package/dist/languages/ocaml.d.cts +29 -0
  39. package/dist/languages/ocaml.d.ts +29 -0
  40. package/dist/languages/ocaml.js +32 -0
  41. package/dist/languages/ocaml.js.map +1 -0
  42. package/dist/languages/protobuf.cjs +34 -0
  43. package/dist/languages/protobuf.cjs.map +1 -0
  44. package/dist/languages/protobuf.d.cts +29 -0
  45. package/dist/languages/protobuf.d.ts +29 -0
  46. package/dist/languages/protobuf.js +32 -0
  47. package/dist/languages/protobuf.js.map +1 -0
  48. package/package.json +26 -1
@@ -0,0 +1,29 @@
1
+ declare const protobuf: {
2
+ slug: string;
3
+ publishedDate: string;
4
+ extensions: string[];
5
+ author: string;
6
+ website: string;
7
+ paradigms: string[];
8
+ tooling: {
9
+ runtimes: string[];
10
+ packageManagers: string[];
11
+ ecosystems: string[];
12
+ };
13
+ version: string;
14
+ logo: string;
15
+ i18n: {
16
+ en: {
17
+ name: string;
18
+ description: string;
19
+ longDescription: string;
20
+ };
21
+ es: {
22
+ name: string;
23
+ description: string;
24
+ longDescription: string;
25
+ };
26
+ };
27
+ };
28
+
29
+ export { protobuf };
@@ -0,0 +1,29 @@
1
+ declare const protobuf: {
2
+ slug: string;
3
+ publishedDate: string;
4
+ extensions: string[];
5
+ author: string;
6
+ website: string;
7
+ paradigms: string[];
8
+ tooling: {
9
+ runtimes: string[];
10
+ packageManagers: string[];
11
+ ecosystems: string[];
12
+ };
13
+ version: string;
14
+ logo: string;
15
+ i18n: {
16
+ en: {
17
+ name: string;
18
+ description: string;
19
+ longDescription: string;
20
+ };
21
+ es: {
22
+ name: string;
23
+ description: string;
24
+ longDescription: string;
25
+ };
26
+ };
27
+ };
28
+
29
+ export { protobuf };
@@ -0,0 +1,32 @@
1
+ // src/languages/protobuf.ts
2
+ var protobuf = {
3
+ slug: "protobuf",
4
+ publishedDate: "2008-07-07",
5
+ extensions: [".proto"],
6
+ author: "Google",
7
+ website: "https://protobuf.dev",
8
+ paradigms: ["interface-definition", "schema", "declarative", "data-serialization"],
9
+ tooling: {
10
+ runtimes: ["Protocol Buffers Runtime", "gRPC"],
11
+ packageManagers: ["Buf", "npm", "Maven", "Go modules", "NuGet", "PyPI"],
12
+ ecosystems: ["gRPC", "APIs", "Microservices", "Data Serialization"]
13
+ },
14
+ version: "34.1",
15
+ logo: "https://cdn.simpleicons.org/google/4285F4",
16
+ i18n: {
17
+ en: {
18
+ name: "Protocol Buffers",
19
+ description: "Google's language-neutral schema format for structured data serialization and service APIs.",
20
+ longDescription: "Protocol Buffers is a language-neutral, platform-neutral mechanism for defining structured data schemas and generating strongly typed code in many programming languages. `.proto` files describe messages, fields, enums, services, packages, imports, options, and RPC contracts.\n\nIt is widely used with gRPC, microservices, distributed systems, APIs, telemetry, configuration, event streams, and storage formats that need compact binary serialization and stable cross-language contracts."
21
+ },
22
+ es: {
23
+ name: "Protocol Buffers",
24
+ description: "El formato de schemas neutral de Google para serializacion de datos estructurados y APIs de servicios.",
25
+ longDescription: "Protocol Buffers es un mecanismo neutral en lenguaje y plataforma para definir schemas de datos estructurados y generar codigo tipado en muchos lenguajes de programacion. Los archivos `.proto` describen mensajes, campos, enums, servicios, paquetes, imports, opciones y contratos RPC.\n\nSe usa ampliamente con gRPC, microservicios, sistemas distribuidos, APIs, telemetria, configuracion, flujos de eventos y formatos de almacenamiento que necesitan serializacion binaria compacta y contratos estables entre lenguajes."
26
+ }
27
+ }
28
+ };
29
+
30
+ export { protobuf };
31
+ //# sourceMappingURL=protobuf.js.map
32
+ //# sourceMappingURL=protobuf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/languages/protobuf.ts"],"names":[],"mappings":";AAEO,IAAM,QAAA,GAAW;AAAA,EACtB,IAAA,EAAM,UAAA;AAAA,EACN,aAAA,EAAe,YAAA;AAAA,EACf,UAAA,EAAY,CAAC,QAAQ,CAAA;AAAA,EACrB,MAAA,EAAQ,QAAA;AAAA,EACR,OAAA,EAAS,sBAAA;AAAA,EACT,SAAA,EAAW,CAAC,sBAAA,EAAwB,QAAA,EAAU,eAAe,oBAAoB,CAAA;AAAA,EACjF,OAAA,EAAS;AAAA,IACP,QAAA,EAAU,CAAC,0BAAA,EAA4B,MAAM,CAAA;AAAA,IAC7C,iBAAiB,CAAC,KAAA,EAAO,OAAO,OAAA,EAAS,YAAA,EAAc,SAAS,MAAM,CAAA;AAAA,IACtE,UAAA,EAAY,CAAC,MAAA,EAAQ,MAAA,EAAQ,iBAAiB,oBAAoB;AAAA,GACpE;AAAA,EACA,OAAA,EAAS,MAAA;AAAA,EACT,IAAA,EAAM,2CAAA;AAAA,EACN,IAAA,EAAM;AAAA,IACJ,EAAA,EAAI;AAAA,MACF,IAAA,EAAM,kBAAA;AAAA,MACN,WAAA,EACE,6FAAA;AAAA,MACF,eAAA,EACE;AAAA,KACJ;AAAA,IACA,EAAA,EAAI;AAAA,MACF,IAAA,EAAM,kBAAA;AAAA,MACN,WAAA,EACE,wGAAA;AAAA,MACF,eAAA,EACE;AAAA;AACJ;AAEJ","file":"protobuf.js","sourcesContent":["import type { Language } from \"../types\";\n\nexport const protobuf = {\n slug: \"protobuf\",\n publishedDate: \"2008-07-07\",\n extensions: [\".proto\"],\n author: \"Google\",\n website: \"https://protobuf.dev\",\n paradigms: [\"interface-definition\", \"schema\", \"declarative\", \"data-serialization\"],\n tooling: {\n runtimes: [\"Protocol Buffers Runtime\", \"gRPC\"],\n packageManagers: [\"Buf\", \"npm\", \"Maven\", \"Go modules\", \"NuGet\", \"PyPI\"],\n ecosystems: [\"gRPC\", \"APIs\", \"Microservices\", \"Data Serialization\"],\n },\n version: \"34.1\",\n logo: \"https://cdn.simpleicons.org/google/4285F4\",\n i18n: {\n en: {\n name: \"Protocol Buffers\",\n description:\n \"Google's language-neutral schema format for structured data serialization and service APIs.\",\n longDescription:\n \"Protocol Buffers is a language-neutral, platform-neutral mechanism for defining structured data schemas and generating strongly typed code in many programming languages. `.proto` files describe messages, fields, enums, services, packages, imports, options, and RPC contracts.\\n\\nIt is widely used with gRPC, microservices, distributed systems, APIs, telemetry, configuration, event streams, and storage formats that need compact binary serialization and stable cross-language contracts.\",\n },\n es: {\n name: \"Protocol Buffers\",\n description:\n \"El formato de schemas neutral de Google para serializacion de datos estructurados y APIs de servicios.\",\n longDescription:\n \"Protocol Buffers es un mecanismo neutral en lenguaje y plataforma para definir schemas de datos estructurados y generar codigo tipado en muchos lenguajes de programacion. Los archivos `.proto` describen mensajes, campos, enums, servicios, paquetes, imports, opciones y contratos RPC.\\n\\nSe usa ampliamente con gRPC, microservicios, sistemas distribuidos, APIs, telemetria, configuracion, flujos de eventos y formatos de almacenamiento que necesitan serializacion binaria compacta y contratos estables entre lenguajes.\",\n },\n },\n} satisfies Language;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-languages",
3
- "version": "1.13.0",
3
+ "version": "1.15.0",
4
4
  "description": "Structured metadata for programming languages.",
5
5
  "homepage": "https://github.com/ElJijuna/code-languages#readme",
6
6
  "bugs": {
@@ -166,6 +166,11 @@
166
166
  "import": "./dist/languages/json.js",
167
167
  "require": "./dist/languages/json.cjs"
168
168
  },
169
+ "./jupyter-notebook": {
170
+ "types": "./dist/languages/jupyter-notebook.d.ts",
171
+ "import": "./dist/languages/jupyter-notebook.js",
172
+ "require": "./dist/languages/jupyter-notebook.cjs"
173
+ },
169
174
  "./julia": {
170
175
  "types": "./dist/languages/julia.d.ts",
171
176
  "import": "./dist/languages/julia.js",
@@ -261,6 +266,11 @@
261
266
  "import": "./dist/languages/powershell.js",
262
267
  "require": "./dist/languages/powershell.cjs"
263
268
  },
269
+ "./protobuf": {
270
+ "types": "./dist/languages/protobuf.d.ts",
271
+ "import": "./dist/languages/protobuf.js",
272
+ "require": "./dist/languages/protobuf.cjs"
273
+ },
264
274
  "./pug": {
265
275
  "types": "./dist/languages/pug.d.ts",
266
276
  "import": "./dist/languages/pug.js",
@@ -341,6 +351,11 @@
341
351
  "import": "./dist/languages/groovy.js",
342
352
  "require": "./dist/languages/groovy.cjs"
343
353
  },
354
+ "./haskell": {
355
+ "types": "./dist/languages/haskell.d.ts",
356
+ "import": "./dist/languages/haskell.js",
357
+ "require": "./dist/languages/haskell.cjs"
358
+ },
344
359
  "./hcl": {
345
360
  "types": "./dist/languages/hcl.d.ts",
346
361
  "import": "./dist/languages/hcl.js",
@@ -356,6 +371,11 @@
356
371
  "import": "./dist/languages/dockerfile.js",
357
372
  "require": "./dist/languages/dockerfile.cjs"
358
373
  },
374
+ "./elixir": {
375
+ "types": "./dist/languages/elixir.d.ts",
376
+ "import": "./dist/languages/elixir.js",
377
+ "require": "./dist/languages/elixir.cjs"
378
+ },
359
379
  "./fsharp": {
360
380
  "types": "./dist/languages/fsharp.d.ts",
361
381
  "import": "./dist/languages/fsharp.js",
@@ -376,6 +396,11 @@
376
396
  "import": "./dist/languages/markdown.js",
377
397
  "require": "./dist/languages/markdown.cjs"
378
398
  },
399
+ "./ocaml": {
400
+ "types": "./dist/languages/ocaml.d.ts",
401
+ "import": "./dist/languages/ocaml.js",
402
+ "require": "./dist/languages/ocaml.cjs"
403
+ },
379
404
  "./objective-c": {
380
405
  "types": "./dist/languages/objective-c.d.ts",
381
406
  "import": "./dist/languages/objective-c.js",