typescript-lodash

0.2.2 • Public • Published

写 TS 像写 JS 一样容易

OSCS Status NPM URL Typescript Limit NPM URL

Make writing TypeScript as easy as writing JavaScript

安装 Install

yarn add typescript-lodash # or:npm install --save typescript-lodash

使用 Usage

import { string } from "typescript-lodash"
// or use `import * as t from "typescript-lodash"` and then `t.string.Split<"">`
// or use `import { Split } from "typescript-lodash/lib/string"` and then `Split<"">`

type IString = "今天很高兴"

type TypeExample = string.Split<IString, "">

// 得到
type TypeResult = ["今", "天", "很", "高", "兴"]

查看文档 Documentation

中文文档 Chinese Documentation

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.215latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.215
0.2.12
0.2.00
0.1.00
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i typescript-lodash

Weekly Downloads

17

Version

0.2.2

License

MIT

Unpacked Size

54.1 kB

Total Files

17

Last publish

Collaborators

  • kawayilinlin