open-index/open-npm huggingface dataset:
npm package: @pathwright/pathicons
Description: Pathwright icons, synced from Figma to React components
Author: leadream
Latest version: 0.35.0

# Pathicons

**Note: this repository is based on [Figma Icon Automation](https://github.com/leadream/figma-icon-automation).**

## Sync Figma icons with @pathwright/pathicons package:

Run `yarn sync` which will perform the following:

- Fetches latest icons from Figma and generates the icon components.
- If this results in changes to the `/src/icons` dir:
  - Updates the package.json version automatically.
  - Pushes a "pathicons updated" commit.

## Development

### fetch SVG file

Run `yarn fetch` to fetch SVG files from Figma file. This will pull your SVGs into `./src/svg/`.

### generate React components for icons

Run `yarn generate` to generate component files from SVG files. This will pull your component files into `./src/icons/`.

### Run the documentation app

```
cd pathicons-demo
yarn && yarn start
```

### Figma

The icons Figma can be found [here](https://www.figma.com/design/eELpTCsAATRcXYVUMvlJzV/Pathicons?node-id=79-1604&t=bNMMZ6d2dnb14rG2-0)

### Publishing to npm

From `master`, bump the package version and push. Github actions will automatically publish to npm.

**npm trusted publishing (OIDC):** The workflow uses [npm trusted publishing](https://docs.npmjs.com/trusted-publishers) instead of long-lived tokens. Configure once on [npmjs.com](https://www.npmjs.com) → Packages → `@pathwright/pathicons` → Settings → Trusted Publisher:

| Field                | Value            |
| -------------------- | ---------------- |
| Organization or user | `duointeractive` |
| Repository           | `pathicons`      |
| Workflow filename    | `push.yml`       |

View deployed documentation app at [https://pathicons.vercel.app/](https://pathicons.vercel.app/)
npm package: @patienceroll/common-functions
Description: 通用的js函数
Author: zhangxianlei
Latest version: 0.0.12

## 常用的 js 函数

通用的js函数

1. anti-shake 防抖。
2. fetch 对 fetch 的简单封装。
3. use-brower-env 判断当前浏览器环境。
4. use-count 计数,短信、倒计时等逻辑的抽象。
5. use-interval 循环执行一个函数,可以暂停