{"id":27136,"library":"marmot_design_ui","title":"marmot_design_ui","description":"Marmot Design UI is a utility library bundled with Rollup, currently at version 4.0.31. It requires antd ^3.26.16 as a peer dependency. The library ships TypeScript types and is designed for React applications using Ant Design v3. Note that antd v3 is quite old (last updated 2021), so this package may be in maintenance mode. There is no published README, so usage details are limited.","status":"maintenance","version":"4.0.31","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install marmot_design_ui","lang":"bash","label":"npm"},{"cmd":"yarn add marmot_design_ui","lang":"bash","label":"yarn"},{"cmd":"pnpm add marmot_design_ui","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for UI components","package":"antd","optional":false}],"imports":[{"note":"Check if default export exists; without README, assume default. Also try named imports.","wrong":"import * as marmotUI from 'marmot_design_ui'","symbol":"default import","correct":"import marmotUI from 'marmot_design_ui'"},{"note":"TypeScript supported; prefer ESM imports over require().","wrong":"const util = require('marmot_design_ui').util","symbol":"named import (if any)","correct":"import { util } from 'marmot_design_ui'"},{"note":"If types are exported, use type import for types.","wrong":"","symbol":"type import","correct":"import type { MarmotType } from 'marmot_design_ui'"}],"quickstart":{"code":"// Example assumes default export is a utility object\nimport antd from 'antd';\nimport marmotUI from 'marmot_design_ui';\n// Ensure antd v3 is installed\nconst { Button } = antd;\nconst result = marmotUI.someUtil();\nconsole.log(result);","lang":"typescript","description":"Shows basic import and usage with antd v3 peer dependency."},"warnings":[{"fix":"Update to antd v4+ and check compatibility with this package.","message":"Peer dependency antd v3 is outdated; consider migrating to antd v4 or v5.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Run `npm pack` and extract, or use TypeScript declarations.","message":"No README provided – API unclear. Inspect node_modules or source for exported members.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Lock version or test upgrade carefully.","message":"Version 4.0.31 may have breaking changes from earlier 4.x versions. No changelog available.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"npm install marmot_design_ui","cause":"Package not installed or missing from node_modules.","error":"Cannot find module 'marmot_design_ui'"},{"fix":"Ensure package is in dependencies and your bundler resolves correctly.","cause":"Webpack or bundler cannot resolve the package.","error":"Module not found: Can't resolve 'marmot_design_ui'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}