{"id":13775243,"url":"https://github.com/cameronhunter/rollup-plugin-pegjs","last_synced_at":"2025-06-13T10:35:09.792Z","repository":{"id":145461855,"uuid":"49837455","full_name":"cameronhunter/rollup-plugin-pegjs","owner":"cameronhunter","description":"Import PEG.js grammars as parsers directly in your code","archived":false,"fork":false,"pushed_at":"2017-04-10T08:41:32.000Z","size":23,"stargazers_count":7,"open_issues_count":32,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T11:12:26.154Z","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/cameronhunter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-01-17T21:55:42.000Z","updated_at":"2023-04-10T10:06:22.000Z","dependencies_parsed_at":"2024-01-15T01:04:01.558Z","dependency_job_id":"bc1ad719-0367-4ee5-9fbe-e203d5cc37e1","html_url":"https://github.com/cameronhunter/rollup-plugin-pegjs","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cameronhunter/rollup-plugin-pegjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Frollup-plugin-pegjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Frollup-plugin-pegjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Frollup-plugin-pegjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Frollup-plugin-pegjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cameronhunter","download_url":"https://codeload.github.com/cameronhunter/rollup-plugin-pegjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronhunter%2Frollup-plugin-pegjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259627726,"owners_count":22886916,"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.777Z","updated_at":"2025-06-13T10:35:09.727Z","avatar_url":"https://github.com/cameronhunter.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Transpilation"],"readme":"# rollup-plugin-pegjs\n\n[![Build Status](https://travis-ci.org/cameronhunter/rollup-plugin-pegjs.svg?branch=master)](https://travis-ci.org/cameronhunter/rollup-plugin-pegjs) [![NPM Version](https://img.shields.io/npm/v/rollup-plugin-pegjs.svg)](https://npmjs.org/package/rollup-plugin-pegjs) [![License](https://img.shields.io/npm/l/rollup-plugin-pegjs.svg)](https://github.com/cameronhunter/rollup-plugin-pegjs/blob/master/LICENSE.md)\n\nA [rollup](http://rollupjs.org) plugin allowing you to import [PEG.js](http://pegjs.org) grammars as parsers directly in your code.\n\n```js\nimport { parse } from \"grammar.pegjs\";\nconsole.log(parse(\"language to parse\"));\n```\n\n## Install\n\n```sh\nnpm install --save-dev rollup-plugin-pegjs\n```\n\n## Usage\n\n```js\nimport { rollup } from \"rollup\";\nimport pegjs from \"rollup-plugin-pegjs\";\n\nrollup({\n  entry: \"main.js\",\n  plugins: [\n    pegjs()\n  ]\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronhunter%2Frollup-plugin-pegjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcameronhunter%2Frollup-plugin-pegjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronhunter%2Frollup-plugin-pegjs/lists"}