Navigator Prefabricating Marinates

    @tntd/utils
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.3 • Public • Published

    @tntd/utils

    TNTD前端业务代码工具库,支持TS引用

    目的:高效率完成前端业务代码

    我们把业务开发中常用的工具类函数,统一封装到@tntd/utils包下,以提高开发效率。

    安装使用

    $ npm install --save-dev @tntd/utils
    import { getCookie } from "@tntd/utils";
    
    const cookie = getCookie("test");

    支持按需加载(推荐)

    安装babel插件

    $ npm install babel-plugin-tntd-utils --save-dev

    .babelrc中添加如下配置即可

    "plugins": [
        [
          "babel-plugin-tntd-utils",
          {
            "library": ["@tntd/utils"]
          }
        ],
    ]

    Keywords

    none

    Install

    npm i @tntd/utils

    DownloadsWeekly Downloads

    6

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    60.4 kB

    Total Files

    80

    Last publish

    Collaborators

    • ezios
    • td-tnt
    • bruceliu68
    • bernardzhang
    • mizy
    • zhouzefei
    • leocmial
    • xiaofei.wang
    • anthonyli
    • xiaocuicui
    • popoqaq