title: Is it possible to check if npm is installed in the system using composer?
body: <p>I am writing a composer file. In this file I am checking whether <em>imagick</em> and <em>mysql</em> is installed or not. I also want to make sure whether npm is installed in the system or not. Is it possible? Thanks in advance.</p>