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 🙏

© 2024 – Pkg Stats / Ryan Hefner

hytd

v1.0.0

Published

<!-- * @Author: FanWeiHua * @Date: 2021-04-28 09:51:15 * @LastEditTime: 2021-07-12 14:06:15 * @Description: 说明 -->

Downloads

2

Readme

说明

hytd React 致力于提供给公司内部开发人员的开发体验。

在开始之前,推荐先学习 ReactES2015,并正确安装和配置了 Node.js v8 或以上。官方指南假设你已了解关于 HTML、CSS 和 JavaScript 的中级知识,并且已经完全掌握了 React 全家桶的正确开发方式。


hytd 是基于 Ant Design 设计体系的 React UI 组件库的基础上进行的二次封装,实现企业的业务组件化。

hytd

Getting Started

安装

$ npm install

开发

$ npm run dev

生成文档

$ npm run docs:build

Build library via father-build,生成 es module 文件内容

$ npm run build

打包并发布

$ npm run release

单元测试

$ npm run test

安装

$ npm install hytd --save

如果你的网络环境不佳,推荐使用 cnpm

使用组件

直接用下面的代码替换 index.js 的内容,用 React 的方式直接使用 hytd 组件。

import React from 'react';
import { Basic } from 'hytd';

export default () => <Basic />;

目前仅支持 es module 的引入方式