docs: function entrify(dir, options = {}) {
  
    if (!dir) {
      throw new Error('the path is required')
    }
  
    if (typeof dir !== 'string') {
      throw new Error('the path must be a string')
    }
  
    options = Object.assign({}, defaults, options)
  
    return entrifyFromPkg(dir, options)
  
  }