
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
jmdict-parser
Advanced tools
It is a CLI application that parses a JMdict XML and spits out a JSON file.
npm i -g jmdict-parser
JMdict is a Japanese to X (X being English, and a couple of other languages) dictionary whose files are in XML format.
It simply reads the JMdict file into a Javascript object and writes that object into a file.
The JSON file can be read easily for future use, and it is even ~25% smaller than the original XML file!
The JSON file is essentially an array of entry
objects. Here's what one random entry
object looks like:
{
"ent_seq":[
"1002340"
],
"k_ele":[
{
"keb":[
"お早うございます"
],
"ke_pri":[
"spec1"
]
}
],
"r_ele":[
{
"reb":[
"おはようございます"
],
"re_pri":[
"spec1"
]
}
],
"sense":[
{
"pos":[
"∫"
],
"xref":[
"お早おおう"
],
"misc":[
"&uk;",
"&pol;"
],
"s_inf":[
"may be used more generally at any time of day"
],
"gloss":[
"good morning"
]
}
]
}
For more information about the key names read the comments at the start of the original JMdict files.
Head over to the JMdict website and download the version of the dictionary file suitable for you. Also, you would need to extract it as it would be archived.
Install the CLI. See here.
You may run the it as follows:
jmdict-parser <your_edict_file>
.json
file in the same location as the original file.I have already created one for the English only JMdict file. You may download it from here.
FAQs
Converts JMdict XML files into JSON
The npm package jmdict-parser receives a total of 1 weekly downloads. As such, jmdict-parser popularity was classified as not popular.
We found that jmdict-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.