{"id":9057380,"name":"sharpdocx","ecosystem":"nuget","description":"SharpDocx enables you to generate Word documents based on a view. The view itself is a Word document and can be as simple or complex as you want.\n- Use C# code inside the view for inserting text, images or tables.\n- Supports the MVC pattern, so you can use your own C# model in the template.\n- Supports .NET Framework 3.5/4.5+, .NET Standard 2.0, .NET Core 3.1, .NET 5.0 - 9.0.\n- Based on Microsoft's Open XML SDK.\n- Source code, tutorial and examples on GitHub.","homepage":"https://github.com/egonl/SharpDocx","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/egonl/SharpDocx","keywords_array":["openxml","office","word","document","sharpdocx"],"namespace":null,"versions_count":17,"first_release_published_at":"1900-01-01T00:00:00.000Z","latest_release_published_at":"2025-09-08T21:53:47.703Z","latest_release_number":"2.6.0","last_synced_at":"2026-09-02T03:27:58.817Z","created_at":"2024-02-27T04:22:46.363Z","updated_at":"2026-09-04T11:56:43.472Z","registry_url":"https://www.nuget.org/packages/sharpdocx/","install_command":"Install-Package sharpdocx","documentation_url":null,"metadata":{"copyright":"Copyright 2018-2022","owners":"egonl","license_info":{"type":"expression","text":"MIT","version":null},"license_url":"https://licenses.nuget.org/MIT","require_license_acceptance":false,"repository":{"type":"git","url":"https://github.com/egonl/SharpDocx","branch":null,"commit":null},"development_dependency":false,"serviceable":false,"framework_assemblies":[],"package_types":[],"summary":"Lightweight template engine for creating Word documents","release_notes":"Version 2.6.0 - September 8, 2025\n- Added support for dynamic model binding (#84).\n- Fixed issue with AssemblyLoadContext (#85).\n- Updated DocumentFormat.OpenXml to version 3.3.0 (#86).\n- Added Function App example (#87).\n\nVersion 2.5.0 - April 24, 2024\n- Added support for view streams.\n\nVersion 2.4.1 - April 18, 2024\n- Updated to DocumentFormat.OpenXml version 3.0.2.\n\nVersion 2.4.0 - January 30, 2023\n- Added ImageFromBase64, ImageFromUrl and ImageFromStream methods.\n- Added ImageFromBase64 and ImageFromUrl examples to the tutorial.\n    \nVersion 2.3.0 - October 9, 2022\n- Added support for EMF files (issue #51).\n- The IDs of DocProperties are now always unique (issue #51).\n- Changed the default for TargetFrameworks to net48 and net6.0 to better support Visual Studio 2022.\n- The NuGet package now also supports .NET Framework 4.0.\n    \nVersion 2.2.0 - January 20, 2022\n- Added support for Visual Studio Code and Visual Studio 2022.\n- If a view gets updated it will now be recompiled automatically.\n- A copy of the view to a temporary file is now only made in Debug builds.\n- The SharpDocx IDE now also supports a document viewer in .NET Core 3.1, .NET 5.0 and .NET 6.0. However, you have to specify the location of the viewer.\n- Added .NET 6.0 as a target framework for the samples.\n- Updated DocumentFormat.OpenXml to 2.15.0.\n- Fixed issue #37 (NullReferenceException).\n- Fixed large image overflow bug.\n    \nVersion 2.1.0 - October 16, 2021\n- Added an overload for the Generate method that returns a stream (issue #8 and #9).\n- Added support for Source Link.\n- Updated samples to .NET Core 3.1.\n- Updated DocumentFormat.OpenXml to 2.13.1.\n- Fixed issue #34.\n- Fixed issue #36.\n\nVersion 2.0.4 - August 8, 2020\n- Fixed issue #21.\n\t\nVersion 2.0.3 - July 28, 2020\n- Fixed issue #18.\n\t\nVersion 2.0.2 - March 14, 2020\n- Fixed issue #4 and #14.\n\t\nVersion 2.0.1 - February 7, 2020\n- Supports templates in loops and if-statements.\n- Templates can be nested (see tutorial).\n\t\nVersion 1.2.1 - December 23, 2019\n- Upgraded to DocumentFormat.OpenXml 2.9.1.\n- Fixed issue with NuGet dependencies.\n\nVersion 1.2.0 - February 22, 2019\n- Added support for .NET Standard 2.0.\n\nVersion 1.1.0 - January 4, 2018\n- Some performance improvements.\n- You can now specify a view model when calling Document.Generate.\n- Tidied up API.\n\nVersion 1.0.0 - January 1, 2018\n- Initial version.","dependency_summary":{"total_dependency_groups":4,"target_frameworks":[".NETFramework3.5",".NETFramework4.0",".NETFramework4.5",".NETStandard2.0"],"total_dependencies":5},"verified":false},"repo_metadata":{"id":37663428,"uuid":"113360705","full_name":"egonl/SharpDocx","owner":"egonl","description":"Lightweight template engine for creating Word documents","archived":false,"fork":false,"pushed_at":"2025-09-08T22:05:26.000Z","size":5335,"stargazers_count":379,"open_issues_count":24,"forks_count":83,"subscribers_count":20,"default_branch":"master","last_synced_at":"2026-09-02T03:25:09.840Z","etag":null,"topics":["docx","microsoft-word","mvc","open-xml-sdk","word"],"latest_commit_sha":null,"homepage":"","language":"C#","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/egonl.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}},"created_at":"2017-12-06T19:51:01.000Z","updated_at":"2026-08-03T15:57:46.000Z","dependencies_parsed_at":"2024-04-22T22:27:52.901Z","dependency_job_id":"a7e47a61-d16b-4516-ba78-d983533509cb","html_url":"https://github.com/egonl/SharpDocx","commit_stats":{"total_commits":134,"total_committers":5,"mean_commits":26.8,"dds":"0.11194029850746268","last_synced_commit":"0ffcdc2ac35d66a5d3f7f4a4e7cc2c431d93344b"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/egonl/SharpDocx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egonl","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":336071963,"owners_count":37020825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-04T02:00:06.169Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"egonl","name":null,"uuid":"34315684","kind":"user","description":null,"email":"","website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/34315684?v=4","repositories_count":17,"last_synced_at":"2023-03-05T14:23:13.130Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/egonl","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T17:41:48.765Z","updated_at":"2023-03-05T14:23:13.145Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egonl","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egonl/repositories"},"tags":[{"name":"v2.4.1","sha":"107db8ffb0b8132e74c81a4dc1511e18bd9114a2","kind":"commit","published_at":"2024-04-18T19:56:09.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.4.1","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.4.1/manifests"},{"name":"v2.4.0","sha":"0ffcdc2ac35d66a5d3f7f4a4e7cc2c431d93344b","kind":"commit","published_at":"2023-01-30T21:36:35.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.4.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.4.0/manifests"},{"name":"v2.3.0","sha":"95996e21aa55c6e1c3a9bad182aabbb421980ba5","kind":"commit","published_at":"2022-10-09T11:50:17.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.3.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.3.0/manifests"},{"name":"v2.2.0","sha":"73ebb2229dba14f7fc6ab4624ed88173b708e338","kind":"commit","published_at":"2022-01-20T16:09:44.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.2.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.2.0/manifests"},{"name":"v2.1.0","sha":"b6c4ffcaf7df1d524bc183a05a36900d37b5acb2","kind":"commit","published_at":"2021-10-16T14:52:34.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.1.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.1.0/manifests"},{"name":"v2.0.4","sha":"66a51a8b13cc655557bfa5feba140ca7ffdaca51","kind":"commit","published_at":"2020-10-19T19:21:06.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.0.4","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.0.4/manifests"},{"name":"v2.0.2","sha":"51ab89cd6c134b270d60b0170253abb95d893a8b","kind":"commit","published_at":"2020-03-13T23:03:29.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v2.0.2","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v2.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v2.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v2.0.2/manifests"},{"name":"v1.2.0","sha":"4629d524227fc3dc86fc52aa81cc0fbecbda0ab2","kind":"commit","published_at":"2019-02-22T15:52:58.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v1.2.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"89f8242c131a83ba199cb20350e4e25b1b844d9f","kind":"commit","published_at":"2018-01-04T22:02:08.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v1.1.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"48a9a303ff64c847013728c971ef978f8abe4b4f","kind":"commit","published_at":"2018-01-02T20:49:00.000Z","download_url":"https://codeload.github.com/egonl/SharpDocx/tar.gz/v1.0.0","html_url":"https://github.com/egonl/SharpDocx/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/egonl/SharpDocx@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-04T11:56:43.472Z","dependent_packages_count":3,"downloads":439644,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":3.141394395803035,"dependent_repos_count":13.819348826338206,"dependent_packages_count":18.835372714592,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":11.932038645577748},"purl":"pkg:nuget/sharpdocx","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/nuget/sharpdocx","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/nuget/sharpdocx","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/nuget/sharpdocx/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-04T11:56:43.088Z","issues_count":67,"pull_requests_count":25,"avg_time_to_close_issue":14656512.113636363,"avg_time_to_close_pull_request":13416533.19047619,"issues_closed_count":44,"pull_requests_closed_count":21,"pull_request_authors_count":15,"issue_authors_count":58,"avg_comments_per_issue":2.1791044776119404,"avg_comments_per_pull_request":2.0,"merged_pull_requests_count":13,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":4,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":44958.333333333336,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.25,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/egonl%2FSharpDocx/issues","maintainers":[{"login":"egonl","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/egonl"}],"active_maintainers":[{"login":"egonl","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/egonl"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/sharpdocx/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/sharpdocx/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/sharpdocx/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/sharpdocx/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/sharpdocx/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/packages/sharpdocx/codemeta","maintainers":[{"uuid":"egonl","login":"egonl","name":null,"email":null,"url":null,"packages_count":1,"html_url":"https://www.nuget.org/profiles/egonl","role":null,"created_at":"2024-02-27T04:23:54.708Z","updated_at":"2024-02-27T04:23:54.708Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/nuget.org/maintainers/egonl/packages"}]}