{"_id":"@atsumari/mecabjs","name":"@atsumari/mecabjs","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@atsumari/mecabjs","version":"0.1.0","description":"MeCab client for Node","author":{"name":"Nicholas Ramkissoon","email":"nicholas.ramkissoon01@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/atsumari-io/mecabjs.git"},"bugs":{"url":"https://github.com/atsumari-io/mecabjs/issues"},"homepage":"https://github.com/atsumari-io/mecabjs#readme","keywords":["mecab","async","japanese"],"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","publish-lib":"npm run build && npm publish --access=public","publish-beta":"npm run build && npm publish --tag beta","publish-dryrun":"npm run build && npm publish --dry-run","format":"prettier --config .prettierrc 'src/**/*.ts' --write","lint":"eslint --ext .ts src"},"dependencies":{"shell-quote":"*"},"devDependencies":{"@types/node":"^18.0.6","@types/shell-quote":"^1.7.1","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","eslint":"^8.20.0","prettier":"^2.7.1","typescript":"^4.7.4"},"gitHead":"19fff10aebfaf9fd6e75630d2275b3fa14f0e6d2","_id":"@atsumari/mecabjs@0.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-fdknAHdsW4kKx8OMRQjTzTrX+lBserjiwwL9lS8/+bJbnl0tKJfl1x9JmpqWAuinI5jnyBPFw066aU5HZmGbWw==","shasum":"ce8eeacdbc2e240264fbdca805cd4bd7f70dcb7b","tarball":"https://registry.npmjs.org/@atsumari/mecabjs/-/mecabjs-0.1.0.tgz","fileCount":15,"unpackedSize":32893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkKZY3bjmNARS42LK8emY8RWm7czbU2cQnzj25NE5uwwIgU05TNqEqfDFdweDp2xfcDjXtB4aZIHok/7LZbFwdFrs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2r8yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6hBAAle+EEYy9SHyS8KxyNE+pJNQTEo3/2SoQmkwsvKnMcVCSo3k6\r\n1gCMZZlhcaaUPIFNj9qVIiIFud+HQHPJuIPInqATWQAg+Eoetbi+l82USWbg\r\neL9v9tS5Dqc4T7IHiYXQAnVG3qBkC7weEWC7LEGbN+sib2V7E4cr4Yera04V\r\nzvWymMW82vfh0YA/q2DpJUYI46gfKUVpd7W0qC9VBhpQlwAz3PAtcVCzkF4D\r\n1Dk5l/gm5K/GRXlKuRS9AY0r9Fr/6afzHPkrYku2CWq7xpqRJMySx2V0rq7n\r\n8vDKgcAvPilcnDxc+EgoiKXBmgEj1N5bt558xVGzCPMTDiLdK09mBQp/GfEQ\r\nU2JuQ8XpJMwl6JmtVjJe0l9tTSXYnFrUsbuiIgfEE9+1feVkBfyYYPyLjE5T\r\n6rReyxDvthjbfVGBFRTmBor/sXNv1RJ+BOn2VhqEShk2M1BzZxv4end5R990\r\nS9W5HWORM1vO2QzUE/1Elk/HnMbbczMw7iIfuacPfSCKcc5qMpfVfuVG/q10\r\nwkb2+3L593O1Iwmfvmx7SfzDXBp7zk7wyZMpGP2C1K6ubLS3cipOpLWZUZhs\r\nDiopmld/3CJ7E1F2UDWfaHVCLzKxBKWikrMhut4sWGY64GMw5EzhW2TA3bzi\r\nDpE+mubJclvSG0vDFROwdTFflpNidQ/b0Bo=\r\n=J7Cm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"nramkissoon","email":"nicholas.ramkissoon01@gmail.com"},"directories":{},"maintainers":[{"name":"nramkissoon","email":"nicholas.ramkissoon01@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mecabjs_0.1.0_1658502961962_0.34909979663868196"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-22T15:16:01.909Z","0.1.0":"2022-07-22T15:16:02.180Z","modified":"2022-07-22T15:16:02.336Z"},"maintainers":[{"name":"nramkissoon","email":"nicholas.ramkissoon01@gmail.com"}],"description":"MeCab client for Node","homepage":"https://github.com/atsumari-io/mecabjs#readme","keywords":["mecab","async","japanese"],"repository":{"type":"git","url":"git+https://github.com/atsumari-io/mecabjs.git"},"author":{"name":"Nicholas Ramkissoon","email":"nicholas.ramkissoon01@gmail.com"},"bugs":{"url":"https://github.com/atsumari-io/mecabjs/issues"},"license":"MIT","readme":"# MeCab client for Node.js\r\n\r\nMeCab is a morphological analyzer for the Japanese language. This package will allow you to\r\nuse MeCab in your Node.js code if you have MeCab installed.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @atsumari/mecabjs\r\n# or\r\nyarn add @atsumari/mecabjs\r\n```\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { MeCab } from 'mecab-client'\r\n\r\nconst main = async () => {\r\n  const mecab = new MeCab()\r\n\r\n  const result = await mecab.parse(\"こんにちは\")\r\n  console.log(result)\r\n}\r\n\r\nmain()\r\n```\r\n\r\nOutput interface for one word:\r\n\r\n```typescript\r\ninterface MeCabWordOutput {\r\n  kanji: string | null;\r\n  lexical: string | null;\r\n  compound1: string | null;\r\n  compound2: string | null;\r\n  compound3: string | null;\r\n  conjugation: string | null;\r\n  inflection: string | null;\r\n  original: string | null;\r\n  reading: string | null;\r\n  pronunciation: string | null;\r\n}\r\n```\r\n","readmeFilename":"README.md"}