font awesome-free npm code example
Example 1: npm font awesome
npm install --save font-awesome
Example 2: font awesome npm
npm install --save @fortawesome/fontawesome-free
Example 3: npm font awesome 5
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/<type>';