title: SaltStack: NPM install package with --unsafe-perm
body: <p>Can I set <code>unsafe-perm</code> to <code>true</code> when installing npm packages? </p>
  
  <pre><code>npm-pkgs:
    npm.installed:
      - names:
        - composer-cli
        - generator-hyperledger-composer
  </code></pre>
  
  <p>The reason for that is that I ran into a permission issue when trying to install some of the packages: </p>
  
  <blockquote>
    <p>gyp WARN EACCES user "root" does not have permission to access the dev
    dir "/usr/lib/node_modules/composer-cli/node_modules/pkcs11js/.node-gyp/8.9.3"</p>
  </blockquote>