What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-17 22:31:04
uninstall node package
The command is simply npm uninstall <name> // Here are different options: // - removes the module from node_modules but // does NOT update package.json npm uninstall <name> // - removes it from dependencies in package.json aswell npm unins... Add solution -
Other 2021-10-16 19:22:06
Configure Babel for Node
@babel/core: A fundamental package to run any babel setup/configuration. @babel/cli:A built-in CLI which can be used to compile files from the command line/terminal. @babel/node:is a CLI that works the same as the Node.js CLI, with the added benefit of co... Add solution -
Javascript 2021-10-14 15:15:10
How to use Node.js Path
The Node.js path module handle and transform files paths. Use below syntaxt to to import module : var path = require ("path") Node.js Path Methods and examaple 1. normalize(p) It is used to normalize a string path, taking care of '..' ... Add solution -
Javascript 2021-10-14 11:16:10
express.js server
/* ====== create node.js server with express.js framework ====== */ // dependencies const express = require("express"); const app = express(); app.get("/", (req, res) => { res.send("This is home page."); }); app.post... Add solution -
Javascript 2021-10-13 15:58:03
How to setup Google OAuth2 login with Express Step 1 config.js
// STEP 1. Install dependencies and make config.js // project for understanding google authorization with express //set up your Node.JS project, and install the following dependencies: // cookie-parser // ejs // express // google-auth-library // googleapi... Add solution -
Javascript 2021-10-13 15:25:09
node js interview questions interviewbit
What is Node.js? What is it used for? Q2. What is Event-driven programming? Q3. What is Event loop in Node.js work? And How does it work? Q4. What is REPL in Node.js? Q5. What is the purpose of module.exports in Node.js? Q6. What is the difference bet... Add solution -
Javascript 2021-10-12 18:21:07
javascript interview questions
What is Node.js? What is it used for? Q2. What is Event-driven programming? Q3. What is Event loop in Node.js work? And How does it work? Q4. What is REPL in Node.js? Q5. What is the purpose of module.exports in Node.js? Q6. What is the difference bet... Add solution -
Javascript 2021-10-10 05:30:06
what is node
Javascript was always a client side language until node.js. Common server side languages include PHP, Python, Perl, Ruby and several more. Node enables you to use Javascript server side. This now means you can have a consistent language both ends which co... Add solution -
Javascript 2021-10-08 15:16:07
expressjs server
/* ====== create node.js server with express.js framework ====== */ // dependencies const express = require("express"); const app = express(); app.get("/", (req, res) => { res.send("This is home page."); }); app.post... Add solution
Best helpers
Shaples
+5
Tranquilled
+5
Kozuch
+5
Big D Rock
+5
The 313137
+5
Toby Stewart
+5
Moez
+5
Stelle
+5
Kathrin
+5
Moradnejad
+5
Tony_Henrich
+5