JSPM

@nova-fe/utils

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q30445F
    • License ISC

    基于 rollup 4 + typescript 封装常用的工具函数,利用 Jest 实现自动化测试;vscode 自定义工作区 保持代码风格一致;可在 react、vue 项目中使用。

    Package Exports

    • @nova-fe/utils

    Readme

    @nova-fe/utils

    基于 rollup 4 + typescript 封装常用的工具函数,利用 Jest 实现自动化测试;vscode 自定义工作区 保持代码风格一致;可在 react、vue 项目中使用。

    例子

    import { sleep } from "@nova-fe/utils";
    
    const clickFn = async () => {
      await sleep(3000);
      console.log("3秒后执行");
    };

    手把手搭建工具库