Aoconnect
Installing aoconnect
Prerequisites
In order to install ao connect into your app you must have NodeJS/NPM 18 or higher.
Installing
npm
npm install --save @permaweb/aoconnect
yarn
yarn add @permaweb/aoconnect -D
This module can now be used from NodeJS as well as a browser, it can be included as shown below.
ESM (Node & Browser) aka type: module
import {
result,
results,
message,
spawn,
monitor,
unmonitor,
dryrun,
} from "@permaweb/aoconnect";
CJS (Node) type: commonjs
const {
result,
results,
message,
spawn,
monitor,
unmonitor,
dryrun,
} = require("@permaweb/aoconnect");