{"id":19560665,"url":"https://github.com/zoubin/tocify","last_synced_at":"2025-08-03T17:33:13.602Z","repository":{"id":57377512,"uuid":"145228787","full_name":"zoubin/tocify","owner":"zoubin","description":"Build table of contents from markdown directory structure","archived":false,"fork":false,"pushed_at":"2018-08-18T18:39:46.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T03:08:50.636Z","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/zoubin.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":"2018-08-18T14:56:04.000Z","updated_at":"2018-08-18T18:39:48.000Z","dependencies_parsed_at":"2022-09-09T13:00:25.354Z","dependency_job_id":null,"html_url":"https://github.com/zoubin/tocify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zoubin/tocify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Ftocify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Ftocify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Ftocify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Ftocify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoubin","download_url":"https://codeload.github.com/zoubin/tocify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoubin%2Ftocify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265485325,"owners_count":23774469,"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-11-11T05:08:26.173Z","updated_at":"2025-07-16T05:40:57.701Z","avatar_url":"https://github.com/zoubin.png","language":"JavaScript","readme":"# tocify\nBuild a TOC for markdown files, meant to work with github pages (built with jekyll).\n\n## Install\n\n`npm install --save-dev tocify`\n\n## Usage\n\nIn `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"toc\": \"tocify docs \u003e README.md\"\n  }\n}\n\n```\n\nThen `README.md` would be the index page with navigation links (toc) to pages built from markdown files in the directory `docs`.\n\n## Options\n\n```\n  Usage: tocify [options]\n\n  Options:\n\n    -V, --version                   output the version number\n    -d, --toc-dir                   directory where the toc file is meant to host\n    -e, --ext \u003cextname\u003e             extname of markdown files (default: .md)\n    -m, --max-level \u003clevel\u003e         max level of header should be rendered (default: 2)\n    -s, --word-splitter \u003csplitter\u003e  word splitters in path (default: _)\n    -h, --help                      output usage information\n\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoubin%2Ftocify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoubin%2Ftocify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoubin%2Ftocify/lists"}