{"id":22009390,"url":"https://github.com/cheminfo/mgf-parser","last_synced_at":"2026-04-16T13:33:26.397Z","repository":{"id":57296176,"uuid":"251615629","full_name":"cheminfo/mgf-parser","owner":"cheminfo","description":"Parse an MGF database into a JSON","archived":false,"fork":false,"pushed_at":"2020-04-17T10:14:16.000Z","size":39810,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-04T09:18:52.351Z","etag":null,"topics":["mgf","mgf-parser","parser"],"latest_commit_sha":null,"homepage":"https://cheminfo.github.io/mgf-parser/","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/cheminfo.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-31T13:46:44.000Z","updated_at":"2023-02-08T19:21:14.000Z","dependencies_parsed_at":"2022-09-04T08:00:52.406Z","dependency_job_id":null,"html_url":"https://github.com/cheminfo/mgf-parser","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheminfo%2Fmgf-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheminfo%2Fmgf-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheminfo%2Fmgf-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheminfo%2Fmgf-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheminfo","download_url":"https://codeload.github.com/cheminfo/mgf-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245069304,"owners_count":20555915,"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":["mgf","mgf-parser","parser"],"created_at":"2024-11-30T02:09:15.209Z","updated_at":"2026-04-16T13:33:26.343Z","avatar_url":"https://github.com/cheminfo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mgf-parser\n\n[![NPM version][npm-image]][npm-url]\n[![build status][ci-image]][ci-url]\n[![npm download][download-image]][download-url]\n\nParse an MGF file into a JSON.\n\n## Installation\n\n`$ npm i mgf-parser`\n\n## Usage\n\n```js\nparse(rawData[, options])\n```\nParses the text input `rawdata` into a JSON.\n\n```js\nimport { readFileSync } from 'fs';\nimport { join } from 'path';\n\nimport parse from 'mgf-parser';\n\nlet rawData = readFileSync(\n  join(__dirname, './data.mgf'),\n  'utf8',\n);\n\nlet result = parse(rawData);\n\n// result is the parsed data (array of objects)\n```\n\n## [API Documentation](https://cheminfo.github.io/mgf-parser/)\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/mgf-parser.svg\n[npm-url]: https://www.npmjs.com/package/mgf-parser\n[ci-image]: https://github.com/cheminfo/mgf-parser/workflows/Node.js%20CI/badge.svg?branch=master\n[ci-url]: https://github.com/cheminfo/mgf-parser/actions?query=workflow%3A%22Node.js+CI%22\n[download-image]: https://img.shields.io/npm/dm/mgf-parser.svg\n[download-url]: https://www.npmjs.com/package/mgf-parser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheminfo%2Fmgf-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheminfo%2Fmgf-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheminfo%2Fmgf-parser/lists"}