Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

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/>

Morty Proxy This is a proxified and sanitized view of the page, visit original site.