{"id":15800846,"url":"https://github.com/greybax/md-content","last_synced_at":"2026-01-20T04:32:05.145Z","repository":{"id":57293189,"uuid":"59392566","full_name":"greybax/md-content","owner":"greybax","description":"get content from markdown article","archived":false,"fork":false,"pushed_at":"2019-04-19T00:51:28.000Z","size":35,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T04:41:22.948Z","etag":null,"topics":["content","helper","js","markdown","markdown-article","md-article"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greybax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-22T03:14:02.000Z","updated_at":"2022-05-26T21:57:29.000Z","dependencies_parsed_at":"2022-08-27T16:50:45.177Z","dependency_job_id":null,"html_url":"https://github.com/greybax/md-content","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/greybax/md-content","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fmd-content","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fmd-content/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fmd-content/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fmd-content/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greybax","download_url":"https://codeload.github.com/greybax/md-content/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greybax%2Fmd-content/sbom","scorecard":{"id":445349,"data":{"date":"2025-08-18","repo":{"name":"github.com/greybax/md-content","commit":"ae531b347feae0ef529a6c930d09fa8901b3da66"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T06:35:12.805Z","repository_id":57293189,"created_at":"2025-08-19T06:35:12.805Z","updated_at":"2025-08-19T06:35:12.805Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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":["content","helper","js","markdown","markdown-article","md-article"],"created_at":"2024-10-05T01:07:32.308Z","updated_at":"2026-01-20T04:32:05.090Z","avatar_url":"https://github.com/greybax.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# md-content\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/greybax/md-content.svg)](https://greenkeeper.io/)\n\n[![NPM version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Coveralls Status][coveralls-image]][coveralls-url]\n[![Dependency Status][depstat-image]][depstat-url]\n[![DevDependency Status][depstat-dev-image]][depstat-dev-url]\n\n\u003e get content from markdown article\n\n## Install\n\n    npm install --save md-content\n\n## Usage\n\n```js\nimport getContent from 'md-content';\n\nconst content_with_header_and_img = `\n# header\n_20 June 2016_\n\n#tag1 #tag #tag3;\n\n![alt](http://yo.io/)\n\ncontent1\n\ncontent2\n## header2`;\n\ngetContent(content_with_header_and_img).html\n// \u003cp\u003e\u003cimg src=\"http://yo.io/\" alt=\"alt\"\u003e\u003c/p\u003e\n// \u003cp\u003econtent1\u003c/p\u003e\n// \u003cp\u003econtent2\u003c/p\u003e\n// \u003ch2\u003eheader2\u003c/h2\u003e\n\ngetContent(content_with_header_and_img).text\n// \u003cimg src=\"http://yo.io/\" alt=\"alt\"\u003e\n// content1\n// content2\n// header2\n```\n\n## API\n\n### getContent(input)\n\n#### input\n\n*Required*  \nType: `String`\n\nMarkdown string.\n\n## Related\n\n* [md-article][md-article] - extract data from your markdown article\n    * [md-title][md-title] - get title from markdown article\n    * [md-date][md-date] - get date from markdown article\n    * [md-tags][md-tags] - get tags from markdown article\n\n## License\n\nMIT © [Aleksandr Filatov](https://alfilatov.com)\n\n[npm-url]: https://npmjs.org/package/md-content\n[npm-image]: https://img.shields.io/npm/v/md-content.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/greybax/md-content\n[travis-image]: https://img.shields.io/travis/greybax/md-content.svg?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/greybax/md-content\n[coveralls-image]: https://img.shields.io/coveralls/greybax/md-content.svg?style=flat-square\n\n[depstat-url]: https://david-dm.org/greybax/md-content\n[depstat-image]: https://david-dm.org/greybax/md-content.svg?style=flat-square\n\n[depstat-dev-url]: https://david-dm.org/greybax/md-content\n[depstat-dev-image]: https://david-dm.org/greybax/md-content/dev-status.svg?style=flat-square\n\n[md-article]: https://github.com/greybax/md-article\n[md-title]: https://github.com/greybax/md-title\n[md-date]: https://github.com/greybax/md-date\n[md-tags]: https://github.com/greybax/md-tags","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreybax%2Fmd-content","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreybax%2Fmd-content","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreybax%2Fmd-content/lists"}