Pengenalan Nodejs dan Node Package Manager

arr = [1, 2, 3]; console.log(_.reverse(arr)); // [3, 2, 1] 3. Axios HTTP client untuk fetching API: npm install axios Contoh: axios.get('https://api.example.com/data') .then(response => console.log(response.data)); 4. Mongoose ODM untuk MongoDB: npm install mongoose Contoh model: const ... mongoose = require('mongoose'); const User = mongoose.model('User', { name: String }); 5. React Library frontend untuk UI (bisa digunakan dengan Node.js untuk SSR): npm install react react-dom 6. Socket.IO Real-time communication (chat, live updates): npm install socket.io 7. Jest Testing
