Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.63 KB

File metadata and controls

63 lines (45 loc) · 1.63 KB

TypeScript Npm Template Simple


Tiny TS Lib Starter
npm npm npm bundle size node-current

一些其他提示和备注.(可选)

🚀 Commands

Command Description
build-fast 使用 tsup build ts,生成 ejs / esm
build yarn build-fast
test 使用 uvu 测试
... ...

⭐️ Features

  • 使用 typescript 编写,提供更好的代码提示和类型检查
  • 包体积更小,轻量无依赖
  • 内置 ESLint 和 Prettier 支持,让代码错误无所遁形
  • uvu 配置,yarn test 轻量美妙的单元测试
  • 无须配置,只需一个命令行

📦 Getting Started

install

# npm 
npm install --save lib

# yarn
yarn add lib

usage

参数配置如下:

Option Type Description
param1 string intro param
param1 string intro param
import utils from lib

utils()

For more examples, please refer to the Documentation

LICENSE

MIT