{"id":17978345,"url":"https://github.com/ad-si/lilynode","last_synced_at":"2025-08-03T05:30:45.039Z","repository":{"id":24914194,"uuid":"28331027","full_name":"ad-si/lilynode","owner":"ad-si","description":"JavaScript wrapper for LilyPond","archived":false,"fork":false,"pushed_at":"2024-04-19T15:32:23.000Z","size":20,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-23T08:05:10.603Z","etag":null,"topics":["lilypond","midi","music","music-notation","node-js","sheet-music"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/lilynode","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ad-si.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-22T08:42:28.000Z","updated_at":"2024-10-20T09:52:02.000Z","dependencies_parsed_at":"2024-04-19T16:56:58.366Z","dependency_job_id":null,"html_url":"https://github.com/ad-si/lilynode","commit_stats":null,"previous_names":["adius/lilynode"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Flilynode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Flilynode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Flilynode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Flilynode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ad-si","download_url":"https://codeload.github.com/ad-si/lilynode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222088870,"owners_count":16929039,"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":["lilypond","midi","music","music-notation","node-js","sheet-music"],"created_at":"2024-10-29T17:33:18.587Z","updated_at":"2024-10-29T17:33:19.144Z","avatar_url":"https://github.com/ad-si.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LilyNode\n\nLilyNode is a Node.js wrapper for [LilyPond](https://lilypond.org/).\n\n\n## Installation\n\n```sh\nnpm install lilynode\n```\n\n\n## Usage\n\n```js\nimport fs from \"fs/promises\"\nimport { renderFile } from \"lilynode\"\n\nconst pdf = await renderFile(\n  filePath, // Path to LilyPond file\n  { format: \"pdf\" },  // Options object to configure the rendering\n)\n\nawait fs.writeFile(\"./test.pdf\", pdf, { encoding: \"binary\" })\n\n// or\n\nconst pdf = await render(\n  \"\\\\score { …\", // Content of a LilyPond file\n  { format: \"pdf\" },\n)\n```\n\n\n### Available Options\n\n`format: \"midi\" | \"pdf\" | \"ps\" | \"png\" | \"svg\"` - File format of output file \\\nDefault value: `png`\n\n`resolution: number` - Resolution of output in ppcm (only available for PNGs) \\\nDefault value: `50`\n\n`binaryPath: string` - Path to lilypond binary \\\nDefault value: `lilypond`\n\n\n## Development\n\nCheck out the [makefile](./makefile) for all available commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2Flilynode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fad-si%2Flilynode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2Flilynode/lists"}