{"id":18685798,"url":"https://github.com/grapesjs/parser-postcss","last_synced_at":"2026-02-25T16:04:26.848Z","repository":{"id":33011059,"uuid":"149667560","full_name":"GrapesJS/parser-postcss","owner":"GrapesJS","description":"Custom CSS parser for GrapesJS by using PostCSS","archived":false,"fork":false,"pushed_at":"2023-10-07T14:00:45.000Z","size":823,"stargazers_count":30,"open_issues_count":4,"forks_count":24,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-16T02:12:03.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrapesJS.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-09-20T20:36:05.000Z","updated_at":"2024-11-06T03:28:02.000Z","dependencies_parsed_at":"2024-01-29T19:30:38.585Z","dependency_job_id":"5de58d24-3397-4e1e-a953-2498f891fb07","html_url":"https://github.com/GrapesJS/parser-postcss","commit_stats":{"total_commits":34,"total_committers":3,"mean_commits":"11.333333333333334","dds":"0.23529411764705888","last_synced_commit":"e63a162846a15de24bc8c11a5a61c4cf202d3192"},"previous_names":["artf/grapesjs-parser-postcss"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fparser-postcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fparser-postcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fparser-postcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrapesJS%2Fparser-postcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrapesJS","download_url":"https://codeload.github.com/GrapesJS/parser-postcss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230520394,"owners_count":18238948,"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-07T10:24:18.618Z","updated_at":"2025-10-17T04:45:15.583Z","avatar_url":"https://github.com/GrapesJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrapesJS Parser PostCSS\n\nThis plugin enables custom CSS parser via [PostCSS](https://github.com/postcss/postcss). If you import templates from HTML/CSS or embed custom codes (eg. by using [grapesjs-custom-code](https://github.com/GrapesJS/components-custom-code) plugin) you definitely need to use this one to avoid issues with styles, [check here why](http://grapesjs.com/docs/guides/Custom-CSS-parser.html#cssom-results-are-inconsistent).\n\n\u003e Requires GrapesJS v0.14.33 or higher\n\n\n\n\n\n## Summary\n\n* Plugin name: `grapesjs-parser-postcss`\n\n\n\n\n\n## Options\n\nThis plugin has no options\n\n\n\n\n\n## Download\n\n* CDN\n  * `https://unpkg.com/grapesjs-parser-postcss`\n* NPM\n  * `npm i grapesjs-parser-postcss`\n* GIT\n  * `git clone https://github.com/GrapesJS/parser-postcss.git`\n\n\n\n\n\n## Usage\n\nDirectly in the browser\n```html\n\u003clink href=\"https://unpkg.com/grapesjs/dist/css/grapes.min.css\" rel=\"stylesheet\"/\u003e\n\u003cscript src=\"https://unpkg.com/grapesjs\"\u003e\u003c/script\u003e\n\u003cscript src=\"path/to/grapesjs-parser-postcss.min.js\"\u003e\u003c/script\u003e\n\n\u003cdiv id=\"gjs\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\"\u003e\n  var editor = grapesjs.init({\n      container : '#gjs',\n      // ...\n      plugins: ['grapesjs-parser-postcss'],\n  });\n\u003c/script\u003e\n```\n\nModern javascript\n```js\nimport grapesjs from 'grapesjs';\nimport parserPostCSS from 'grapesjs-parser-postcss';\n\nconst editor = grapesjs.init({\n  container : '#gjs',\n  // ...\n  plugins: [parserPostCSS],\n});\n```\n\n\n\n\n\n## Development\n\nClone the repository\n\n```sh\n$ git clone https://github.com/GrapesJS/parser-postcss.git\n$ cd grapesjs-parser-postcss\n```\n\nInstall dependencies\n\n```sh\n$ npm i\n```\n\nStart the dev server\n\n```sh\n$ npm start\n```\n\n\n\n\n\n## License\n\nBSD 3-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrapesjs%2Fparser-postcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrapesjs%2Fparser-postcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrapesjs%2Fparser-postcss/lists"}