{"id":16152779,"url":"https://github.com/augbog/twitter-card","last_synced_at":"2025-03-18T19:31:31.755Z","repository":{"id":25930597,"uuid":"29371895","full_name":"augbog/twitter-card","owner":"augbog","description":"Simple module that appends the proper meta tags for your own custom twitter card","archived":false,"fork":false,"pushed_at":"2015-01-17T00:05:54.000Z","size":204,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T11:50:14.755Z","etag":null,"topics":[],"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/augbog.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-01-16T23:04:46.000Z","updated_at":"2019-12-17T01:55:18.000Z","dependencies_parsed_at":"2022-09-11T04:10:20.524Z","dependency_job_id":null,"html_url":"https://github.com/augbog/twitter-card","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/augbog%2Ftwitter-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Ftwitter-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Ftwitter-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augbog%2Ftwitter-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augbog","download_url":"https://codeload.github.com/augbog/twitter-card/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945561,"owners_count":20372897,"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":[],"created_at":"2024-10-10T01:09:03.262Z","updated_at":"2025-03-18T19:31:31.499Z","avatar_url":"https://github.com/augbog.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Card\nSimple module that appends the proper meta tags for your own custom twitter card\n\n# Install\n    npm install twitter-card --save-dev\n\n# Usage\n\n    var twitterCard = require('twitter-card.js');\n    twitterCard({\n       \"type\" : \"summary|summary-large|photo|image|gallery|player\",\n       \"url\"  : \"https://www.evernote.com\"\n       \"handle\" : \"@evernote\",\n       \"creator\": \"@augburto\",\n       \"title\" : \"Tweet Title\",\n       \"description\" : \"Description included in tweet\"\n       \"content\" : {\n            \"gallery\" : {\n                \"images\" : [\"https://www.image.com/1/\"] // up to 4 images\n            },\n            \"player\"  : {\n                \"embed\"  : \"https://www.youtube.com/embed/xtG-JbiH-Gc\",\n                \"image\"  : \"https://i.ytimg.com/vi/xtG-JbiH-Gc/mqdefault.jpg\",\n                \"width\"  :  350,\n                \"height\" :  196\n            }\n        }\n    });\n\n# Notes\n* Currently `app` is not supported but hoping to add this soon\n* Working on adding support to directly validate twitter-card\n* Hoping to remove jQuery as a dependency\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugbog%2Ftwitter-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugbog%2Ftwitter-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugbog%2Ftwitter-card/lists"}