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