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

@arco-design/arco-material-team-site

v0.2.0

Published

Project for Arco Material Team Site

Downloads

11

Readme

Arco 物料团队站点

指令

# 构建站点
yarn build

# 预览站点
yarn preview

站点配置

站点配置文件位于 site.config.js,它包含了站点打包的入口文件配置和站点的基础配置(国际化、onCall群、主题等)。

入口文件

入口文件位于 __temp__/index.[language].js,此文件由脚本自动生成,无需手动维护。

自定义文档

docs 目录书写任意自定义文档,文档中的以下内容会在编译时被转化为特殊内容:

  • 含有以下内容的 Markdown 会被渲染成时间线形式的版本日志。
---
changelog: true
---

注意,在版本日志文档中请保持以下固定的书写形式,否则可能导致编译失败。

## 版本号

2021-01-01

### 分类 e.g. feature / bugfix /style

任意内容
  • 以下内容会在编译时被转化为页头:
`````
Developer Guide

# Quick Start

Follow the steps below to quickly get started using the component library.
`````

国际化

site.config.js 的配置中指定 languages: ['zh-CN', 'en-US']。然后在 docs/ 目录书写对应语言的文档,对于 Demo 的描述文档,需要以如下的形式书写:

// demo/index.js
/**
 * @file
 * @name
 * zh-CN: 组件名
 * en-US: ComponentName
 * @memberOf
 * zh-CN: 组件类别 例如:输入输入
 * en-US: Type of Component e.g. DataInput
 * @description
 * zh-CN: 组件描述
 * en-US: Description of component
 */

/**
 * @name
 * zh-CN: Demo名
 * en-US: DemoName
 * @description
 * zh-CN: Demo描述
 * en-US: Description of Demo
 */
export { default as Basic } from './basic';