Catalogue des Commandes 02/02/2026 10:00:00 angularforall.com

- Commandes Node.js : guide complet CLI JavaScript

Node-Js Javascript Cli Runtime Npm Modules Asynchrone Backend Developpement Serveur V8-Engine Event-Loop Esm Debugger

Explorez les commandes Node.js pour exécuter des scripts JavaScript côté serveur : gestion des modules, debugging et outils essentiels du runtime V8.

node
Description :

Lance l'interpréteur JavaScript Node.js (REPL)

Options :
  • --version
  • -v
  • --eval
  • -e
  • --print
  • -p
  • --check
  • -c
  • --interactive
  • -i
  • --require ⚠️
  • -r ⚠️
  • --inspect
  • --inspect-brk
  • --inspect-port
  • --no-deprecation
  • --trace-deprecation
  • --throw-deprecation
  • --pending-deprecation
  • --no-warnings
  • --trace-warnings
  • --redirect-warnings ⚠️
  • --trace-sync-io
  • --trace-event-categories
  • --trace-event-file-pattern ⚠️
  • --max-http-header-size
  • --unhandled-rejections ⚠️
  • --experimental-modules
  • --es-module-specifier-resolution ⚠️
  • --experimental-json-modules
  • --experimental-wasm-modules
  • --experimental-import-meta-resolve ⚠️
  • --experimental-loader
  • --experimental-network-imports
  • --experimental-policy
  • --experimental-vm-modules
  • --experimental-worker
  • --heap-prof
  • --diagnostic-dir
  • --report-uncaught-exception ⚠️
  • --report-on-signal ⚠️
  • --report-on-fatalerror ⚠️
  • --report-compact ⚠️
  • --report-filename ⚠️
  • --report-dir ⚠️
  • --title
  • --input-type
  • --disable-proto
  • --napi-modules
  • --no-addons
  • --abort-on-uncaught-exception
  • --max-old-space-size
  • --max-semi-space-size
  • --max-heap-size
  • --stack-trace-limit
  • --trace-gc
  • --expose-gc
  • --gc-global
  • --gc-interval
  • --prof
  • --prof-process
  • --cpu-prof
  • --cpu-prof-dir
  • --cpu-prof-interval
  • --cpu-prof-name
  • --heap-prof
  • --heap-prof-dir
  • --heap-prof-interval
  • --heap-prof-name
  • --tls-min-v1.0
  • --tls-min-v1.1
  • --tls-min-v1.2
  • --tls-min-v1.3
  • --tls-max-v1.2
  • --tls-max-v1.3
  • --enable-source-maps
  • --openssl-config
  • --use-openssl-ca
  • --use-bundled-ca
  • --icu-data-dir
  • --preserve-symlinks
  • --preserve-symlinks-main
  • --experimental-specifier-resolution ⚠️
  • --conditions
  • -C
  • --watch
  • --watch-path
  • --watch-preserve-output
  • --env-file ⚠️
  • --env-file-if-exists ⚠️
  • --test
  • --test-name-pattern
  • --test-only
  • --test-reporter ⚠️
  • --test-reporter-destination ⚠️
  • --test-shard
  • --test-timeout
  • --test-concurrency
  • --test-coverage-lines
  • --test-coverage-branches
  • --test-coverage-functions ⚠️
  • --dns-result-order ⚠️
node mon-fichier.js
Description :

Exécute un fichier JavaScript avec Node.js

npm init
Description :

Initialise un nouveau projet Node.js avec package.json

Options :
  • --yes
  • -y
  • --force ⚠️
  • -f ⚠️
  • --scope
  • --workspace
  • -w
  • --include-workspace-root ⚠️
  • --install-links
npm install
Description :

Installe toutes les dépendances listées dans package.json

Options :
  • --save-prod
  • -P
  • --save-dev
  • -D
  • --save-optional
  • -O
  • --save-exact
  • -E
  • --save-bundle
  • -B
  • --no-save
  • --global
  • -g
  • --global-style
  • --legacy-bundling
  • --omit
  • -w
  • --workspace
  • --workspaces
  • --include-workspace-root ⚠️
  • --install-links
  • --dry-run ⚠️
  • --force ⚠️
  • -f ⚠️
  • --package-lock-only
  • --no-package-lock
  • --ignore-scripts
  • --no-audit
  • --no-bin-links
  • --no-fund ⚠️
  • --audit
  • --strict-peer-deps
  • --prefer-offline
  • --offline
  • --cache
  • --prefix
npm i
Description :

Alias de npm install

Options :
  • --save-prod
  • -P
  • --save-dev
  • -D
  • --save-optional
  • -O
  • --save-exact
  • -E
  • --save-bundle
  • -B
  • --no-save
  • --global
  • -g
npm uninstall
Description :

Désinstalle un package Node.js

Options :
  • --save
  • -S
  • --save-dev
  • -D
  • --save-optional
  • -O
  • --no-save
  • --global
  • -g
  • --workspace
  • -w
  • --workspaces
npm update
Description :

Met à jour les packages Node.js

Options :
  • --save
  • --save-dev
  • -D
  • --global
  • -g
  • --depth
  • --workspace
  • -w
  • --workspaces
npm outdated
Description :

Vérifie les packages obsolètes

Options :
  • --all
  • -a
  • --json
  • --long
  • --parseable
  • --global
  • -g
  • --workspace
  • -w
npm list
Description :

Liste les packages installés

Options :
  • --all
  • -a
  • --json
  • --long
  • --parseable
  • --global
  • -g
  • --depth
  • --prod
  • --development
  • --omit
  • --link
  • --unicode
  • --workspace
  • -w
npm ls
Description :

Alias de npm list

Options :
  • --all
  • -a
  • --json
  • --long
  • --parseable
  • --global
  • -g
  • --depth
npm run
Description :

Exécute un script défini dans package.json

Options :
  • --silent
  • -s
  • --if-present
  • --workspace
  • -w
  • --workspaces
  • --include-workspace-root ⚠️
  • --foreground-scripts ⚠️
  • --ignore-scripts
  • --script-shell
npm start
Description :

Exécute le script 'start' du package.json

Options :
  • --
  • --silent
  • -s
npm test
Description :

Exécute le script 'test' du package.json

Options :
  • --
  • --silent
  • -s
npm stop
Description :

Exécute le script 'stop' du package.json

Options :
  • --
  • --silent
  • -s
npm restart
Description :

Exécute les scripts 'stop' puis 'start'

Options :
  • --
  • --silent
  • -s
npm publish
Description :

Publie un package sur le registre npm

Options :
  • --access
  • --tag
  • --dry-run ⚠️
  • --otp
  • --registry ⚠️
  • --scope
  • --provenance
  • --sbom-type
  • --sbom-format ⚠️
  • --workspace
  • -w
  • --workspaces
  • --include-workspace-root ⚠️
npm version
Description :

Met à jour la version dans package.json

Options :
  • major
  • minor
  • patch
  • premajor
  • preminor
  • prepatch
  • prerelease
  • --allow-same-version
  • --commit-hooks
  • --git-tag-version
  • --json
  • --preid
  • --sign-git-tag
  • --workspace
  • -w
  • --workspaces
npm search
Description :

Recherche des packages sur le registre npm

Options :
  • --long
  • --json
  • --parseable
  • --no-description
  • --searchopts
  • --searchexclude
  • --registry ⚠️
  • --prefer-online
  • --prefer-offline
  • --offline
npm view
Description :

Affiche les informations d'un package

Options :
  • --json
  • --workspace
  • -w
  • --workspaces
npm info
Description :

Alias de npm view

Options :
  • --json
  • --workspace
  • -w
  • --workspaces
npm cache clean
Description :

Nettoie le cache npm

Options :
  • --force ⚠️
  • -f ⚠️
npm cache verify
Description :

Vérifie l'intégrité du cache npm

npm audit
Description :

Audite les vulnérabilités des dépendances

Options :
  • --audit-level
  • --dry-run ⚠️
  • --force ⚠️
  • -f ⚠️
  • --json
  • --package-lock-only
  • --omit
  • --production
  • --registry ⚠️
  • --fix ⚠️
  • --workspace
  • -w
  • --workspaces
npm audit fix
Description :

Corrige automatiquement les vulnérabilités

Options :
  • --force ⚠️
  • -f ⚠️
  • --package-lock-only
  • --dry-run ⚠️
  • --workspace
  • -w
  • --workspaces
npm dedupe
Description :

Déduplique les dépendances dans l'arbre node_modules

Options :
  • --global-style
  • --legacy-bundling
  • --strict-peer-deps
  • --no-package-lock
  • --omit
  • --ignore-scripts
  • --workspace
  • -w
  • --workspaces
npm prune
Description :

Supprime les packages orphelins

Options :
  • --omit
  • --dry-run ⚠️
  • --json
  • --foreground-scripts ⚠️
  • --ignore-scripts
  • --workspace
  • -w
  • --workspaces
npm shrinkwrap
Description :

Crée un fichier npm-shrinkwrap.json

npm ci
Description :

Installation propre depuis package-lock.json

Options :
  • --omit
  • --ignore-scripts
  • --no-audit
  • --no-fund ⚠️
  • --dry-run ⚠️
  • --workspace
  • -w
  • --workspaces
npm link
Description :

Crée un lien symbolique pour un package local

Options :
  • --global
  • --install-links
  • --workspace
  • -w
  • --workspaces
npm unlink
Description :

Supprime un lien symbolique

Options :
  • --global
  • --workspace
  • -w
  • --workspaces
npm rebuild
Description :

Reconstruit les modules natifs

Options :
  • --global
  • -g
  • --workspace
  • -w
  • --workspaces
  • --ignore-scripts
npm repo
Description :

Ouvre la page du dépôt d'un package

Options :
  • --browser
  • --workspace
  • -w
npm docs
Description :

Ouvre la documentation d'un package

Options :
  • --browser
  • --workspace
  • -w
npm home
Description :

Ouvre la page d'accueil d'un package

Options :
  • --browser
  • --workspace
  • -w
npm bugs
Description :

Ouvre la page des bugs d'un package

Options :
  • --browser
  • --workspace
  • -w
npm config
Description :

Gère la configuration npm

Options :
  • set
  • get
  • delete ⚠️
  • list
  • edit
  • --global
  • -g
  • --location
npm login
Description :

Se connecte au registre npm

Options :
  • --registry ⚠️
  • --scope
  • --auth-type
npm logout
Description :

Se déconnecte du registre npm

Options :
  • --registry ⚠️
  • --scope
npm whoami
Description :

Affiche l'utilisateur npm connecté

Options :
  • --registry ⚠️
npm access
Description :

Gère les accès des packages publiés

Options :
  • public
  • restricted
  • grant
  • revoke
  • ls-packages
  • ls-collaborators
  • edit
npm owner
Description :

Gère les propriétaires d'un package

Options :
  • add
  • rm ⚠️
  • ls
npm team
Description :

Gère les équipes npm

Options :
  • create
  • destroy
  • add
  • rm ⚠️
  • ls
npm pack
Description :

Crée un tarball du package

Options :
  • --dry-run ⚠️
  • --json
  • --pack-destination
npm prefix
Description :

Affiche le préfixe d'installation

Options :
  • --global
  • -g
npm root
Description :

Affiche le chemin de node_modules

Options :
  • --global
  • -g
npm bin
Description :

Affiche le dossier des exécutables npm

Options :
  • --global
  • -g
npm explore
Description :

Explore un package installé

npm exec
Description :

Exécute une commande depuis un package npm

Options :
  • --workspace
  • -w
  • --workspaces
  • --include-workspace-root ⚠️
  • -c
  • --call
npx
Description :

Exécute un package npm sans l'installer globalement

Options :
  • --package
  • -p
  • --cache
  • --userconfig
  • --call
  • -c
  • --shell
  • --yes
  • -y
  • --no
  • -n
  • --quiet
  • -q
  • --ignore-existing
  • --node-arg
  • -n
npm init @eslint/config
Description :

Initialise ESLint dans un projet Node.js

npx eslint
Description :

Lance ESLint sur le code

Options :
  • --fix ⚠️
  • --quiet
  • --format ⚠️
  • --max-warnings
  • --ext
  • --ignore-path
  • --no-ignore
  • --cache
  • --no-eslintrc
  • --config
  • -c
  • --rulesdir ⚠️
  • --env
  • --global
  • --parser
  • --parser-options
  • --resolve-plugins-relative-to ⚠️
  • --plugin
  • --rule ⚠️
  • --report-unused-disable-directives ⚠️
npx prettier
Description :

Formate le code avec Prettier

Options :
  • --write
  • --check
  • --config
  • --ignore-path
  • --parser
  • --print-width
  • --tab-width
  • --single-quote
  • --trailing-comma
  • --bracket-spacing
  • --arrow-parens
  • --end-of-line
  • --semi
  • --use-tabs
  • --prose-wrap
  • --html-whitespace-sensitivity
  • --vue-indent-script-and-style
  • --embedded-language-formatting ⚠️
  • --quote-props
npx jest
Description :

Lance les tests avec Jest

Options :
  • --watch
  • --watchAll
  • --coverage
  • --verbose
  • --runInBand ⚠️
  • --maxWorkers
  • --testNamePattern
  • -t
  • --updateSnapshot
  • -u
  • --bail
  • --silent
  • --onlyChanged
  • -o
  • --json
  • --outputFile
  • --config
  • -c
  • --clearCache
  • --no-cache
  • --collectCoverageFrom
  • --coverageDirectory
  • --coverageReporters
  • --coverageThreshold
  • --forceExit ⚠️
  • --logHeapUsage
  • --detectOpenHandles
npx mocha
Description :

Lance les tests avec Mocha

Options :
  • --watch
  • -w
  • --grep
  • -g
  • --fgrep ⚠️
  • -f ⚠️
  • --invert
  • -i
  • --recursive ⚠️
  • --reporter ⚠️
  • -R ⚠️
  • --ui
  • -U
  • --timeout
  • -t
  • --slow
  • -s
  • --bail
  • -b
  • --exit
  • --parallel
  • -p
  • --jobs
  • -j
  • --retries ⚠️
  • --require ⚠️
  • -r ⚠️
  • --config
  • --opts
  • --globals
  • --check-leaks
  • --full-trace ⚠️
  • --inline-diffs
  • --no-diff
  • --no-timeouts
  • --color
  • --no-color
  • --delay
  • --dry-run ⚠️
  • --file ⚠️
  • --sort
  • --package
npx ts-node
Description :

Exécute directement des fichiers TypeScript

Options :
  • --transpile-only
  • --compiler
  • -C
  • --project
  • -P
  • --ignore
  • -I
  • --prefer-ts-exts
  • --log-error
  • --pretty
  • --skip-project
  • --skip-ignore
  • --emit
  • --cwd
  • --scope
  • --scope-dir
  • --files ⚠️
  • --help
npx tsc
Description :

Compile TypeScript en JavaScript

Options :
  • --all
  • --allowJs
  • --allowUmdGlobalAccess
  • --allowUnreachableCode
  • --allowUnusedLabels
  • --alwaysStrict
  • --baseUrl
  • --build
  • -b
  • --charset
  • --checkJs
  • --composite
  • --declaration
  • -d
  • --declarationDir
  • --declarationMap
  • --diagnostics
  • --disableSizeLimit
  • --downlevelIteration
  • --emitBOM
  • --emitDeclarationOnly
  • --esModuleInterop
  • --experimentalDecorators
  • --extendedDiagnostics
  • --forceConsistentCasingInFileNames ⚠️
  • --generateCpuProfile
  • --help
  • -h
  • --importHelpers
  • --importsNotUsedAsValues
  • --inlineSourceMap
  • --inlineSources
  • --init
  • --isolatedModules
  • --jsx
  • --jsxFactory
  • --jsxFragmentFactory
  • --lib
  • --listEmittedFiles
  • --listFiles
  • --listFilesOnly
  • --locale
  • --mapRoot
  • --maxNodeModuleJsDepth
  • --module
  • -m
  • --moduleResolution
  • --newLine
  • --noEmit
  • --noEmitHelpers
  • --noEmitOnError
  • --noErrorTruncation
  • --noFallthroughCasesInSwitch
  • --noImplicitAny
  • --noImplicitOverride
  • --noImplicitReturns
  • --noImplicitThis
  • --noImplicitUseStrict
  • --noLib
  • --noPropertyAccessFromIndexSignature
  • --noResolve
  • --noStrictGenericChecks
  • --noUncheckedIndexedAccess
  • --noUnusedLocals
  • --noUnusedParameters
  • --out
  • --outDir
  • --outFile
  • --paths
  • --plugins
  • --preserveConstEnums
  • --preserveSymlinks
  • --preserveWatchOutput
  • --pretty
  • --project
  • -p
  • --reactNamespace ⚠️
  • --removeComments ⚠️
  • --resolveJsonModule ⚠️
  • --rootDir ⚠️
  • --rootDirs ⚠️
  • --showConfig
  • --skipDefaultLibCheck
  • --skipLibCheck
  • --sourceMap
  • --sourceRoot
  • --strict
  • --strictBindCallApply
  • --strictFunctionTypes
  • --strictNullChecks
  • --strictPropertyInitialization
  • --stripInternal
  • --suppressExcessPropertyErrors
  • --suppressImplicitAnyIndexErrors
  • --target
  • -t
  • --traceResolution
  • --tsBuildInfoFile
  • --typeRoots
  • --types
  • --useDefineForClassFields
  • --useUnknownInCatchVariables
  • --version
  • -v
  • --watch
  • -w
npx nodemon
Description :

Surveille les fichiers et redémarre automatiquement Node.js

Options :
  • --watch
  • -w
  • --ext
  • -e
  • --exec
  • -x
  • --ignore
  • -i
  • --delay
  • --legacy-watch
  • -L
  • --polling-interval
  • --verbose
  • -V
  • --quiet
  • -q
  • --config
  • -c
  • --signal
  • --stdin
  • --inspect
  • --no-colors
  • --spawn
  • --exitcrash
npx pm2 start
Description :

Démarre une application Node.js avec PM2

Options :
  • --name
  • -n
  • --watch
  • --ignore-watch
  • --max-memory-restart ⚠️
  • --instances
  • -i
  • --log
  • -l
  • --output
  • -o
  • --error
  • -e
  • --time
  • --no-autorestart
  • --cron
  • --no-daemon
  • --env
  • --interpreter
  • --node-args
  • --max-restarts ⚠️
  • --min-uptime
  • --kill-timeout
  • --listen-timeout
  • --restart-delay ⚠️
  • --wait-ready ⚠️
  • --merge-logs
  • --disable-logs
  • --log-date-format ⚠️
npx pm2 list
Description :

Liste les processus PM2

Options :
  • --sort
npx pm2 stop
Description :

Arrête une application PM2

Options :
  • all
  • --silent
npx pm2 restart
Description :

Redémarre une application PM2

Options :
  • all
  • --update-env
npx pm2 delete
Description :

Supprime une application PM2

Options :
  • all
npx pm2 logs
Description :

Affiche les logs des applications PM2

Options :
  • --raw ⚠️
  • --json
  • --format ⚠️
  • --lines
  • -n
  • --err
  • --out
  • --timestamp
npx pm2 monit
Description :

Affiche le monitoring en temps réel

npx pm2 save
Description :

Sauvegarde la liste des processus PM2

Options :
  • --force ⚠️
npx pm2 resurrect
Description :

Restaure les processus sauvegardés

npx yarn
Description :

Gestionnaire de packages alternatif à npm

Options :
  • add
  • remove
  • upgrade
  • upgrade-interactive
  • install
  • info
  • list
  • why
  • run
  • test
  • build
  • dev
  • start
  • workspace
  • workspaces
  • focus
  • global
  • cache clean
  • config
  • init
  • create
  • dlx
  • plugin
  • pnp
  • version
  • publish
  • login
  • logout
  • link
  • unlink ⚠️
  • audit
  • outdated
  • dedupe
  • pack
  • patch
  • patch-commit
  • set
  • unplug
  • stage
  • bin
  • constraints
  • exec ⚠️
  • explain
  • generate
  • import
  • info
  • init
  • licenses
  • node
  • npm
  • policies
  • rebuild
  • search
  • tag
  • team
  • unplug
  • workspace-tools
npx pnpm
Description :

Gestionnaire de packages rapide et économe en espace

Options :
  • install
  • i
  • add
  • update
  • up
  • remove
  • rm ⚠️
  • uninstall
  • unlink ⚠️
  • link
  • list
  • ls
  • outdated
  • rebuild
  • rb
  • prune
  • run
  • test
  • start
  • exec ⚠️
  • dlx
  • create
  • init
  • publish
  • version
  • audit
  • audit fix
  • why
  • store status
  • store add
  • store prune
  • store path
  • config
  • root
  • bin
  • setup
  • doctor
  • recursive
  • patch
  • patch-commit
  • patch-remove ⚠️
  • env
  • server
  • import
  • deploy
  • undeploy
  • cjs
  • esm
node --inspect
Description :

Démarre Node.js avec le débogueur activé

Options :
  • --inspect-brk
  • --inspect-port
npx cross-env
Description :

Définit des variables d'environnement cross-platform

npx dotenv
Description :

Charge les variables d'environnement depuis .env

Options :
  • -e
  • --path
  • -c
  • --command
  • --help
npx rimraf
Description :

Supprime récursivement des dossiers (node_modules, dist)

Options :
  • --glob
  • -g
  • --verbose
npx mkdirp
Description :

Crée des dossiers récursivement

Options :
  • --mode
  • -m
npx ncp
Description :

Copie récursive de fichiers/dossiers

Options :
  • --filter ⚠️
  • --transform
  • --stopOnErr
  • --limit
npx concurrently
Description :

Exécute plusieurs commandes en parallèle

Options :
  • --kill-others
  • -k
  • --raw ⚠️
  • --success
  • -s
  • --prefix
  • -p
  • --names
  • -n
  • --prefix-colors
  • -c
  • --timestamp-format ⚠️
  • --hide
  • --group
  • -g
  • --timings
  • -t
  • --restart-tries ⚠️
  • --restart-after ⚠️
  • --max-processes
  • -m
  • --handle-input
  • -i
  • --default-input-target
npx wait-on
Description :

Attend qu'une ressource soit disponible

Options :
  • --timeout
  • -t
  • --interval
  • -i
  • --reverse ⚠️
  • -r ⚠️
  • --verbose
  • -v
  • --log
  • -l
  • --httpTimeout
  • --tcpTimeout
  • --window
  • -w
  • --validateStatus
npx http-server
Description :

Sert un dossier avec un serveur HTTP

Options :
  • -p
  • --port
  • -a
  • --address
  • -c
  • --cache
  • --cors
  • --gzip
  • --brotli
  • --ssl
  • --cert
  • --key
  • --proxy
  • --username
  • --password
  • --robots ⚠️
  • --no-dotfiles
  • --ext
  • -e
  • --utc
  • --log-ip
  • --no-dir-listings
npx localtunnel
Description :

Expose un serveur local sur internet

Options :
  • --port
  • -p
  • --subdomain
  • -s
  • --local-host
  • --local-https
  • --allow-invalid-cert
  • --print-requests ⚠️
npx ngrok
Description :

Crée un tunnel sécurisé vers localhost

Options :
  • http
  • tcp
  • tls
  • --config
  • --authtoken
  • --region ⚠️
  • --hostname
  • --subdomain
  • --host-header
  • --basic-auth
  • --oauth
  • --oauth-scope
  • --oauth-allow-email
  • --oauth-client-id
  • --oauth-client-secret
  • --request-header-remove ⚠️
  • --request-header-add ⚠️
  • --response-header-add ⚠️
  • --response-header-remove ⚠️
  • --verify-webhook
  • --verify-webhook-secret
  • --scheme
  • --bind-tls
  • --cidr-allow
  • --cidr-den
  • --proxy-proto
  • --remote-addr ⚠️
node --version
Description :

Affiche la version de Node.js

npm --version
Description :

Affiche la version de npm

npx nvm
Description :

Node Version Manager (gère plusieurs versions de Node.js)

Options :
  • install
  • uninstall
  • use
  • list
  • ls
  • ls-remote ⚠️
  • current
  • alias
  • which
  • run
  • exec ⚠️
  • version
  • --lts
  • --latest-npm
  • --no-progress
  • --reinstall-packages-from ⚠️
  • --skip-default-packages
npx n
Description :

Gestionnaire de versions Node.js simple

Options :
  • install
  • i
  • latest
  • stable
  • lts
  • run
  • use
  • which
  • bin
  • ls
  • lsr
  • list
  • remove
  • rm ⚠️
  • -
  • prune
  • doctor
  • uninstall
npx fnm
Description :

Fast Node Manager (gestionnaire de versions rapide)

Options :
  • install
  • uninstall
  • use
  • list
  • ls
  • list-remote ⚠️
  • ls-remote ⚠️
  • current
  • alias
  • unalias
  • default
  • completions
  • env
  • exec ⚠️
  • which
  • version
npx volta
Description :

Gestionnaire d'outils JavaScript

Options :
  • install
  • uninstall
  • pin
  • list
  • which
  • fetch
  • run
  • setup
  • completions
npx depcheck
Description :

Vérifie les dépendances inutilisées

Options :
  • --ignore-bin-package
  • --skip-missing
  • --json
  • --ignores
  • --parsers
  • --detectors
  • --specials
npx npm-check
Description :

Vérifie interactivement les dépendances obsolètes

Options :
  • -u
  • --update
  • -g
  • --global
  • -s
  • --skip-unused
  • -p
  • --production
  • -d
  • --dev-only
  • -E
  • --save-exact
  • --specials
  • --emoji
  • --installer
  • --no-color
  • --debug
  • --ignore
npx license-checker
Description :

Vérifie les licences des dépendances

Options :
  • --production
  • --development
  • --json
  • --csv
  • --out
  • --relativeLicensePath ⚠️
  • --summary
  • --failOn ⚠️
  • --onlyAllow
  • --excludePackages
  • --excludePrivatePackages
  • --packages
  • --unknown
  • --customPath
  • --start
  • --direct
  • --color
npx madge
Description :

Analyse les dépendances entre modules

Options :
  • --basedir
  • --extensions
  • --exclude
  • --include-npm
  • --webpack-config
  • --ts-config
  • --layout
  • --font-size ⚠️
  • --bg-color
  • --node-color
  • --edge-color
  • --no-dependency-color
  • --cyclic
  • --orphans
  • --leaves
  • --image
  • --json
  • --dot
npx pkg
Description :

Crée un exécutable à partir d'un projet Node.js

Options :
  • --targets
  • -t
  • --config
  • -c
  • --options
  • -o
  • --output
  • --out-path
  • --debug
  • --build
  • --public
  • --public-packages
  • --private
  • --no-bytecode
  • --no-native-build
  • --compress
  • --public-packages
npx nexe
Description :

Alternative à pkg pour créer des exécutables Node.js

Options :
  • --input
  • -i
  • --output
  • -o
  • --target
  • -t
  • --build
  • -b
  • --bundle
  • --flags ⚠️
  • --python
  • --configure
  • --make
  • --verbose
  • -v
  • --version
npx webpack
Description :

Bundle des modules JavaScript

Options :
  • --config
  • --mode
  • --watch
  • --env
  • --profile
  • --json
  • --progress
  • --devtool
  • --entry
  • --output-path
  • -o
  • --stats
  • --no-stats
  • --color
  • --no-color
  • --display
  • --display-error-details
  • --display-modules
  • --display-reasons ⚠️
  • --display-used-exports
  • --display-provided-exports
  • --display-optimization-bailout
  • --hide-modules
  • --silent
  • --fail-on-error ⚠️
  • --bail
  • --cache
  • --watch-options-stdin
npx webpack serve
Description :

Lance le serveur de développement Webpack

Options :
  • --config
  • --mode
  • --open
  • --port
  • --host
  • --hot
  • --live-reload ⚠️
  • --https
  • --progress
  • --static
  • --no-static
  • --client-progress
  • --client-overlay
  • --client-logging
  • --client-reconnect ⚠️
  • --history-api-fallback ⚠️
  • --compress
  • --bonjour
  • --watch-files ⚠️
  • --watch-options-stdin
npx vite
Description :

Lance le serveur de développement Vite

Options :
  • --host
  • --port
  • --open
  • --cors
  • --strictPort
  • --force ⚠️
  • --mode
  • --config
npx vite build
Description :

Build le projet avec Vite

Options :
  • --mode
  • --target
  • --outDir
  • --assetsDir
  • --minify
  • --sourcemap
  • --watch
  • --ssr
  • --emptyOutDir
  • --config
npx esbuild
Description :

Bundler JavaScript/TypeScript ultra-rapide

Options :
  • --bundle
  • --format ⚠️
  • --platform
  • --target
  • --outfile
  • --outdir
  • --sourcemap
  • --minify
  • --watch
  • --servedir
  • --serve
  • --loader
  • --define
  • --external
  • --tree-shaking
  • --metafile
  • --legal-comments
  • --log-level
  • --color
  • --charset
  • --tsconfig
  • --jsx
  • --jsx-factory ⚠️
  • --jsx-fragment ⚠️
npx rollup
Description :

Bundler pour bibliothèques JavaScript

Options :
  • --config
  • -c
  • --input
  • -i
  • --output
  • -o
  • --file ⚠️
  • -f ⚠️
  • --format ⚠️
  • --name
  • -n
  • --watch
  • -w
  • --environment
  • -e
  • --plugin
  • -p
  • --bundleConfigAsCjs
  • --silent
  • --stdin
  • --amd
  • --no-treeshake
  • --no-treeshake.annotations
  • --no-treeshake.propertyReadSideEffects
  • --treeshake.preset
  • --treeshake.moduleSideEffects
  • --treeshake.correctVarValueBeforeDeclaration
  • --context
  • --moduleContext
  • --strictDeprecations
  • --experimentalCacheExpiry
  • --experimentalLogSideEffects
npx parcel
Description :

Bundler sans configuration

Options :
  • serve
  • watch
  • build
  • --port
  • -p
  • --host
  • --open
  • --target
  • --public-url
  • --cache-dir
  • --no-cache
  • --no-source-maps
  • --detailed-report ⚠️
  • --log-level
  • --https
  • --cert
  • --key
  • --hmr-port
  • --hmr-hostname
  • --no-autoinstall
  • --profile
  • --reporter ⚠️
npx swc
Description :

Compilateur TypeScript/JavaScript ultra-rapide

Options :
  • compile
  • bundle
  • minify
  • --config-file ⚠️
  • --source-maps
  • --out-file ⚠️
  • -o
  • --out-dir
  • -d
  • --watch
  • -w
  • --quiet
  • --log-watch-compilation
  • --extensions
  • --strip-leading-paths
  • --copy-files ⚠️
  • --include-dotfiles
  • --only
  • --ignore
  • --no-swcrc
  • --config
npx babel
Description :

Transpile le code JavaScript moderne

Options :
  • --out-file ⚠️
  • -o
  • --out-dir
  • -d
  • --watch
  • -w
  • --copy-files ⚠️
  • --no-copy-ignored
  • --ignore
  • --only
  • --extensions
  • --config-file ⚠️
  • --env-name
  • --root-mode ⚠️
  • --no-babelrc
  • --source-maps
  • --source-map-target
  • --source-file-name ⚠️
  • --source-root ⚠️
  • --no-comments
  • --compact
  • --minified
  • --auxiliary-comment-before
  • --auxiliary-comment-after
  • --verbose
  • --quiet

Partager