{"id":21655921,"url":"https://github.com/koltyakov/spsyncn","last_synced_at":"2025-04-11T21:32:58.065Z","repository":{"id":27380209,"uuid":"113693443","full_name":"koltyakov/SPSyncN","owner":"koltyakov","description":"SharePoint .Net assets sync via Node.js","archived":false,"fork":false,"pushed_at":"2024-09-06T08:52:03.000Z","size":17646,"stargazers_count":6,"open_issues_count":19,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T22:06:49.266Z","etag":null,"topics":["crazystuff","dotnet","nodejs","publishing","sharepoint","sharepoint-online","sync"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koltyakov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-09T18:56:32.000Z","updated_at":"2023-02-11T02:20:20.000Z","dependencies_parsed_at":"2024-11-25T08:48:03.021Z","dependency_job_id":null,"html_url":"https://github.com/koltyakov/SPSyncN","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koltyakov%2FSPSyncN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koltyakov%2FSPSyncN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koltyakov%2FSPSyncN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koltyakov%2FSPSyncN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koltyakov","download_url":"https://codeload.github.com/koltyakov/SPSyncN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483393,"owners_count":21111441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crazystuff","dotnet","nodejs","publishing","sharepoint","sharepoint-online","sync"],"created_at":"2024-11-25T08:37:47.172Z","updated_at":"2025-04-11T21:32:58.025Z","avatar_url":"https://github.com/koltyakov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPSyncN - SharePoint .Net assets sync via Node.js\n\n[![NuGet version](https://img.shields.io/nuget/v/SPSyncN.svg)](https://www.nuget.org/packages/SPSyncN)\n[![Downloads](https://img.shields.io/nuget/dt/SPSyncN.svg)](https://www.nuget.org/packages/SPSyncN)\n![Build Status](https://koltyakov.visualstudio.com/SPNode/_apis/build/status/SPSyncN?branchName=master)\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/sharepoint-node/Lobby)\n\n---\n\nThe wrapper for:\n\n- [spsave](https://www.npmjs.com/package/spsave)\n- [sppull](https://www.npmjs.com/package/sppull)\n- [sp-download](https://www.npmjs.com/package/sp-download)\n- [sppurge](https://www.npmjs.com/package/sppurge)\n\nfor usage in .Net assemblies.\n\n---\n\n## Features\n\n- Upload a file to SharePoint document library\n- Upload a folder with structure and files to SharePoint\n- Upload a folder with structure and files to SharePoint in incremental mode\n- Download a file to SharePoint document library\n- Download a folder with structure and files to SharePoint\n- Remove a file from SharePoint document library\n- Remove a folder with all content from SharePoint\n\n## Installation\n\n```PowerShell\nInstall-Package SPAuthN\nInstall-Package SPSyncN\n```\n\n## Usage\n\n```CSharp\nOptions options = SPAuth.GetAuth(\"--configPath='./config/private.json' --forcePrompts=false\");\n\nConsole.WriteLine(\"Upload a file...\");\nUpload.File(\"./Documents/TextFile.txt\", \"Shared Documents/File Upload Test\", options.SiteUrl, options.AuthOptions);\n\nConsole.WriteLine(\"Download a file...\");\nDownload.File(\"Shared Documents/File Upload Test/TextFile.txt\", \"./Download\", options.SiteUrl, options.AuthOptions);\n\nConsole.WriteLine(\"Deleting a file...\");\nRemove.File(\"Shared Documents/File Upload Test/TextFile.txt\", options.SiteUrl, options.AuthOptions);\n\nConsole.WriteLine(\"Upload a folder...\");\nUpload.Folder(\"./Documents\", \"Shared Documents/Folder Upload Test\", options.SiteUrl, options.AuthOptions);\n\nConsole.WriteLine(\"Upload a folder (incremental mode)...\");\nUpload.FolderDiff(\"./Documents\", \"Shared Documents/Folder Upload Test\", options.SiteUrl, options.AuthOptions);\n\nConsole.WriteLine(\"Download a folder...\");\nDownload.Folder(\"Shared Documents/Folder Upload Test\", \"./Download\", options.SiteUrl, options.AuthOptions);\n\nConsole.WriteLine(\"Deleting a folder...\");\nRemove.Folder(\"Shared Documents/Folder Upload Test\", options.SiteUrl, options.AuthOptions);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoltyakov%2Fspsyncn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoltyakov%2Fspsyncn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoltyakov%2Fspsyncn/lists"}