<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def npm_install(package, flags=None):
 """Install a package from NPM."""


    command = u'install %s %s' % (package, flags or u'') 
    npm_command(command.strip())