Command | Description | Command | Description |
---|---|---|---|
ls | List the contents of the directory | subl | Open sublime text |
cd | Change directories | pwd | Print working directory |
mkdir | Make directory | say | Make your computer talk |
rmdir | Remove empty directories | open | Open a particular file in their default application |
rm | Remove files or directories | ./ | The current folder |
touch | Create an empty file | ../ | One folder above your current working directory |
echo | Return a string | ~/ | The home folder |
With a library the developer is in control. The developer can call functions defined in the library and use them as they want.
Example: JavaScript
With a framework the developer must work within defined areas. All the control flow is already in the framework, and there's just a bunch of predefined white spots that you can fill out with your code.
Example: Angular or React
Node.js is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code server-side
Run and executed in the browser environment
Run and executed on a back end server
Reference: https://medium.freecodecamp.org/what-exactly-is-node-js-ae36e97449f5
JavaScript usually is a single threaded (single function) language. Node allows for the request of a different thread without needing the full response from the first one
Node Package Manager
https://bit.ly/2qgvAMv