Extrair nodejs de arquivo rar

const unrarp = require('unrar-promise');   
      unrarp
      .extractAll('rar-file-path', 'extract-directory')
      .then(result => {
        cb(null, result);
      })
      .catch(err => {
        cb(err);
      });
Odd Oystercatcher