@7rabbit/ink-environment 中文文档教程
ink-environment
Ink for Node.js 和浏览器
Introduction
Installation
npm install @7rabbit/ink
npm install @7rabbit/ink-environment
Illustration
这是一个 Hello World 示例。
import environment from '@7rabbit/ink-environment'
import Ink from '@7rabbit/ink'
let ink = new Ink()
ink.attachModule(environment)
下面的其余部分是一个 API 参考,记录了 ink-environment
附加到 ink
对象的每个方法。
ink-environment
Ink for Node.js and the Browser
Introduction • Installation • Illustration
Introduction
Installation
npm install @7rabbit/ink
npm install @7rabbit/ink-environment
Illustration
This is a Hello World example.
import environment from '@7rabbit/ink-environment'
import Ink from '@7rabbit/ink'
let ink = new Ink()
ink.attachModule(environment)
The rest of what follows is an API reference documenting every method ink-environment
attaches to the ink
object.