File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -94,26 +94,6 @@ npm install -g nodemon
9494nodemon index.js
9595```
9696
97- ### 5. Usage Example
98-
99- ``` javascript
100- // Import the language detector
101- const detectLanguage = require (' ./languageDetector' );
102-
103- // Example code snippets
104- const codeSnippets = [
105- ' function hello() { console.log("Hello World!"); }' ,
106- ' def hello(): print("Hello World!")' ,
107- ' public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } }'
108- ];
109-
110- // Detect languages
111- codeSnippets .forEach (code => {
112- const detectedLanguage = detectLanguage (code);
113- console .log (` Detected Language: ${ detectedLanguage} ` );
114- });
115- ```
116-
11797## 📸 Snaps
11898
11999### 🖥️ Main Interface & Live Demo
@@ -206,3 +186,4 @@ If this project helped you, please consider:
206186 <a href="#top">Back to top ↑</a>
207187 </p >
208188</div >
189+
You can’t perform that action at this time.
0 commit comments