{"id":16229016,"url":"https://github.com/doughtnerd/pug-stringifier","last_synced_at":"2025-09-20T22:22:26.217Z","repository":{"id":57109490,"uuid":"98689575","full_name":"doughtnerd/pug-stringifier","owner":"doughtnerd","description":"Converts a Pug template into an HTML string using ES6 Promises","archived":false,"fork":false,"pushed_at":"2017-07-28T21:41:14.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T19:25:56.363Z","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/doughtnerd.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":"2017-07-28T21:28:18.000Z","updated_at":"2017-07-28T21:38:15.000Z","dependencies_parsed_at":"2022-08-21T05:30:25.919Z","dependency_job_id":null,"html_url":"https://github.com/doughtnerd/pug-stringifier","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/doughtnerd/pug-stringifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doughtnerd%2Fpug-stringifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doughtnerd%2Fpug-stringifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doughtnerd%2Fpug-stringifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doughtnerd%2Fpug-stringifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doughtnerd","download_url":"https://codeload.github.com/doughtnerd/pug-stringifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doughtnerd%2Fpug-stringifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276168214,"owners_count":25596782,"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-20T02:00:10.207Z","response_time":63,"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":[],"created_at":"2024-10-10T12:57:07.415Z","updated_at":"2025-09-20T22:22:26.195Z","avatar_url":"https://github.com/doughtnerd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/doughtnerd/pug-stringifier.svg?branch=master)](https://travis-ci.org/doughtnerd/pug-stringifier)\n[![Coverage Status](https://coveralls.io/repos/github/doughtnerd/pug-stringifier/badge.svg?branch=master)](https://coveralls.io/github/doughtnerd/pug-stringifier?branch=master)\n\n\nPug Stringifier\n=========\n\nA small library that converts a Pug template into an HTML string using ES6 promises.\n\n## Installation\n\n  `npm install @doughtnerd/pug-stringifier`\n\n## Usage\n\n    var stringifier = require('@doughtnerd/pug-stringifier');\n    \n    stringifier.stringify('absolute/path/to/template', {exampleContext: ['a', 'b', 'c']}).then((html) =\u003e{\n        // Do whatever with the html string that was compiled from the template.\n    }).catch((err) =\u003e {\n        // Do whatever with the error.\n    });\n  \n## Tests\n\n  `npm test` or\n  `npm run cover`\n\n## Contributing\n\nIn lieu of a formal style guide, take care to maintain the existing coding style. \nAdd unit tests for any new or changed functionality. Lint and test your code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoughtnerd%2Fpug-stringifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoughtnerd%2Fpug-stringifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoughtnerd%2Fpug-stringifier/lists"}