Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

JavaScript Lifecycle and Core Concepts Part 2 - JS Expert

👨‍💻 Developed by Matheus Ramalho de Oliveira
🏗️ Brazilian Software Engineer
✉️ kastorcode@gmail.com
🦫 LinkedInInstagram


This repository contains practical examples and exercises focused on JavaScript lifecycle concepts and internationalization. The project is structured to demonstrate advanced JavaScript patterns and best practices.


Project Structure

  1. this-apply-call-arguments: Examples demonstrating the usage of this binding and function invocation patterns in JavaScript.

  2. esmodules-internationalization: A Node.js application showcasing ES Modules and internationalization features.

    • Uses modern JavaScript with ES Modules
    • Includes testing setup with Mocha and Chai
    • Features code coverage reporting with NYC
    • Implements real-time console updates with DraftLog
    • Includes colorful console output using Chalk

Available Scripts

  • Development Mode:
npm run dev

Runs the application with nodemon for automatic reloading

  • Run Tests:
npm test

Executes tests in watch mode with parallel execution

  • Test Coverage:
npm run test:cov

Generates test coverage reports


Main Dependencies

  • chalk: Terminal string styling
  • chalk-table: Terminal table output
  • draftlog: Real-time console output updates

Development Dependencies

  • chai: Assertion library for testing
  • mocha: Testing framework
  • nodemon: Development server with auto-reload
  • nyc: Code coverage tool
  • sinon: Test spies, stubs, and mocks

<kastor.code/>