For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/packages/rspeedy/functions/createRspeedy.md.
Lynx
  • 简体中文
  • 函数: createRspeedy()

    createRspeedy(options: CreateRspeedyOptions): Promise<RspeedyInstance>

    createRspeedy 方法用于创建一个 Rspeedy 实例,你可以借此在 Node.js 运行时中自定义构建或开发流程。

    参数

    返回

    Promise<RspeedyInstance>

    Rspeedy 实例。

    示例

    import { createRspeedy } from '@lynx-js/rspeedy'
    
    void async function () {
      const rspeedy = await createRspeedy({})
      await rspeedy.build()
    }()
    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。