{"id":13774771,"url":"https://github.com/YanceyOfficial/rollup-plugin-toml","last_synced_at":"2025-05-11T07:30:34.863Z","repository":{"id":39486876,"uuid":"506964636","full_name":"YanceyOfficial/rollup-plugin-toml","owner":"YanceyOfficial","description":"Convert .toml files to ES6 modules.","archived":false,"fork":false,"pushed_at":"2022-10-16T17:08:15.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T01:49:28.899Z","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/YanceyOfficial.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-24T10:10:47.000Z","updated_at":"2023-06-02T16:42:48.000Z","dependencies_parsed_at":"2022-08-27T00:50:24.079Z","dependency_job_id":null,"html_url":"https://github.com/YanceyOfficial/rollup-plugin-toml","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/YanceyOfficial%2Frollup-plugin-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanceyOfficial%2Frollup-plugin-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanceyOfficial%2Frollup-plugin-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YanceyOfficial%2Frollup-plugin-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YanceyOfficial","download_url":"https://codeload.github.com/YanceyOfficial/rollup-plugin-toml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253532955,"owners_count":21923336,"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:30.073Z","updated_at":"2025-05-11T07:30:34.545Z","avatar_url":"https://github.com/YanceyOfficial.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Other File Imports"],"readme":"[npm]: https://img.shields.io/npm/v/@yancey-inc/rollup-plugin-toml\n[npm-url]: https://www.npmjs.com/package/@yancey-inc/rollup-plugin-toml\n[size]: https://packagephobia.now.sh/badge?p=@yancey-inc/rollup-plugin-toml\n[size-url]: https://packagephobia.now.sh/result?p=@yancey-inc/rollup-plugin-toml\n\n[![npm][npm]][npm-url]\n[![size][size]][size-url]\n[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)\n![Awesome Rollup](https://camo.githubusercontent.com/64f8905651212a80869afbecbf0a9c52a5d1e70beab750dea40a994fa9a9f3c6/68747470733a2f2f617765736f6d652e72652f62616467652e737667)\n\n# @yancey-inc/rollup-plugin-toml\n\n\n\n🍣 A Rollup plugin which Converts TOML files to ES6 modules.\n\n## Requirements\n\nThis plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v8.0.0+) and Rollup v1.20.0+.\n\n## Install\n\nUsing npm:\n\n```console\nnpm install @yancey-inc/rollup-plugin-toml --save-dev\n```\n\n## Usage\n\nCreate a `rollup.config.js` [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:\n\n```js\nimport toml from '@yancey-inc/rollup-plugin-toml'\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'output',\n    format: 'cjs',\n  },\n  plugins: [toml()],\n}\n```\n\nThen call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#command-line-reference) or the [API](https://www.rollupjs.org/guide/en/#javascript-api).\n\n## Options\n\n### `exclude`\n\nType: `FilterPattern`\u003cbr\u003e\nDefault: `null`\n\nA [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_. By default no files are ignored.\n\n### `include`\n\nType: `FilterPattern`\u003cbr\u003e\nDefault: `null`\n\nA [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.\n\n## Meta\n\n[CONTRIBUTING](/.github/CONTRIBUTING.md)\n\n[LICENSE (MIT)](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYanceyOfficial%2Frollup-plugin-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FYanceyOfficial%2Frollup-plugin-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FYanceyOfficial%2Frollup-plugin-toml/lists"}