wp.getPosts with status = ‘trash’ using node.js

I think you’re looking for this…

wp.getPosts({
      status: 'trash',
    },
    ['title','status'],
    function( err, data ) {
      console.log( data );
    }
});