Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hua dict输出格式 #13

Open
qrqhuang opened this issue Nov 18, 2020 · 1 comment
Open

hua dict输出格式 #13

qrqhuang opened this issue Nov 18, 2020 · 1 comment

Comments

@qrqhuang
Copy link

很棒的工具。

然后dua dict的输出能否转为json格式呀, 目前有点乱

$ hua dict -s songci
 * [String: '鼓旌'] { inspect: [Function] } -- 赵师侠 《西江月(丁巳长沙大阅)》
 * [String: '客骚'] { inspect: [Function] } -- 彭正大 《琐寒窗(寿欧阳教授)》
@qrqhuang
Copy link
Author

console.log(" *", result[i], "--", result[i]._meta.author, "《" + result[i]._meta.title + "》");

这行需要 result[i].toString() 一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant