-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div align="center"> | ||
<a href="https://rattail.pages.dev"> | ||
<img src="https://rattail.pages.dev/logo.svg" width="150"> | ||
</a> | ||
<h1>Rattail</h1> | ||
<p>A utilities library for front-end developers, lightweight and ts-friendly.</p> | ||
<p> | ||
<a href="https://rattail.pages.dev">Documentation</a> | | ||
<a href="https://github.com/varletjs/rattail/blob/main/README.zh-CN.md">中文介绍</a> | ||
</p> | ||
</div> | ||
|
||
--- | ||
|
||
### Features | ||
|
||
- 🛠️ Provide utilities frequently used in daily development | ||
- 🛠️ Utilities implementation is very lightweight | ||
- 🛠️ Written based on ts, providing complete ts types | ||
|
||
### Installation | ||
|
||
```shell | ||
# npm | ||
npm i rattail -S | ||
# yarn | ||
yarn add rattail | ||
# pnpm | ||
pnpm add rattail | ||
``` | ||
|
||
### Usage | ||
|
||
```ts | ||
import { isString } from 'rattail' | ||
|
||
console.log(isString('rattail')) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div align="center"> | ||
<a href="https://rattail.pages.dev/zh"> | ||
<img src="https://rattail.pages.dev/logo.svg" width="150"> | ||
</a> | ||
<h1>Rattail</h1> | ||
<p>面向前端开发人员的实用工具库,轻量级且 ts 友好</p> | ||
<p> | ||
<a href="https://rattail.pages.dev/zh">文档</a> | | ||
<a href="https://github.com/varletjs/rattail/blob/main/README.md">ENGLISH README</a> | ||
</p> | ||
</div> | ||
|
||
--- | ||
|
||
### 特性 | ||
|
||
- 🛠️ 提供日常开发中经常使用的实用工具 | ||
- 🛠️ 工具实现非常轻量 | ||
- 🛠️ 使用 ts 编写,提供完善的类型支持 | ||
|
||
### 安装 | ||
|
||
```shell | ||
# npm | ||
npm i rattail -S | ||
# yarn | ||
yarn add rattail | ||
# pnpm | ||
pnpm add rattail | ||
``` | ||
|
||
### 使用 | ||
|
||
```ts | ||
import { isString } from 'rattail' | ||
|
||
console.log(isString('rattail')) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters