Show me the steps to● Create a package called my_(f)irst_(t)ask.
● Initialise the package using NPM.
● Install Lodash within the package.
● Create a script called remove_(d)uplicates.js.
● Within this script, you will need to import Lodash, and use the uniq
function.
● Create the following array:
[1, 2, 10, 100, 10, 2, 5, 6, 10, 1000, 7, 2, 100, 1, 5, 7, 10]
● Display the original array in the console.
● Using Lodash, display that same array, but with all duplicates removed.
● Finally, set up your package to run the script using:
npm run rdup
Osolve