Skip to content
View shubham-sharmas's full-sized avatar
🎯
Focusing
🎯
Focusing
  • 09:49 (UTC +05:30)

Block or report shubham-sharmas

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
shubham-sharmas/README.md

Hi there 👋

Pinned Loading

  1. typescript-node-project typescript-node-project Public

    Node.js project with TypeScript, Express.js, ESLint, Prettier, ts-node, nodemon, pino logger, logrotate and package.json environment specific scripts.

    TypeScript 10 6

  2. sequelize-issue-reproduction-11748 sequelize-issue-reproduction-11748 Public

    Reproduction of sequelize issue #11748(https://github.com/sequelize/sequelize/issues/11748)

    JavaScript 1

  3. Node.js child_process.spawn() method... Node.js child_process.spawn() method example
    1
    const { spawn } = require('child_process');
    2
    const shellProcess = spawn('ls', ['-l', '-a']);
    3
    
                  
    4
    shellProcess.stdout.on('data', (data) => {
    5
    	console.log(`Shell Output: ${data}`);
  4. Node.js child_process.exec() method ... Node.js child_process.exec() method example
    1
    const { exec } = require('child_process');
    2
    
                  
    3
    exec('ls -l -a', { cwd: process.env.HOME }, (error, stdout, stderr) => {
    4
    	if (error) {
    5
    		console.error(`exec error: ${error}`);
  5. This gist demonstrates a CPU-intensi... This gist demonstrates a CPU-intensive operation using a Node.js Express server with two endpoints: '/non-blocking-operation' and '/complex-blocking-operation'. If we attempt to run the second one then the first one in parallel, the first operation will be blocked until the second one completes. This illustrates that Node.js CPU-intensive operations.
    1
    const express = require("express");
    2
    const app = express();
    3
    
                  
    4
    // Function to check if a number is prime.
    5
    function isPrime(num) {
  6. This gist demonstrates the node.js w... This gist demonstrates the node.js worker threads example by simulating a time-consuming task.
    1
    const { Worker, isMainThread, parentPort } = require("worker_threads");
    2
    
                  
    3
    if (isMainThread) {
    4
      console.log("Main thread started.");
    5