{"id":15771823,"url":"https://github.com/unisharp/pug-inheritance","last_synced_at":"2025-03-14T01:30:59.393Z","repository":{"id":66292767,"uuid":"75489926","full_name":"UniSharp/pug-inheritance","owner":"UniSharp","description":"Get files which include or extend the given Pug file.","archived":false,"fork":false,"pushed_at":"2017-06-27T02:51:03.000Z","size":12,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-11T15:13:27.673Z","etag":null,"topics":["pug","pug-inheritance"],"latest_commit_sha":null,"homepage":"","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/UniSharp.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,"governance":null}},"created_at":"2016-12-03T17:42:38.000Z","updated_at":"2023-03-29T06:59:05.000Z","dependencies_parsed_at":"2023-02-21T21:45:14.301Z","dependency_job_id":null,"html_url":"https://github.com/UniSharp/pug-inheritance","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniSharp%2Fpug-inheritance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniSharp%2Fpug-inheritance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniSharp%2Fpug-inheritance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniSharp%2Fpug-inheritance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniSharp","download_url":"https://codeload.github.com/UniSharp/pug-inheritance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221428290,"owners_count":16819144,"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":["pug","pug-inheritance"],"created_at":"2024-10-04T15:05:19.433Z","updated_at":"2024-10-25T13:20:41.231Z","avatar_url":"https://github.com/UniSharp.png","language":"JavaScript","readme":"# Pug Inheritance - Another Implementation by UniSharp\n\n[![Build Status](https://travis-ci.org/UniSharp/pug-inheritance.svg?branch=master)](https://travis-ci.org/UniSharp/pug-inheritance)\n\nGet files which include or extend the given [Pug](https://github.com/pugjs/pug) file.\n\n## Installation\n\n### Via npm\n\n```bash\nnpm install @unisharp/pug-inheritance --save\n```\n\n### Via yarn\n\n```bash\nyarn add @unisharp/pug-inheritance\n```\n\n## Usage\n\n```javascript\nconst PugInheritance = require('@unisharp/pug-inheritance');\n\nlet pugInheritance = new PugInheritance('resources/pug/**/*.pug');\n```\n\n### Inheritance files\n\n```javascript\nconsole.log(pugInheritance.getInheritance('resources/pug/layout/app.pug'));\n```\n\n#### Output\n\n```\n[\n    'resources/pug/layout/app.pug',\n    'resources/pug/index.pug',\n    'resources/pug/page.pug'\n]\n```\n\n## Integration with [gulp-pug](https://github.com/pugjs/gulp-pug)\n\nSee [@unisharp/gulp-pug-inheritance](https://github.com/UniSharp/gulp-pug-inheritance).\n\n## License\n\n[MIT](https://unisharp.mit-license.org/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funisharp%2Fpug-inheritance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funisharp%2Fpug-inheritance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funisharp%2Fpug-inheritance/lists"}