
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@enjoyjs/node-mecab
Advanced tools
MeCab wrapper for Node.js
MeCabがローカルにインストールされている必要があります。
npm i @enjoyjs/node-mecab
import { analyze } from '@enjoyjs/node-mecab';
analyze('こんにちは世界').then(console.log);
こんにちは 感動詞,*,*,*,*,*,こんにちは,コンニチハ,コンニチワ
世界 名詞,一般,*,*,*,*,世界,セカイ,セカイ
EOS
import { tokenize } from '@enjoyjs/node-mecab';
tokenize('こんにちは世界').then(console.log);
[
# 省略
{
id: 12,
surface: 'こんにちは',
feature: {
pos: '感動詞',
posSubs: [Array],
conjugatedType: undefined,
conjugatedForm: undefined,
basicForm: 'こんにちは',
reading: 'コンニチハ',
pronunciation: 'コンニチワ'
},
startPosition: 0,
endPosition: 15,
rcAttr: 3,
lcAttr: 3,
posid: 2,
charType: 6,
stat: 'NORMAL',
isbest: true,
alpha: 0,
beta: 0,
prob: 0,
cost: 4033,
_: []
},
{
id: 30,
surface: '世界',
feature: {
pos: '名詞',
posSubs: [Array],
conjugatedType: undefined,
conjugatedForm: undefined,
basicForm: '世界',
reading: 'セカイ',
pronunciation: 'セカイ'
},
startPosition: 15,
endPosition: 21,
rcAttr: 1285,
lcAttr: 1285,
posid: 38,
charType: 2,
stat: 'NORMAL',
isbest: true,
alpha: 0,
beta: 0,
prob: 0,
cost: 10546,
_: []
},
# 省略
]
import { wakatsu } from '@enjoyjs/node-mecab';
wakatsu('こんにちは世界').then(console.log);
[ [ 'こんにちは', '世界' ] ]
FAQs
MeCab wrapper for Node.js
The npm package @enjoyjs/node-mecab receives a total of 266 weekly downloads. As such, @enjoyjs/node-mecab popularity was classified as not popular.
We found that @enjoyjs/node-mecab 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
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.