{"id":13447035,"url":"https://github.com/bjarneo/cessie","last_synced_at":"2025-04-25T07:33:06.331Z","repository":{"id":34899959,"uuid":"188169561","full_name":"bjarneo/cessie","owner":"bjarneo","description":"Transpile your CSS bundle to support CSS variables, calc, and future CSS for legacy browsers.","archived":false,"fork":false,"pushed_at":"2023-02-28T19:30:21.000Z","size":682,"stargazers_count":80,"open_issues_count":10,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-28T11:45:16.385Z","etag":null,"topics":["css","ie11","less","postcss","preprocessor","sass","scss","transpiler"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cessie","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/bjarneo.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}},"created_at":"2019-05-23T05:50:22.000Z","updated_at":"2023-08-28T07:08:10.000Z","dependencies_parsed_at":"2024-01-08T07:57:11.558Z","dependency_job_id":"af44128b-b863-45d1-984e-86ba8555e060","html_url":"https://github.com/bjarneo/cessie","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fcessie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fcessie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fcessie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fcessie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjarneo","download_url":"https://codeload.github.com/bjarneo/cessie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223989815,"owners_count":17237158,"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":["css","ie11","less","postcss","preprocessor","sass","scss","transpiler"],"created_at":"2024-07-31T05:01:06.499Z","updated_at":"2024-11-10T17:37:02.660Z","avatar_url":"https://github.com/bjarneo.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/bjarneo/cessie\"\u003e\n    \u003cimg src=\"https://github.com/bjarneo/cessie/blob/master/logo.png?raw=true\" alt=\"cessie logo\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ecessie\u003c/h1\u003e\n\n\u003cblockquote align=\"center\"\u003eTranspile your CSS bundle to support CSS variables, calc, and future CSS for legacy browsers.\u003c/blockquote\u003e\n\n## Features\n\n- Uses PostCSS behind the scenes.\n- Transpiles future CSS by using `postcss-preset-env`.\n- Transpiles CSS variables and calc by using `postcss-custom-properties`, and `postcss-calc`.\n- Can be used for all CSS bundles.\n- Can transpile SCSS, SASS, and LESS.\n- Can minify the output if not already minified.\n- Watch mode.\n- Source map.\n\n\n## Case\n\nExample usage of this CLI would be cases where you don't have the power, or will to edit/write postcss/webpack config for your application. One of those examples are Create React App.\n\nCreate React App:\n```\n$ npm run build\n$ cat build/static/css/*.chunk.css \u003e\u003e bundle.css\n$ cessie bundle.css -o ie11.css\n```\n\n\n## Install\n\n```\n$ npm i -g cessie\n// Or use npx\n$ npx cessie\n```\n\n\n## Usage\n\n```\n$ cessie inputFile.css -o ie11.css\n```\n\n```\n    Usage\n      $ cessie \u003cinput\u003e -o filename.css\n\n    Options\n      --out-file,    -o Name of the out file\n      --minify,      -m Minify css. Defaults to true.\n      --watch,       -w Watch for file changes. Defaults to false.\n      --source-map,  -s Generate source map. Defaults to true.\n      --import-from, -i Import CSS variables from file (https://github.com/postcss/postcss-custom-properties#importfrom)\n      --export-to,   -e Export CSS variables to file (https://github.com/postcss/postcss-custom-properties#exportto)\n\n    Examples\n      $ cessie bundle.css -o ie11.css\n```\n\n\n## Examples\n```\n// css/sass/less file\n:root {\n  --color: white;\n  --padding: 10px;\n}\n\ndiv {\n  color: var(--color);\n  padding: calc(var(--padding) * 2);\n}\n\n// Run cessie with no minify\n$ cessie my.css -o output.css -m false\n\n// output.css\ndiv {\n  color: white;\n  padding: 20px;\n}\n```\n\nSee more [examples](https://github.com/bjarneo/cessie/blob/master/EXAMPLES.md)\n\n\n## Want features?\n\nPlease write an issue.\n\n\n## License\n\nMIT © [Bjarne Øverli](https://oeverli.win)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjarneo%2Fcessie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjarneo%2Fcessie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjarneo%2Fcessie/lists"}