lilynode:lilypond 的 Node.js 包装器

时间:2021-06-14 07:09:21
【文件属性】:
文件名称:lilynode:lilypond 的 Node.js 包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-14 07:09:21
lilypond JavaScript 百合节点 安装 $ npm install lilynode 用法 要求 在你的程序中需要 LilyNode: var lilynode = require('lilynode') 界面 lilynode.renderFile(filePath, options, callback) 文件路径 要渲染的 LilyPond 文件的路径 选项 用于配置渲染的选项对象 可用属性 format : 输出文件的文件格式类型:字符串可能的值: 迷笛 pdf ps PNG svg 默认值:png resolution : ppcm 输出分辨率(仅适用于 png 格式) 类型:数字默认值:50 binaryPath : lilypond 二进制文件的路径类型:字符串默认值:百合 打回来 回调是一个函数,它获取两个参数error和传递的output 。 output是一个包含渲染文件的
【文件预览】:
lilynode-master
----test()
--------fixtures()
--------index.js(961B)
----README.md(890B)
----.gitignore(6B)
----index.js(2KB)
----package.json(613B)

网友评论