content.js
function get(data) {
    if ('string' === typeof data) return { content: data };
    if (data.readme) return { content: data.readme, file: 'readme' };
    if (data.content) return data;
  }
function get(data) {
    if ('string' === typeof data) return { content: data };
    if (data.readme) return { content: data.readme, file: 'readme' };
    if (data.content) return data;
  }
function get ( data ) { if ( 'string' === typeof data ) return { content : data } ; if ( data . readme ) return { content : data . readme , file : 'readme' } ; if ( data . content ) return data ; }
Retrieve the only possible location of data. Which is the `readme` content
but that's only available for packages that are retrieved through npm.

@param {Object} data The package.json or npm package contents.
Retrieve the only possible location of data . Which is the readme content but that s only available for packages that are retrieved through npm .