Skip to content

Instantly share code, notes, and snippets.

View jdomingu19's full-sized avatar
🤍

Jesús Domínguez jdomingu19

🤍
View GitHub Profile

Useful BASH Commands

A curated list of bash commands, organized from beginner to advanced. Each command includes a short explanation and a ready‑to‑copy snippet.

header_hello_bash

Basic Commands

These are the fundamental commands every developer should know. They cover file and directory management, navigation, and basic inspection.

Useful NPM Commands

A curated list of npm commands, organized from beginner to advanced. Each command includes a short explanation and a ready‑to‑copy snippet.

header_hello_nodejs

Basic Commands

Getting started with npm often means learning the essential commands that help you initialize projects, install or remove packages, and check your environment setup. These commands form the foundation of everyday Node.js development, giving you the ability to quickly scaffold applications, manage dependencies, and verify versions. Think of them as

// Hello, TypeScript! @jdomingu19
// Playground 005: Generic Function
(() => {
/**
* A generic function that returns the same value it receives.
*
* @typeParam T - The type of the input and output value.
* @param value - The value to be returned, of type `T`.
* @returns The same value provided as input, preserving its type.
@Klerith
Klerith / configurar-node-ts.md
Last active May 1, 2026 23:17
Node con TypeScript - TS-Node-dev simplificado

Node con TypeScript - TS-Node-dev (preferido)

  1. Instalar TypeScript y demás dependencias
npm i -D typescript @types/node ts-node-dev rimraf
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
npx tsc --init --outDir dist/ --rootDir src
@Klerith
Klerith / pasos-node-ts-jest.md
Created August 19, 2023 18:35
Note + TypeScript + Jest = Testing

Pasos para configurar Jest con TypeScript, en Node

Documentación oficial sobre Jest

  1. Instalaciones de desarrollo (super test es útil para probar Express)
npm install -D jest @types/jest ts-jest supertest
@Klerith
Klerith / pasos-node-typescript.md
Last active May 11, 2026 21:30
Configurar proyecto de Node con TypeScript

Pasos para usar Node con TypeScript con Nodemon

Más información - Docs Oficiales

  1. Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
  1. Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
@Klerith
Klerith / app4.js
Last active March 30, 2026 21:33
Ejercicio de explicación del Event Loop y Node execution
console.log('Inicio de programa');
setTimeout( () => {
console.log('Primer Timeout');
}, 3000 );
setTimeout( () => {
@Klerith
Klerith / instalaciones-node.md
Last active April 11, 2026 01:27
Instalaciones recomendadas - Curso de Node de cero a experto
docker

Curso Docker - Guía práctica de uso para desarrolladores

@Klerith
Klerith / instalaciones-ts.md
Last active May 3, 2026 02:31
Instalaciones del curso de TypeScript