{"id":18609701,"url":"https://github.com/unlight/remark-package-dependencies","last_synced_at":"2025-04-10T22:31:43.009Z","repository":{"id":57352998,"uuid":"217764673","full_name":"unlight/remark-package-dependencies","owner":"unlight","description":"Inject to markdown the list of dependencies of your package","archived":false,"fork":false,"pushed_at":"2021-05-12T17:56:21.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-23T01:47:53.919Z","etag":null,"topics":["dependencies","markdown","remark","remark-plugin"],"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/unlight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-10-26T20:20:09.000Z","updated_at":"2023-01-02T22:20:42.000Z","dependencies_parsed_at":"2022-09-16T08:20:23.562Z","dependency_job_id":null,"html_url":"https://github.com/unlight/remark-package-dependencies","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fremark-package-dependencies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fremark-package-dependencies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fremark-package-dependencies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unlight%2Fremark-package-dependencies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unlight","download_url":"https://codeload.github.com/unlight/remark-package-dependencies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223449848,"owners_count":17146984,"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":["dependencies","markdown","remark","remark-plugin"],"created_at":"2024-11-07T03:07:00.632Z","updated_at":"2024-11-07T03:07:01.041Z","avatar_url":"https://github.com/unlight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remark-package-dependencies\n\nInject to markdown the list of dependencies of your package\n\n## Install\n\n```sh\nnpm install --save-dev remark-package-dependencies\n```\n\n## Usage\n\n```js\nconst remark = require('remark');\nconst gfm = require('remark-gfm');\nconst remarkPackageDependencies = require('remark-package-dependencies');\nconst input = '## Dependencies';\nconst output = remark()\n    .use(gfm)\n    .use(remarkPackageDependencies, options)\n    .processSync(input)\n    .toString();\n```\n\nOutput:\n\n```\n## Dependencies\n\n| Name              | Description                                       | Version |   Size | License |\n| :---------------- | :------------------------------------------------ | :------ | -----: | :-----: |\n| bundle-phobia-cli | Cli for the node BundlePhobia Service             | 0.14.1  | 151.7k |   MIT   |\n| prettysize        | Convert bytes to other sizes for prettier logging | 2.0.0   |   592B |   BSD   |\n| unist-util-visit  | Recursively walk over unist nodes                 | 2.0.0   |   1.6k |   MIT   |\n```\n\n## Options\n\n```js\nconst defaultOptions = {\n    /**\n     * Content will be inserted after heading with this text value\n     */\n    heading: 'Dependencies',\n    /**\n     * Path to `package.json`\n     */\n    packagePath: 'package.json',\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fremark-package-dependencies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funlight%2Fremark-package-dependencies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funlight%2Fremark-package-dependencies/lists"}