{"id":30883341,"url":"https://github.com/globocom/megadraft-related-articles-plugin","last_synced_at":"2025-09-08T09:44:51.603Z","repository":{"id":9476001,"uuid":"62244171","full_name":"globocom/megadraft-related-articles-plugin","owner":"globocom","description":"Related articles plugin for Megadraft text editor","archived":false,"fork":false,"pushed_at":"2023-01-27T04:51:50.000Z","size":1690,"stargazers_count":10,"open_issues_count":11,"forks_count":2,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-04-06T08:36:38.581Z","etag":null,"topics":["draft-js","javascript","megadraft","megadraft-plugin","react","reactjs"],"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/globocom.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":"2016-06-29T17:18:58.000Z","updated_at":"2022-01-17T13:20:15.000Z","dependencies_parsed_at":"2023-02-15T05:46:39.770Z","dependency_job_id":null,"html_url":"https://github.com/globocom/megadraft-related-articles-plugin","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/globocom/megadraft-related-articles-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fmegadraft-related-articles-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fmegadraft-related-articles-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fmegadraft-related-articles-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fmegadraft-related-articles-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globocom","download_url":"https://codeload.github.com/globocom/megadraft-related-articles-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fmegadraft-related-articles-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274166944,"owners_count":25233959,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["draft-js","javascript","megadraft","megadraft-plugin","react","reactjs"],"created_at":"2025-09-08T09:44:49.474Z","updated_at":"2025-09-08T09:44:51.590Z","avatar_url":"https://github.com/globocom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Related Articles Plugin - Megadraft Plugin\n\n## Usage\n\nInclude the plugin in the `plugins` prop of your `Megadraft` instance.\n\n```js\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport {MegadraftEditor} from \"megadraft\";\n\nimport plugin from \"related-articles-plugin\";\n\nclass Example extends React.Component {\n  render(){\n    return (\n      \u003cMegadraftEditor plugins={[plugin]} /\u003e\n    );\n  }\n}\n\nReactDOM.render(\u003cExample /\u003e, document.getElementById(\"container\"));\n```\n\n## Contributing\n\nInstall, run, test.\n\n```\n# Install npm dependencies\nmake setup\n# Gulp dev-server task with webpack + sass running on http://localhost:8080/\nmake run\n# Run mocha tests + eslint\nmake test\n```\n\nIf you're constantly running tests, there's a faster alternative using mocha's\nwatch feature:\n\n```\nmake watch_unit\n```\n\n## Releasing\n\nThere's a `prepublish` script entry on `package.json` that runs build tasks\nbefore publishing the package.\n\n```\nnpm publish\n```\n\n\n## Third Party\n\nThe sample plugin uses the extension icon from https://design.google.com/icons/\nunder [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fmegadraft-related-articles-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobocom%2Fmegadraft-related-articles-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fmegadraft-related-articles-plugin/lists"}