code-languages 1.5.0 → 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/README.md +6 -1
- package/dist/detect.cjs +30 -0
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +30 -0
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +31 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +31 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/coffeescript.cjs +34 -0
- package/dist/languages/coffeescript.cjs.map +1 -0
- package/dist/languages/coffeescript.d.cts +29 -0
- package/dist/languages/coffeescript.d.ts +29 -0
- package/dist/languages/coffeescript.js +32 -0
- package/dist/languages/coffeescript.js.map +1 -0
- package/package.json +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { astro } from './languages/astro.js';
|
|
|
5
5
|
export { assembly } from './languages/assembly.js';
|
|
6
6
|
export { bash } from './languages/bash.js';
|
|
7
7
|
export { c } from './languages/c.js';
|
|
8
|
+
export { coffeescript } from './languages/coffeescript.js';
|
|
8
9
|
export { cobol } from './languages/cobol.js';
|
|
9
10
|
export { csharp } from './languages/csharp.js';
|
|
10
11
|
export { cpp } from './languages/cpp.js';
|
|
@@ -145,6 +146,32 @@ declare const languages: readonly [{
|
|
|
145
146
|
longDescription: string;
|
|
146
147
|
};
|
|
147
148
|
};
|
|
149
|
+
}, {
|
|
150
|
+
slug: string;
|
|
151
|
+
publishedDate: string;
|
|
152
|
+
extensions: string[];
|
|
153
|
+
author: string;
|
|
154
|
+
website: string;
|
|
155
|
+
paradigms: string[];
|
|
156
|
+
tooling: {
|
|
157
|
+
runtimes: string[];
|
|
158
|
+
packageManagers: string[];
|
|
159
|
+
ecosystems: string[];
|
|
160
|
+
};
|
|
161
|
+
version: string;
|
|
162
|
+
logo: string;
|
|
163
|
+
i18n: {
|
|
164
|
+
en: {
|
|
165
|
+
name: string;
|
|
166
|
+
description: string;
|
|
167
|
+
longDescription: string;
|
|
168
|
+
};
|
|
169
|
+
es: {
|
|
170
|
+
name: string;
|
|
171
|
+
description: string;
|
|
172
|
+
longDescription: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
148
175
|
}, {
|
|
149
176
|
slug: string;
|
|
150
177
|
publishedDate: string;
|
package/dist/index.js
CHANGED
|
@@ -142,6 +142,35 @@ var cobol = {
|
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
+
// src/languages/coffeescript.ts
|
|
146
|
+
var coffeescript = {
|
|
147
|
+
slug: "coffeescript",
|
|
148
|
+
publishedDate: "2009-12-25",
|
|
149
|
+
extensions: [".coffee", ".litcoffee", ".cson"],
|
|
150
|
+
author: "Jeremy Ashkenas",
|
|
151
|
+
website: "https://coffeescript.org",
|
|
152
|
+
paradigms: ["functional", "imperative", "object-oriented", "scripting"],
|
|
153
|
+
tooling: {
|
|
154
|
+
runtimes: ["Browser", "Node.js"],
|
|
155
|
+
packageManagers: ["npm", "pnpm", "Yarn"],
|
|
156
|
+
ecosystems: ["JavaScript", "Web", "Node.js"]
|
|
157
|
+
},
|
|
158
|
+
version: "2.7.0",
|
|
159
|
+
logo: "https://cdn.simpleicons.org/coffeescript/2F2625",
|
|
160
|
+
i18n: {
|
|
161
|
+
en: {
|
|
162
|
+
name: "CoffeeScript",
|
|
163
|
+
description: "A small language that compiles to JavaScript with concise syntax inspired by Ruby and Python.",
|
|
164
|
+
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."
|
|
165
|
+
},
|
|
166
|
+
es: {
|
|
167
|
+
name: "CoffeeScript",
|
|
168
|
+
description: "Un lenguaje pequeno que compila a JavaScript con sintaxis concisa inspirada en Ruby y Python.",
|
|
169
|
+
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."
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
|
|
145
174
|
// src/languages/cpp.ts
|
|
146
175
|
var cpp = {
|
|
147
176
|
slug: "cpp",
|
|
@@ -1066,6 +1095,7 @@ var languages = [
|
|
|
1066
1095
|
assembly,
|
|
1067
1096
|
bash,
|
|
1068
1097
|
c,
|
|
1098
|
+
coffeescript,
|
|
1069
1099
|
cobol,
|
|
1070
1100
|
cpp,
|
|
1071
1101
|
csharp,
|
|
@@ -1149,6 +1179,6 @@ var resolveLocale = (translations, locale) => {
|
|
|
1149
1179
|
return "en";
|
|
1150
1180
|
};
|
|
1151
1181
|
|
|
1152
|
-
export { assembly, astro, bash, c, cobol, cpp, csharp, css, dart, detectLanguage, detectLanguages, dockerfile, go, graphql, groovy, html, java, javascript, json, kotlin, languages, less, localizeLanguage, makefile, markdown, nginx, objectiveC, php, powershell, python, rust, scss, sql, svg, swift, typescript, visualBasic, vue, webassembly, xml, yaml, zsh };
|
|
1182
|
+
export { assembly, astro, bash, c, cobol, coffeescript, cpp, csharp, css, dart, detectLanguage, detectLanguages, dockerfile, go, graphql, groovy, html, java, javascript, json, kotlin, languages, less, localizeLanguage, makefile, markdown, nginx, objectiveC, php, powershell, python, rust, scss, sql, svg, swift, typescript, visualBasic, vue, webassembly, xml, yaml, zsh };
|
|
1153
1183
|
//# sourceMappingURL=index.js.map
|
|
1154
1184
|
//# sourceMappingURL=index.js.map
|