@2snail/libs
v1.3.0
Published
libs import for limit
Downloads
111
Readme
2snail-libs
引入第三方 libs 的入口,原样或加工后重新导出,再在其他项目中使用,而非每个项目都直接使用第三方库.
常用库
Ready:
- [x] fp-ts
- [x] ramda
- [x] rxjs
- [x] yargs
Todo:
- [ ] loadash
- [ ] ixjs
- [ ] debug
- [ ] jest
- [ ] react
- [ ] umi
- [ ] dumi
- [ ] father
Installation
use npm:
npm i -S @snail/libs
or yarn:
yarn add @snail/libs
Useage
import all:
import * as libs from "@2snail/libs";
// libs: { fp, R, rx, ...};
import multi:
import { fp, R, rx } from "@2snail/libs";
// fp: fp-ts
// R: ramda
// rx: rxjs
// rx.operators.map: operators
import one:
// fp-ts:
import fp from "@2snail/libs/fp";
Structor & Customize
![Customize][customize-url]
License
(MIT)
Visited: