{"id":21463211,"url":"https://github.com/egg-/ogp-meta","last_synced_at":"2025-07-15T03:31:27.473Z","repository":{"id":57313808,"uuid":"39000315","full_name":"egg-/ogp-meta","owner":"egg-","description":"Generate open graph meta tags.","archived":false,"fork":false,"pushed_at":"2016-04-20T07:46:11.000Z","size":11,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-19T19:24:14.963Z","etag":null,"topics":["generator","meta","ogp-meta","opengraph","opengraph-tags"],"latest_commit_sha":null,"homepage":null,"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/egg-.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":"2015-07-13T08:28:39.000Z","updated_at":"2023-05-25T13:39:35.000Z","dependencies_parsed_at":"2022-09-20T23:21:35.161Z","dependency_job_id":null,"html_url":"https://github.com/egg-/ogp-meta","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egg-%2Fogp-meta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egg-%2Fogp-meta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egg-%2Fogp-meta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egg-%2Fogp-meta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egg-","download_url":"https://codeload.github.com/egg-/ogp-meta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226013399,"owners_count":17559867,"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":["generator","meta","ogp-meta","opengraph","opengraph-tags"],"created_at":"2024-11-23T07:19:54.009Z","updated_at":"2024-11-23T07:19:56.738Z","avatar_url":"https://github.com/egg-.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ogp-meta\n\n[![version](https://img.shields.io/npm/v/ogp-meta.svg) ![download](https://img.shields.io/npm/dm/ogp-meta.svg)](https://www.npmjs.com/package/ogp-meta)\n\nGenerate open graph meta tags.\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\n## Usage\n\n```javascript\nvar OpenGraph = require('../')\n\nvar ogp = new OpenGraph()\n\nogp.title('title')\nogp.type('website')\nogp.description('description')\nogp.site_name('site_name')\nogp.url('http://ogp-meta.npm')\nogp.image('http://image url')\n// reset\nogp.image(null)\nogp.image({\n  url: 'http://image url',\n  width: 400,\n  height: 400\n})\nogp.video('http://video url')\n// reset\nogp.video(null)\nogp.video({\n  url: 'http://video url',\n  width: 1024,\n  height: 720\n})\nogp.app({\n  url: 'example://app',\n  app_store_id: 'app_store_id',\n  app_name: 'app_name'\n}, 'ios')\nogp.app({\n  url: 'example://app',\n  package: 'com.ogp-meta.app',\n  app_name: 'app_name'\n}, 'android')\n\nconsole.log(ogp.toHTML())\n```\n\n\n## LICENSE\n\nogp-meta is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegg-%2Fogp-meta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegg-%2Fogp-meta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegg-%2Fogp-meta/lists"}