{"id":13775199,"url":"https://github.com/lautis/rollup-plugin-coffee-script","last_synced_at":"2025-06-14T13:04:13.528Z","repository":{"id":45469281,"uuid":"48672901","full_name":"lautis/rollup-plugin-coffee-script","owner":"lautis","description":"Integration between Rollup and CoffeeScript.","archived":false,"fork":false,"pushed_at":"2019-06-19T16:20:02.000Z","size":23,"stargazers_count":23,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T23:49:24.657Z","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/lautis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-28T03:57:58.000Z","updated_at":"2024-10-03T14:00:55.000Z","dependencies_parsed_at":"2022-07-15T02:00:47.873Z","dependency_job_id":null,"html_url":"https://github.com/lautis/rollup-plugin-coffee-script","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frollup-plugin-coffee-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frollup-plugin-coffee-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frollup-plugin-coffee-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frollup-plugin-coffee-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lautis","download_url":"https://codeload.github.com/lautis/rollup-plugin-coffee-script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lautis%2Frollup-plugin-coffee-script/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259063393,"owners_count":22799711,"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-08-03T17:01:35.199Z","updated_at":"2025-06-14T13:04:13.483Z","avatar_url":"https://github.com/lautis.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Transpilation"],"readme":"# rollup-plugin-coffee-script\n[![Build Status](https://travis-ci.org/lautis/rollup-plugin-coffee-script.svg?branch=master)](https://travis-ci.org/lautis/rollup-plugin-coffee-script)\n\nIntegration between Rollup and CoffeeScript 2.\n\n## Why?\n\nAllow CoffeeScript code to be included in Rollup bundles without introducing an\nadditional build step.\n\n## Installation\n\n```bash\nnpm install --save-dev rollup-plugin-coffee-script\n# or\nyarn add -D rollup-plugin-coffee-script\n```\n\n## Usage\n\n```js\n// rollup.config.js\nimport coffeescript from 'rollup-plugin-coffee-script';\n\nexport default {\n  input: 'main.coffee',\n\n  plugins: [\n    coffeescript()\n  ]\n}\n```\n\nCoffeeScript plugin accepts `options.include` and `options.exclude` (each a\nminimatch pattern, or array of minimatch patterns) to determine which files are\ncompiled by CoffeeScript. By default, all files are transpiled.\n\n## Integration with CommonJS modules\n\nThe CoffeeScript plugin doesn't resolve requires. Instead,\nuse `rollup-plugin-commonjs` and add `.coffee` to extensions.\n\n```js\nimport commonjs from 'rollup-plugin-commonjs';\nimport coffee from 'rollup-plugin-coffee-script';\nimport nodeResolve from 'rollup-plugin-node-resolve';\n\nexport default {\n  input: 'main.coffee',\n  plugins: [\n    coffee(),\n    nodeResolve({ extensions: ['.js', '.coffee'] }),\n    commonjs({\n      extensions: ['.js', '.coffee']\n    })\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flautis%2Frollup-plugin-coffee-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flautis%2Frollup-plugin-coffee-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flautis%2Frollup-plugin-coffee-script/lists"}