This example shows how to use Framing components to divide a command-line application into distinct sections or concerns.
npm installnpm start
These are the components that comprise the application.
This is the main component for the application. It imports the Greeting Generator and the User Account components and prints a "Hello, World" message.
The greeting generator component generates a random greeting. This component uses promises for its initialization and the generator.
The user account component returns a random user name. This component uses callbacks for its initialization and the user name accessor.