Bun

bun remove

To remove a dependency:

bun remove ts-node