{
 "kind": "tool",
 "slug": "module-alias",
 "path": "tools/module-alias/",
 "name": "module-alias",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Build tools and bundlers",
   "tools/build-tools/"
  ]
 ],
 "lead": "Registers path aliases for require() in Node.js.",
 "chips": [
  {
   "label": "Build tools and bundlers",
   "path": "tools/build-tools/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install module-alias"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/ilearnio/module-alias"
  },
  {
   "label": "Website",
   "href": "https://github.com/ilearnio/module-alias"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/ilearnio/module-alias"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 1, 2026",
   "note": "",
   "src": "https://github.com/ilearnio/module-alias"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "8 projects",
   "status": "info",
   "sub": "#90 of 185 in its category",
   "note": "Dependency in 8 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What module-alias does",
   "parts": [
    {
     "t": "prose",
     "text": "Registers path aliases for require() in Node.js."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "module-alias popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "51",
       "of": "/ 100",
       "l": "Gid Score, #1860 overall"
      },
      {
       "n": "7.7M",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,787",
       "l": "GitHub stars"
      },
      {
       "n": "8",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How module-alias is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "module-alias joined the catalog on its public numbers (7,669,226 downloads a week on npm and 1,787 GitHub stars), not on our project count: it is a dependency in 13 public GitHub projects of our scan, 8 of them set up for AI coding agents.",
      "Projects that use it most often also use dotenv (76.9%), ts-node (61.5%), Axios (61.5%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "6 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 76.9% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 61.5% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 61.5% of its projects",
       "v": "Axios",
       "path": "tools/axios/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      },
      {
       "l": "In 84.6% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 46.2% of its projects",
       "v": "Express",
       "path": "tools/express/"
      },
      {
       "l": "In 46.2% of its projects",
       "v": "tsconfig-paths",
       "path": "tools/tsconfig-paths/"
      },
      {
       "l": "In 46.2% of its projects",
       "v": "nodemon",
       "path": "tools/nodemon/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about module-alias",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Build tools and bundlers",
       "path": "tools/build-tools/",
       "items": [
        {
         "text": "Vite",
         "path": "tools/vite/"
        },
        {
         "text": "Turborepo",
         "path": "tools/turbo/"
        },
        {
         "text": "esbuild",
         "path": "tools/esbuild/"
        },
        {
         "text": "Babel (JavaScript)",
         "path": "tools/babel-npm/"
        },
        {
         "text": "Laravel Vite Plugin",
         "path": "tools/laravel-vite-plugin/"
        },
        {
         "text": "React Compiler Babel Plugin",
         "path": "tools/babel-plugin-react-compiler/"
        },
        {
         "text": "Nx",
         "path": "tools/nx/"
        },
        {
         "text": "vite-tsconfig-paths",
         "path": "tools/vite-tsconfig-paths/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "module-alias",
       "me": true,
       "facts": [
        "MIT",
        "Gid 51",
        "7.7M/wk"
       ]
      }
     ],
     "more": "Compare module-alias with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install module-alias"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for module-alias yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm module-alias"
  ],
  [
   "Category",
   "Build tools and bundlers"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "50.9"
  ],
  [
   "Rank in category",
   "#90 of 185"
  ],
  [
   "GitHub",
   "ilearnio/module-alias"
  ],
  [
   "Last change",
   "Nov 1, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/ilearnio.png"
}