0.5.3 • Published 1 year ago

etc-hooks v0.5.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Etc hooks

✨ 特性

  • 可靠的代码健壮:使用 Typescript 构建,提供完善的类型定义文件
  • 完善的文档能力:支持文档记录,支持 demo 演示
  • 完整的测试用例:配套完整的测试用例,帮助您提升项目健壮性

📦 安装

$ pnpm install etc-hooks --save

🔨 使用

参考 Hooks内容,使用如下:

import { useToggle } from 'etc-hooks'

可能出现的问题

node17 及以上版本

# Error message "error:0308010C:digital envelope routines::unsupported"

# 解决方案

# On Unix-like (Linux, macOS, Git bash, etc.):
export NODE_OPTIONS=--openssl-legacy-provider

# On Windows (cmd.exe):
set NODE_OPTIONS=--openssl-legacy-provider

# On Windows (PowerShell):
$env:NODE_OPTIONS = "--openssl-legacy-provider"

# or use nvm/n to downgrade node version to 16
0.5.3

1 year ago

0.4.9

2 years ago

0.4.8

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.5.2

2 years ago

0.4.3

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago