{
  "id": 3326308,
  "title": "MyAnimeList-Module (NPM)",
  "url": "https://urgent.news/2026/08/25/myanimelist-module-npm",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-25T18:23:27.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/nyxprojects/myanimelist-module-npm-3ef4"
  },
  "original_language": "en",
  "account": "The MyAnimeList Module is a JavaScript package that allows developers to interact with the MyAnimeList API. It is important to note that the module is not affiliated with or endorsed by MyAnimeList. The module's functionality is provided directly by MyAnimeList. Version 1.0.5 of the module is currently available.\n\nTo use the module, one must first install it using the npm command: `npm install myanimelist-module`. After installation, the module can be imported and used in a JavaScript project.\n\nHere is a basic example of how to use the module:\n\n```javascript\nconst { MyAnimeList } = require('myanimelist-module')\n\nconst mal = new MyAnimeList({\nclient_id: 'YOUR_MAL_CLIENT_ID' // Obtain this from https://myanimelist.net/apiconfig\n})\n\nasync function test() {\nconst response = await mal.getAnimeInfo({ name: 'Anime name' })\n\nif (response.error) {\nconsole.error(response.error)\n} else {\nconsole.log(response.datas)\n}\n}\n\ntest()\n```\n\nIn this example, the `MyAnimeList` object is created with your MyAnimeList Client ID. The `getAnimeInfo` function is then called with the name of an anime as the parameter. If the response contains an error, it is logged to the console. If not, the anime data is logged.",
  "summary": "MyAnimeList Module This module is neither affiliated with nor endorsed by MyAnimeList. All data returned by this module is provided by MyAnimeList. Version 1.0.5 Installation Install myanimelist-module with npm npm install myanimelist-module Usage/Examples const { MyAnimeList } = require ( ' myanimelist-module ' ) const mal = new MyAnimeList ({ client_id : `YOUR_MAL_CLIENT_ID` // Get it here:…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}