CWE API Client - v1.0.1
    Preparing search index...

    Class ViewResource

    Represents a CWE view resource, providing access to view details.

    Implements PromiseLike<CweView> so it can be awaited directly.

    // Await directly to get full view data
    const view = await cwe.view(1425);

    // Or call .get() explicitly
    const view = await cwe.view(1425).get();
    Index

    Methods

    Methods