{"id":15503276,"url":"https://github.com/johno/prettify-html","last_synced_at":"2025-04-22T23:42:57.611Z","repository":{"id":57330098,"uuid":"79166064","full_name":"johno/prettify-html","owner":"johno","description":"[WIP] Prettify your html","archived":false,"fork":false,"pushed_at":"2022-09-24T21:18:48.000Z","size":15,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-13T20:02:47.733Z","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/johno.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-01-16T22:38:48.000Z","updated_at":"2019-03-17T06:45:53.000Z","dependencies_parsed_at":"2022-08-29T05:10:20.313Z","dependency_job_id":null,"html_url":"https://github.com/johno/prettify-html","commit_stats":null,"previous_names":["johnotander/prettify-html"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fprettify-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fprettify-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fprettify-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fprettify-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/prettify-html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343752,"owners_count":21415035,"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-10-02T09:12:41.584Z","updated_at":"2025-04-22T23:42:57.582Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prettify-html [![Build Status](https://secure.travis-ci.org/johnotander/prettify-html.svg?branch=master)](https://travis-ci.org/johnotander/prettify-html) [![NPM Package](https://img.shields.io/npm/v/prettify-html.svg?style=flat)](https://www.npmjs.com/package/prettify-html) [![NPM Downloads](https://img.shields.io/npm/dt/prettify-html.svg?style=flat)](https://www.npmjs.com/package/prettify-html) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n\n__Work in progress__\n\nPrettify your html.\n\n## Installation\n\n```bash\nnpm install --save prettify-html\n```\nor\n```bash\nyarn add prettify-html\n```\n\n## Usage\n\n```javascript\nvar prettifyHtml = require('prettify-html')\n\nvar html = '\u003cdiv\u003emy \u003ca href=\"link\"\u003enested\u003c/a\u003e html\u003c/div\u003e'\nvar prettified = prettifyHtml(html)\n\n/* output:\n\u003cdiv\u003e\n  my\n  \u003ca href=\"link\"\u003enested\u003c/a\u003e\n  html\n\u003c/div\u003e\n*/\n```\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n**Contributors:**\n - [Troy Alford](https://github.com/TroyAlford)\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fprettify-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fprettify-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fprettify-html/lists"}