{"id":21043365,"url":"https://github.com/crystallizeapi/crystallize-content-transformer","last_synced_at":"2025-07-30T11:07:24.571Z","repository":{"id":32492370,"uuid":"134551166","full_name":"CrystallizeAPI/crystallize-content-transformer","owner":"CrystallizeAPI","description":"Validation and parsing for CCC","archived":false,"fork":false,"pushed_at":"2023-03-04T03:48:52.000Z","size":1379,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-07T23:33:14.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/CrystallizeAPI.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,"governance":null}},"created_at":"2018-05-23T10:09:48.000Z","updated_at":"2022-06-12T02:24:23.000Z","dependencies_parsed_at":"2023-07-17T00:26:03.377Z","dependency_job_id":null,"html_url":"https://github.com/CrystallizeAPI/crystallize-content-transformer","commit_stats":{"total_commits":163,"total_committers":6,"mean_commits":"27.166666666666668","dds":"0.13496932515337423","last_synced_commit":"67f5ecaa29b68a454885ea003861c596645f757b"},"previous_names":["crystallizeapi/crystallize-content-chunk"],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/CrystallizeAPI/crystallize-content-transformer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-content-transformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-content-transformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-content-transformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-content-transformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrystallizeAPI","download_url":"https://codeload.github.com/CrystallizeAPI/crystallize-content-transformer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrystallizeAPI%2Fcrystallize-content-transformer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858078,"owners_count":24155916,"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-07-30T02:00:09.044Z","response_time":70,"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-11-19T14:12:35.409Z","updated_at":"2025-07-30T11:07:24.537Z","avatar_url":"https://github.com/CrystallizeAPI.png","language":"JavaScript","readme":"![alt text](https://raw.githubusercontent.com/CrystallizeAPI/crystallize-content-transformer/HEAD/media/logo.png 'Pie with slice')\n\n# Crystallize Content Transformer\n\nValidation, parsing and transforming for [Crystallize Content](https://crystallize.com/developers/react-components/crystallize-content-transformer). Makes it easy to build React Commerce solutions with [Product Information Management](https://crystallize.com/product/product-information-management) powered by [Crystallize](https://crystallize.com) that enable [Fast Ecommerce API](https://crystallize.com/product/graphql-commerce-api).\n\n## Install\n\n```\nyarn add @crystallize/content-transformer\n```\n\n## Validate\n\n```\nimport validator from '@crystallize/content-transformer';\n\nconst isValid = validator.isModelValid(myModel);\nconst validationDetails = validator.isModelValidVerbose(myModel);\n```\n\n## toHTML\n\n```\nimport toHTML from '@crystallize/content-transformer/toHTML';\n\ntoHtml(contentModel);\n```\n\n## toText\n\n```\nimport toText from '@crystallize/content-transformer/toText';\n\ntoText(contentModel);\n```\n\n## React\n\nSee [@crystallize/react-content-transformer](https://www.npmjs.com/package/@crystallize/react-content-transformer)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystallizeapi%2Fcrystallize-content-transformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrystallizeapi%2Fcrystallize-content-transformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystallizeapi%2Fcrystallize-content-transformer/lists"}