5

一些应用程序使用https://github.com/hyperrealm/libconfig来生成配置文件。我想知道是否有任何包装器或库或任何一般方式可以从磁盘parse/write这种配置文件但使用javascript。

我的文件看起来像:

devices: (
{
    name: "Mouse";
    dpi: 1200;
    buttons: (
        {
            cid: 0xc3;
            action = {
                type: "Click";
            }
        }
    )
}
);
4

0 回答 0