{"id":15287448,"url":"https://github.com/vweevers/assembly-source","last_synced_at":"2025-07-15T19:08:41.628Z","repository":{"id":57184988,"uuid":"93440753","full_name":"vweevers/assembly-source","owner":"vweevers","description":"Create or change .NET assembly attributes in C# and JScript source code.","archived":false,"fork":false,"pushed_at":"2020-10-10T09:34:21.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T23:54:40.506Z","etag":null,"topics":["csharp","dotnet","dotnet-assembly","jscript","nodejs"],"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/vweevers.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}},"created_at":"2017-06-05T19:51:23.000Z","updated_at":"2024-06-27T09:29:39.000Z","dependencies_parsed_at":"2022-09-14T08:50:31.586Z","dependency_job_id":null,"html_url":"https://github.com/vweevers/assembly-source","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vweevers/assembly-source","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fassembly-source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fassembly-source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fassembly-source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fassembly-source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vweevers","download_url":"https://codeload.github.com/vweevers/assembly-source/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vweevers%2Fassembly-source/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265453045,"owners_count":23768064,"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":["csharp","dotnet","dotnet-assembly","jscript","nodejs"],"created_at":"2024-09-30T15:28:12.468Z","updated_at":"2025-07-15T19:08:41.574Z","avatar_url":"https://github.com/vweevers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assembly-source\n\n**Create or change .NET assembly attributes in C# and JScript source code.**\n\n[![npm status](http://img.shields.io/npm/v/assembly-source.svg)](https://www.npmjs.org/package/assembly-source)\n[![node](https://img.shields.io/node/v/assembly-source.svg)](https://www.npmjs.org/package/assembly-source)\n[![Travis build status](https://img.shields.io/travis/com/vweevers/assembly-source.svg)](http://travis-ci.com/vweevers/assembly-source)\n\n## Usage\n\n```js\nconst Assembly = require('assembly-source')\nconst fs = require('fs')\n\n// Construct from source code\nconst assembly = Assembly(fs.readFileSync('./AssemblyInfo.cs'))\n\n// Read attributes (strings, booleans and numbers)\nconsole.log(assembly.get('AssemblyVersion'))\n\n// Modify and add attributes\nassembly.set('AssemblyVersion', '1.2.3')\nassembly.set('ComVisible', true)\n\n// Then save\nfs.writeFileSync('./AssemblyInfo.cs', assembly.toSource())\n```\n\nOr create metadata from scratch for JScript:\n\n```js\nconst assembly = Assembly({ language: 'jscript' })\n\nassembly.set('AssemblyFileVersion', '1.2.3.4')\nassembly.set('AssemblyInformationalVersion', '1.2.3')\n\nconst js = assembly.toSource({ preamble: true })\n```\n\n## Install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install assembly-source\n```\n\n## License\n\n[MIT](LICENSE) © Vincent Weevers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvweevers%2Fassembly-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvweevers%2Fassembly-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvweevers%2Fassembly-source/lists"}