npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ods-ant

v0.5.0

Published

Ontada design system wrappers and patterns built on Ant Design

Readme

ODS Ant

Design-system components and wrappers built on Ant Design.

Contributor workflow checklist:

  • CONTRIBUTOR-CHECKLIST.md

Local Development

  • Start app preview: npm run dev
  • Start Storybook: npm run storybook
  • Build app preview bundle: npm run build

Library Packaging (npm)

This repo now supports a dedicated library build that is isolated from app and Storybook workflows.

  • Build package artifacts: npm run build:lib
  • Strictly type-check the library surface: npm run build:lib:strict
  • Validate publish tarball contents: npm run pack:check
  • Validate entrypoints and consumer imports: npm run test:publish
  • Prepublish hook: npm publish will automatically run prepublishOnly

Published output is generated in dist-lib/.

dist-lib/ is generated output and is ignored by git. It is rebuilt during npm publish and included in the package because package.json lists it in files.

Public Entrypoints

| Path | Description | |------|-------------| | ods-ant | Aggregate root — all components (convenience / prototyping) | | ods-ant/theme | Theme tokens and Ant Design theme config | | ods-ant/forms | All form components | | ods-ant/display | All display components | | ods-ant/navigation | All navigation components | | ods-ant/feedback | All feedback components | | ods-ant/forms/Button | Individual component (recommended for app code) | | ods-ant/display/Image | Individual component (recommended for app code) | | ods-ant/<family>/<Component> | Any component following the same pattern |

Peer Dependencies

Consuming applications are expected to provide:

  • react
  • react-dom
  • antd
  • @ant-design/icons
  • dayjs

Consumer Example

Install the package and peer dependencies:

npm install ods-ant antd @ant-design/icons dayjs react react-dom

Update to the latest published version:

npm install ods-ant@latest

Update to a specific version:

npm install ods-ant@<version>

If you also need to refresh peers at the same time:

npm install ods-ant@latest antd @ant-design/icons dayjs react react-dom

Recommended — import only the components you use:

import { Button } from 'ods-ant/forms/Button';
import { Input } from 'ods-ant/forms/Input';
import { Image } from 'ods-ant/display/Image';
import { Modal } from 'ods-ant/feedback/Modal';
import { appTheme } from 'ods-ant/theme';

export function Example() {
  return <Button dsVariant="primary">Save</Button>;
}

Convenience — import everything from the root (suitable for quick prototyping):

import { Button, Select } from 'ods-ant';
import { appTheme } from 'ods-ant/theme';

export function Example() {
  return <Button dsVariant="primary">Save</Button>;
}

Publishing

Before publishing, update name, version, and registry settings as needed, then run:

npm run pack:check
npm publish

For private scoped packages, set the package name to your scope and adjust publishConfig.access before publishing.