README
Install
[sudo] npm install nodetrans [-g]
Usage
$ nt hello
hello
美音: [hɛˈlo, hə-] 英音: [hə'ləʊ; he-]
翻译:n. 表示问候, 惊奇或唤起注意时的用语,int. 喂;哈罗,n. (Hello)人名;(法)埃洛
用 node.js 写的有道翻译命令行工具
<script type="module">
import nodetrans from 'https://cdn.skypack.dev/nodetrans';
</script>
[sudo] npm install nodetrans [-g]
$ nt hello
hello
美音: [hɛˈlo, hə-] 英音: [hə'ləʊ; he-]
翻译:n. 表示问候, 惊奇或唤起注意时的用语,int. 喂;哈罗,n. (Hello)人名;(法)埃洛