Type alias PackageObjFormatted

    PackageObjFormatted: {
        bugsEmail: string;
        bugsURL: string;
        description: string;
        formattedMessage: string;
        homepage: string;
        license: string;
        name: string;
        repository: string;
        type: string;
        version: string;
    }

    The returned data object from formatting a package.json object.

    Type declaration

    • bugsEmail: string
      • Email from bugs property.
    • bugsURL: string
      • URL from bugs property.
    • description: string
      • Description property.
    • formattedMessage: string
      • A formatted message describing the package.
    • homepage: string
      • Homepage property.
    • license: string
      • License property.
    • name: string
      • Name property.
    • repository: string
      • The repository URL or unparsed repository string.
    • type: string
      • module or commonjs.
    • version: string
      • Version property.