Package Exports
- @antv/util
- @antv/util/esm/index.js
- @antv/util/lib
- @antv/util/lib/index.js
- @antv/util/lib/matrix
- @antv/util/lib/matrix/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@antv/util) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
util
AntV 底层依赖的工具库,不建议在自己业务中使用。
Usage
import { gradient } from '@antv/util';
原则
- util 只有一个 npm 包,按照目录来组织不同类型的方法,避免 monorepo 互相依赖
- 内容和 AntV 强相关,避免做和 lodash 等相同的工具库
- 不使用的方法,及时删除,并保持新增方法可以按需引入
- 旧版本的不维护,如果 AntV 技术栈的旧版本需要迭代,请升级到 v3
License
MIT@AntV.