@b-jones-rfd/sp-rest-connect - v5.1.1
    Preparing search index...

    Variable addDocumentToLibraryConst

    addDocumentToLibrary: ActionFactory<AddDocumentToLibraryOptions, string> = ...

    Uploads a file (Buffer or Readable) to a document library folder, overwriting any existing file. Returns the file's server-relative URL.

    Factory form of SiteConnection.addDocumentToLibrary: call with your SiteConnectionOptions to get a reusable action. See the SiteConnection member for full parameter and return documentation.