Function swotAnalysis

  • Example function that generates a SWOT analysis for a given idea.

    Parameters

    • idea: string

      The idea to generate the SWOT analysis for.

    Returns Promise<undefined | {
        opportunities: string[];
        strengths: string[];
        threats: string[];
        weaknesses: string[];
    }>

    An object with strengths, weaknesses, opportunities, and threats properties, each an array of strings representing the respective elements of the SWOT analysis.

    Example

    await swotAnalysis('Online tutoring service') 
    // => {
    // strengths: ['Flexible schedule', 'Low overhead'],
    // weaknesses: ['Internet dependency', 'High competition'],
    // opportunities: ['Increase in remote learning', 'Global market'],
    // threats: ['Technical issues', 'Market saturation']
    // }

Generated using TypeDoc