{"id":24915709,"url":"https://github.com/fd/fd-angular-meta","last_synced_at":"2025-03-28T06:29:23.782Z","repository":{"id":34085567,"uuid":"37908327","full_name":"fd/fd-angular-meta","owner":"fd","description":null,"archived":false,"fork":false,"pushed_at":"2016-08-29T08:48:46.000Z","size":960,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-05T14:47:06.938Z","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/fd.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-06-23T09:01:24.000Z","updated_at":"2016-03-14T09:27:31.000Z","dependencies_parsed_at":"2022-07-18T01:10:55.559Z","dependency_job_id":null,"html_url":"https://github.com/fd/fd-angular-meta","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd%2Ffd-angular-meta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd%2Ffd-angular-meta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd%2Ffd-angular-meta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd%2Ffd-angular-meta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fd","download_url":"https://codeload.github.com/fd/fd-angular-meta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245983656,"owners_count":20704786,"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":"2025-02-02T07:19:07.149Z","updated_at":"2025-03-28T06:29:23.755Z","avatar_url":"https://github.com/fd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `fd-angular-meta`\n\n[![Build Status](https://travis-ci.org/fd/fd-angular-meta.svg?branch=master)](https://travis-ci.org/fd/fd-angular-meta)\n\n## Getting started\n\n```js\nimport {bootstrap, State, Inject} from 'npm:fd-angular-core';\nimport {Meta} 'npm:fd-angular-meta';\n\n@State({\n  template: `\u003cp\u003e{{ app.message }}\u003c/p\u003e`\n})\nclass AppController {\n\n  constructor() {\n    this.message = \"Hello world!\";\n  }\n\n  @Meta\n  @Inject('$location')\n  pushMeta($location) {\n    return {\n      url: $location.url(),\n      description: this.message\n    };\n  }\n\n}\n\nbootstrap(AppController); // =\u003e Promise\n```\n\n\n```html\n\u003chead fd-meta\u003e\n  \u003c!-- title will be replaced by fd-meta --\u003e\n  \u003ctitle\u003eMy Website\u003c/title\u003e\n\u003c/head\u003e\n```\n\n\n## Options\n\n* **url** The cannonical url to the current page (defaults to `$location.absUrl()`)\n* **image** Link to an image\n* **title** Title of the current page.\n* **author** Author of the current page.\n* **publisher** Publisher of the current page.\n* **copyright** Copyright holder of the current page.\n* **description** Description of the current page.\n* **siteName** Name of the website\n* **type** og:type (defaults to `\"website\"`)\n* **twitterHandle** for the the twitter card.\n* **status** of the current page (default to `200`)\n* **distribution** of the current page (default to `global`)\n* **revisit-after** of the current page (default to `7` days)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd%2Ffd-angular-meta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffd%2Ffd-angular-meta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd%2Ffd-angular-meta/lists"}