{
 "kind": "tool",
 "slug": "moment",
 "path": "tools/moment/",
 "name": "Moment.js",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Utilities",
   "tools/utilities/"
  ]
 ],
 "lead": "Parse, validate, manipulate and format dates and times in JavaScript.",
 "chips": [
  {
   "label": "Utilities",
   "path": "tools/utilities/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install moment"
 },
 "links": [
  {
   "label": "Website",
   "href": "https://momentjs.com"
  }
 ],
 "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://momentjs.com"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Not checked yet",
   "status": "unknown",
   "sub": null,
   "note": "",
   "src": "https://momentjs.com"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "32 projects",
   "status": "info",
   "sub": "#46 of 408 in its category",
   "note": "Dependency in 32 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "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 Moment.js does",
   "parts": [
    {
     "t": "prose",
     "text": "Parse, validate, manipulate and format dates and times in JavaScript."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Moment.js popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "75",
       "of": "/ 100",
       "l": "Gid Score, #213 overall"
      },
      {
       "n": "52.2M",
       "l": "downloads a week, npm"
      },
      {
       "n": "32",
       "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 Moment.js is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Moment.js is a dependency in 32 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.7% of the 4,867 JavaScript/TypeScript ones), #46 of 408 in utilities.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 420; those are left out of every share on this page.",
      "The most used alternative in our scan is date-fns (648 projects).",
      "Projects that use it most often also use Axios (37.5%), ESLint (71.9%), Jest (28.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "16 projects, 0.7%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "15 projects, 0.5%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "11 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 37.5% of its projects",
       "v": "Axios",
       "path": "tools/axios/"
      },
      {
       "l": "In 71.9% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 28.1% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      },
      {
       "l": "In 59.4% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 40.6% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "Babel (JavaScript)",
       "path": "tools/babel-npm/"
      },
      {
       "l": "In 25.0% of its projects",
       "v": "Lodash",
       "path": "tools/lodash/"
      },
      {
       "l": "In 56.2% of its projects",
       "v": "React",
       "path": "tools/react/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Moment.js",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Utilities",
       "path": "tools/utilities/",
       "items": [
        {
         "text": "clsx",
         "path": "tools/clsx/"
        },
        {
         "text": "PyYAML",
         "path": "tools/pyyaml/"
        },
        {
         "text": "uuid",
         "path": "tools/uuid/"
        },
        {
         "text": "yaml",
         "path": "tools/yaml/"
        },
        {
         "text": "js-yaml",
         "path": "tools/js-yaml/"
        },
        {
         "text": "glob",
         "path": "tools/glob/"
        },
        {
         "text": "Lodash",
         "path": "tools/lodash/"
        },
        {
         "text": "tqdm",
         "path": "tools/tqdm/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Moment.js",
       "me": true,
       "facts": [
        "MIT",
        "Gid 75",
        "52.2M/wk"
       ]
      },
      {
       "name": "date-fns",
       "why": "Modern JavaScript date utility library with comprehensive formatting functions.",
       "path": "tools/date-fns/",
       "facts": [
        "MIT",
        "Gid 86",
        "127M/wk"
       ]
      },
      {
       "name": "Day.js",
       "why": "2KB immutable date/time library with modern API as lightweight Moment.js alternative.",
       "path": "tools/dayjs/",
       "facts": [
        "MIT",
        "Gid 82",
        "117M/wk"
       ]
      }
     ],
     "more": "Compare Moment.js with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install moment"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Moment.js yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm moment"
  ],
  [
   "Category",
   "Utilities"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "74.7"
  ],
  [
   "Rank in category",
   "#46 of 408"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": null
}