{"id":47188151,"url":"https://github.com/douglasgusson/google-merchant-feed","last_synced_at":"2026-03-13T10:10:12.213Z","repository":{"id":200058758,"uuid":"703733579","full_name":"douglasgusson/google-merchant-feed","owner":"douglasgusson","description":"A simple library to generate Google Merchant XML Feed","archived":false,"fork":false,"pushed_at":"2026-01-28T09:59:17.000Z","size":61,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-28T11:06:35.026Z","etag":null,"topics":["feed","generator","google-merchant","xml"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/google-merchant-feed","language":"TypeScript","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/douglasgusson.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-11T20:01:22.000Z","updated_at":"2026-01-28T09:59:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"93967fc7-5b87-4819-95db-9582b64774f6","html_url":"https://github.com/douglasgusson/google-merchant-feed","commit_stats":null,"previous_names":["douglasgusson/google-merchant-feed"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/douglasgusson/google-merchant-feed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasgusson%2Fgoogle-merchant-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasgusson%2Fgoogle-merchant-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasgusson%2Fgoogle-merchant-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasgusson%2Fgoogle-merchant-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglasgusson","download_url":"https://codeload.github.com/douglasgusson/google-merchant-feed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasgusson%2Fgoogle-merchant-feed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30465025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["feed","generator","google-merchant","xml"],"created_at":"2026-03-13T10:10:08.985Z","updated_at":"2026-03-13T10:10:12.190Z","avatar_url":"https://github.com/douglasgusson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Merchant Feed 🛍️\n\nA simple library to generate Google Merchant XML Feed\n\n[![npm version](https://badge.fury.io/js/google-merchant-feed.svg)](https://badge.fury.io/js/google-merchant-feed)\n![Build status](https://github.com/douglasgusson/google-merchant-feed/actions/workflows/ci.yml/badge.svg)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![NPM Downloads](https://badgen.net/npm/dm/google-merchant-feed)](https://www.npmjs.com/package/google-merchant-feed)\n\n## Installation\n\n```bash\nnpm install google-merchant-feed\n```\n\n## Usage\n\n```typescript\nimport { FeedBuilder } from \"google-merchant-feed\";\n\nconst feedBuilder = new FeedBuilder();\n\nfeedBuilder.withTitle(\"Test Store\");\nfeedBuilder.withLink(\"https://example.com\");\nfeedBuilder.withDescription(\"An example item from the feed\");\n\nfeedBuilder.withProduct({\n  id: \"DB_1\",\n  title: \"Dog Bowl In Blue\",\n  description: \"Solid plastic Dog Bowl in marine blue color\",\n  link: \"http://www.example.com/bowls/db-1.html\",\n  imageLink: \"http://images.example.com/DB_1.png\",\n  availability: \"in_stock\",\n  price: {\n    currency: \"GBP\",\n    value: 9.99,\n  },\n  shipping: {\n    country: \"UK\",\n    service: \"Standard\",\n    price: {\n      currency: \"GBP\",\n      value: 4.95,\n    },\n  },\n  googleProductCategory: \"Animals \u003e Pet Supplies\",\n  customLabels: [\"Made in Waterford, IE\"],\n  // Other fields\n});\n\n// More products\nfeedBuilder.withProduct({\n  // ...\n});\n\nconst xml = feedBuilder.buildXml();\n\nconsole.log(xml);\n```\n\n### Example\n\nXML generated by the code above:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003crss xmlns:g=\"http://base.google.com/ns/1.0\" version=\"2.0\"\u003e\n  \u003cchannel\u003e\n    \u003ctitle\u003eTest Store\u003c/title\u003e\n    \u003clink\u003ehttps://example.com\u003c/link\u003e\n    \u003cdescription\u003eAn example item from the feed\u003c/description\u003e\n    \u003citem\u003e\n      \u003cg:id\u003eDB_1\u003c/g:id\u003e\n      \u003cg:title\u003eDog Bowl In Blue\u003c/g:title\u003e\n      \u003cg:description\u003eSolid plastic Dog Bowl in marine blue color\u003c/g:description\u003e\n      \u003cg:link\u003ehttp://www.example.com/bowls/db-1.html\u003c/g:link\u003e\n      \u003cg:image_link\u003ehttp://images.example.com/DB_1.png\u003c/g:image_link\u003e\n      \u003cg:availability\u003ein_stock\u003c/g:availability\u003e\n      \u003cg:price\u003e9.99 GBP\u003c/g:price\u003e\n      \u003cg:google_product_category\u003eAnimals \u0026gt; Pet Supplies\u003c/g:google_product_category\u003e\n      \u003cg:custom_label_0\u003eMade in Waterford, IE\u003c/g:custom_label_0\u003e\n      \u003cg:shipping\u003e\n        \u003cg:country\u003eUK\u003c/g:country\u003e\n        \u003cg:service\u003eStandard\u003c/g:service\u003e\n        \u003cg:price\u003e4.95 GBP\u003c/g:price\u003e\n      \u003c/g:shipping\u003e\n    \u003c/item\u003e\n  \u003c/channel\u003e\n\u003c/rss\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasgusson%2Fgoogle-merchant-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglasgusson%2Fgoogle-merchant-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasgusson%2Fgoogle-merchant-feed/lists"}