{"id":32633876,"url":"https://github.com/wtetsu/deinja","last_synced_at":"2025-10-30T23:56:38.836Z","repository":{"id":57211825,"uuid":"156389364","full_name":"wtetsu/deinja","owner":"wtetsu","description":"🌸De-inflect Japanese words","archived":false,"fork":false,"pushed_at":"2025-04-13T04:13:26.000Z","size":965,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T05:18:42.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wtetsu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-06T13:40:11.000Z","updated_at":"2025-10-14T14:22:16.000Z","dependencies_parsed_at":"2022-09-26T19:52:51.655Z","dependency_job_id":null,"html_url":"https://github.com/wtetsu/deinja","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wtetsu/deinja","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtetsu%2Fdeinja","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtetsu%2Fdeinja/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtetsu%2Fdeinja/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtetsu%2Fdeinja/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wtetsu","download_url":"https://codeload.github.com/wtetsu/deinja/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtetsu%2Fdeinja/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281012083,"owners_count":26429437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-30T23:56:35.141Z","updated_at":"2025-10-30T23:56:38.826Z","avatar_url":"https://github.com/wtetsu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/515948/185797517-6394d86a-061d-48b4-8090-6b27a6d3f767.png\" width=\"150\" alt=\"logo\" /\u003e\u003cbr/\u003e\n\u003ca href=\"https://github.com/wtetsu/deinja/actions/workflows/test.yml\"\u003e\u003cimg src=\"https://github.com/wtetsu/deinja/actions/workflows/test.yml/badge.svg\" alt=\"Build Status\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://codeclimate.com/github/wtetsu/deinja\"\u003e\u003cimg src=\"https://codeclimate.com/github/wtetsu/deinja/badges/gpa.svg\" alt=\"Code Climate\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/wtetsu/deinja\"\u003e\u003cimg src=\"https://codecov.io/gh/wtetsu/deinja/branch/master/graph/badge.svg?token=ryUgLvR4LK\" alt=\"codecov\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://badge.fury.io/js/deinja\"\u003e\u003cimg src=\"https://badge.fury.io/js/deinja.svg\" alt=\"npm version\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n# deinja\n\n\n**deinja** is a lightweight JavaScript library that converts inflected Japanese words into their original forms.\n\nInstead of aiming for perfect accuracy, *deinja* prioritizes speed and simplicity. It does **not** include internal dictionary data, which means it may return **multiple possible candidates** for each input rather than a single definitive answer.\n\nThis library was originally a component of [Mouse Dictionary](https://github.com/wtetsu/mouse-dictionary), and has since been extracted into a standalone module.\n\n\n## Installation\n\n```\nnpm i deinja\n```\n\n## Usage\n\n```js\nimport deinja from \"deinja\";\n\ndeinja.convert(\"素早く\"); // [\"素早い\"]\ndeinja.convert(\"転がし\"); // [\"転がす\"]\ndeinja.convert(\"投げた\"); // [\"投げる\", \"投ぐ\"]\n\ndeinja.convert(\"死にました\"); // [\"死ぬ\"]\ndeinja.convert(\"終わって\"); // [\"終わう\", \"終わつ\", \"終わる\"]\ndeinja.convert(\"しまった\"); // [\"しまう\", \"しまつ\", \"しまる\"]\n```\n\n## License\n\nApache 2.0\n\n## Acknowledgments\n\ndeinja is built upon deinflector, a Java-based tool for Japanese word normalization.\n\nhttps://github.com/Jimeux/deinflector\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtetsu%2Fdeinja","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwtetsu%2Fdeinja","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtetsu%2Fdeinja/lists"}