fotnaweseome npm code example
Example 1: font awesome npm
npm install --save @fortawesome/fontawesome-free
Example 2: npm font awesome 5
import '@fortawesome/fontawesome-free/js/all.js';
npm install --save @fortawesome/fontawesome-free
import '@fortawesome/fontawesome-free/js/all.js';