remove yarn module code example Example 1: yarn remove package yarn remove `package` Example 2: remove library using yarn remove package by yarn