ModesteASSIONGBON
Node.Js Can do that !!
@DevPropulsor
@rblmdst
Can do that !!
Pour réaliser une tâche un peu complexe,
voire parfois simple, on ajoute une nouvelle
dépendance au projet ...
Can do that !!
Cons related to adding dependencies
Increase in Project Size
Risk of Vulnerabilities
Lack of Control Over Code
Compatibility Issues
Risk of Obsolescence
Performance
Etc.
Can do that !!
Cons related to adding dependencies
How to mitigate these risks
Increase in Project Size
Risk of Vulnerabilities
Lack of Control Over Code
Compatibility Issues
Risk of Obsolescence
Performance
Etc.
Dependency Audit (npm audit, Snyk, or Dependabot, etc.)
Limit Dependencies (add deps only if absolutely necessary).
🤔
Can do that !!
Before :
WATCH MODE
v19.2.0, v18.13.0 Test runner supports
v22.0.0 Stable
Added in: v18.11.0, v16.19.0
With Node.Js
Nodemon feature
NPM Module
How to do it natively with Node.JS
Since which version ?
State today (Node v23)
History
Dev Propulsor
@rblmdst
JavaScript Sr. Web Developer
Speaker, Trainer
Content Creator
Modeste ASSIONGBON
Can do that !!
Before :
WATCH MODE
v19.2.0, v18.13.0 Test runner supports
v22.0.0 Stable
Added in: v18.11.0, v16.19.0
With Node.Js
Nodemon
History
Can do that !!
Before :
HTTP CLIENT
v21.0.0 Stable
Added in: 17.5.0
With Node.Js
Axios
History
Can do that !!
Before :
WEBSOCKET CLIENT
v22.4.0 Stable
Added in: v21.0.0
With Node.Js
Socket.io / WS
History
Can do that !!
Before :
TEST
v19.2.0, v18.13.0 Supports watch mode
v20.0.0 Stable
Added in: v18.1.0, v16.17.0
With Node.Js
Mocha (test runner) + Chai (assertion library) + Sinon (test doubles library)
History
Can do that !!
TEST
BDD TDD
Test styles
Can do that !!
TEST
Test Doubles
Can do that !!
Features :
Resources :
TEST
Filter test by name ( --test-name-pattern="test 1 some test" , --test-skip-pattern)
Async test
Watch mode
Test report (tap, spec, dot, junit, lcov)
Test coverage
Test Double (Mocking)
https://glebbahmutov.com/blog/trying-node-test-runner/
https://youtu.be/M57m8t7rsVg?si=RmjDfYm08h52juY6
https://youtu.be/M57m8t7rsVg?si=jM42cTtjF17Q7MX9
https://nodejs.org/api/test.html
Official Documentation
Trying Node.js Test Runner-Learning all about the new built-in Node.js test runner
Videos on writing test using the native test runner (French)
Can do that !!
Before :
.ENV FILE
v21.7.0, v20.12.0 Support to multi-line values
Active development
Added in: v20.6.0
With Node.Js
Dotenv
OR
History
CLI or NPM Script
Script : eg. index.js
Can do that !!
.ENV FILE
Using a script
Can do that !!
TERMINAL TEXT FORMATING/STYLING
Before :
v22.8.0 Respect isTTY and NO_COLORS,NODE_DISABLE_COLORS,FORCE_COLOR
v23.5.0 Stable
Added in: v21.7.0, v20.12.0
With Node.Js
Chalk
History
Can do that !!
Before :
SQLITE
Added in: v22.5.0
Active development
With Node.Js
Sqlite3
History
Can do that !!
SQLITE
Can do that !!
TYPE STRIPPING (RUN TYPESCRIPT FILES)
Before :
Added in: v22.6.0
Active development
With Node.Js
TypeScript Compiler
History
Can do that !!
TYPE STRIPPING (RUN TYPESCRIPT FILES)
user.model.ts
utils.ts
index.ts
Can do that !!
SYNCHRONOUS ESM GRAPHS (REQUIRE ESM)
Before :
Active Development
With Node.Js
History
ERR_REQUIRE_ESM
Added in: v22.0.0
Can do that !!
SYNCHRONOUS ESM GRAPHS (REQUIRE ESM)
utils.mjs
index.ts
Can do that !!
Before :
RUNNING PACKAGE.JSON SCRIPTS
Added in: v22
v23 Stable
With Node.Js
History
Can do that !!
package.json
RUNNING PACKAGE.JSON SCRIPTS
With Node.Js
With NPM
Intentional limitations
node --run is not meant to match the behaviors of npm run or of the run commands of other
package managers.
Can do that !!
Resources to check :
https://glebbahmutov.com/blog/trying-node-test-runner/
https://joyeecheung.github.io/blog/2024/03/18/require-esm-in-node-js/
https://nodejs.org/api/test.html
Test (official doc.)
Trying Node.js Test Runner-Learning all about the new built-in Node.js test runner
require(esm) in Node.js
https://nodejs.org/docs/latest/api/modules.html#loading-ecmascript-
modules-using-require
Loading ESM (official doc.)
Modeste ASSIONGBON
Node.Js Can do that !!
@DevPropulsor
@rblmdst

More Related Content

PPTX
NodeJs Can do that !! (NodeJs peut faire ça !!)
PDF
NodeSummit - MEAN Stack
PDF
OSDC.no 2015 introduction to node.js workshop
PDF
Webconf nodejs-production-architecture
PDF
From devOps to front end Ops, test first
PDF
2012 04-19 theory-of_operation
PDF
Grunt, Gulp & fabs: Build Systems and Development-Workflow for Modern Web-App...
PDF
Tutorial: Develop Mobile Applications with AngularJS
NodeJs Can do that !! (NodeJs peut faire ça !!)
NodeSummit - MEAN Stack
OSDC.no 2015 introduction to node.js workshop
Webconf nodejs-production-architecture
From devOps to front end Ops, test first
2012 04-19 theory-of_operation
Grunt, Gulp & fabs: Build Systems and Development-Workflow for Modern Web-App...
Tutorial: Develop Mobile Applications with AngularJS

Similar to [devoxx2025] NodeJs Can do that !!!!.pdf (20)

PDF
Embedded Recipes 2019 - Testing firmware the devops way
PPTX
Introduction to node.js By Ahmed Assaf
PPTX
Grunt Continuous Development of the Front End Tier
PPTX
Basic Concept of Node.js & NPM
PDF
Node.js in a heterogeneous system
PDF
When to use Serverless? When to use Kubernetes?
PDF
Release with confidence
PPTX
Node js meetup
PPTX
How Gozengo Implemented a Continuous Deployment Culture from Day One
PPTX
Gozengo sauce presentation
PPTX
Angularjs Tutorial for Beginners
PPTX
Node.js in a heterogeneous system
PDF
High productivity web development workflow - JavaScript Meetup Saigon 2014
PDF
High Productivity Web Development Workflow
ODP
Jbossworld Presentation
PPTX
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
PPTX
Django simplified : by weever mbakaya
PDF
Getting started with .net on openSUSE (asp.net with c#)
PDF
Javaland 2014 / GWT architectures and lessons learned
PDF
Continuous Web Performance Monitoring with Jenkins
Embedded Recipes 2019 - Testing firmware the devops way
Introduction to node.js By Ahmed Assaf
Grunt Continuous Development of the Front End Tier
Basic Concept of Node.js & NPM
Node.js in a heterogeneous system
When to use Serverless? When to use Kubernetes?
Release with confidence
Node js meetup
How Gozengo Implemented a Continuous Deployment Culture from Day One
Gozengo sauce presentation
Angularjs Tutorial for Beginners
Node.js in a heterogeneous system
High productivity web development workflow - JavaScript Meetup Saigon 2014
High Productivity Web Development Workflow
Jbossworld Presentation
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
Django simplified : by weever mbakaya
Getting started with .net on openSUSE (asp.net with c#)
Javaland 2014 / GWT architectures and lessons learned
Continuous Web Performance Monitoring with Jenkins
Ad

Recently uploaded (20)

PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
737-MAX_SRG.pdf student reference guides
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Fundamentals of Mechanical Engineering.pptx
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Categorization of Factors Affecting Classification Algorithms Selection
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Amdahl’s law is explained in the above power point presentations
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
III.4.1.2_The_Space_Environment.p pdffdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
August 2025 - Top 10 Read Articles in Network Security & Its Applications
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
CyberSecurity Mobile and Wireless Devices
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
737-MAX_SRG.pdf student reference guides
Fundamentals of safety and accident prevention -final (1).pptx
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Ad

[devoxx2025] NodeJs Can do that !!!!.pdf

  • 1. ModesteASSIONGBON Node.Js Can do that !! @DevPropulsor @rblmdst
  • 2. Can do that !! Pour réaliser une tâche un peu complexe, voire parfois simple, on ajoute une nouvelle dépendance au projet ...
  • 3. Can do that !! Cons related to adding dependencies Increase in Project Size Risk of Vulnerabilities Lack of Control Over Code Compatibility Issues Risk of Obsolescence Performance Etc.
  • 4. Can do that !! Cons related to adding dependencies How to mitigate these risks Increase in Project Size Risk of Vulnerabilities Lack of Control Over Code Compatibility Issues Risk of Obsolescence Performance Etc. Dependency Audit (npm audit, Snyk, or Dependabot, etc.) Limit Dependencies (add deps only if absolutely necessary). 🤔
  • 5. Can do that !! Before : WATCH MODE v19.2.0, v18.13.0 Test runner supports v22.0.0 Stable Added in: v18.11.0, v16.19.0 With Node.Js Nodemon feature NPM Module How to do it natively with Node.JS Since which version ? State today (Node v23) History
  • 6. Dev Propulsor @rblmdst JavaScript Sr. Web Developer Speaker, Trainer Content Creator Modeste ASSIONGBON
  • 7. Can do that !! Before : WATCH MODE v19.2.0, v18.13.0 Test runner supports v22.0.0 Stable Added in: v18.11.0, v16.19.0 With Node.Js Nodemon History
  • 8. Can do that !! Before : HTTP CLIENT v21.0.0 Stable Added in: 17.5.0 With Node.Js Axios History
  • 9. Can do that !! Before : WEBSOCKET CLIENT v22.4.0 Stable Added in: v21.0.0 With Node.Js Socket.io / WS History
  • 10. Can do that !! Before : TEST v19.2.0, v18.13.0 Supports watch mode v20.0.0 Stable Added in: v18.1.0, v16.17.0 With Node.Js Mocha (test runner) + Chai (assertion library) + Sinon (test doubles library) History
  • 11. Can do that !! TEST BDD TDD Test styles
  • 12. Can do that !! TEST Test Doubles
  • 13. Can do that !! Features : Resources : TEST Filter test by name ( --test-name-pattern="test 1 some test" , --test-skip-pattern) Async test Watch mode Test report (tap, spec, dot, junit, lcov) Test coverage Test Double (Mocking) https://glebbahmutov.com/blog/trying-node-test-runner/ https://youtu.be/M57m8t7rsVg?si=RmjDfYm08h52juY6 https://youtu.be/M57m8t7rsVg?si=jM42cTtjF17Q7MX9 https://nodejs.org/api/test.html Official Documentation Trying Node.js Test Runner-Learning all about the new built-in Node.js test runner Videos on writing test using the native test runner (French)
  • 14. Can do that !! Before : .ENV FILE v21.7.0, v20.12.0 Support to multi-line values Active development Added in: v20.6.0 With Node.Js Dotenv OR History CLI or NPM Script Script : eg. index.js
  • 15. Can do that !! .ENV FILE Using a script
  • 16. Can do that !! TERMINAL TEXT FORMATING/STYLING Before : v22.8.0 Respect isTTY and NO_COLORS,NODE_DISABLE_COLORS,FORCE_COLOR v23.5.0 Stable Added in: v21.7.0, v20.12.0 With Node.Js Chalk History
  • 17. Can do that !! Before : SQLITE Added in: v22.5.0 Active development With Node.Js Sqlite3 History
  • 18. Can do that !! SQLITE
  • 19. Can do that !! TYPE STRIPPING (RUN TYPESCRIPT FILES) Before : Added in: v22.6.0 Active development With Node.Js TypeScript Compiler History
  • 20. Can do that !! TYPE STRIPPING (RUN TYPESCRIPT FILES) user.model.ts utils.ts index.ts
  • 21. Can do that !! SYNCHRONOUS ESM GRAPHS (REQUIRE ESM) Before : Active Development With Node.Js History ERR_REQUIRE_ESM Added in: v22.0.0
  • 22. Can do that !! SYNCHRONOUS ESM GRAPHS (REQUIRE ESM) utils.mjs index.ts
  • 23. Can do that !! Before : RUNNING PACKAGE.JSON SCRIPTS Added in: v22 v23 Stable With Node.Js History
  • 24. Can do that !! package.json RUNNING PACKAGE.JSON SCRIPTS With Node.Js With NPM Intentional limitations node --run is not meant to match the behaviors of npm run or of the run commands of other package managers.
  • 25. Can do that !! Resources to check : https://glebbahmutov.com/blog/trying-node-test-runner/ https://joyeecheung.github.io/blog/2024/03/18/require-esm-in-node-js/ https://nodejs.org/api/test.html Test (official doc.) Trying Node.js Test Runner-Learning all about the new built-in Node.js test runner require(esm) in Node.js https://nodejs.org/docs/latest/api/modules.html#loading-ecmascript- modules-using-require Loading ESM (official doc.)
  • 26. Modeste ASSIONGBON Node.Js Can do that !! @DevPropulsor @rblmdst