See README
npm install @dsnp/sdk
- Import:
import sdk from "@dsnp/sdk";
import { setConfig } from "@dsnp/sdk";
import { publish } from "@dsnp/sdk/core/contracts/publisher";
- Require:
const sdk = require("@dsnp/sdk");
const { setConfig } = require("@dsnp/sdk");
const { publish } = require("@dsnp/sdk/core/contracts/publisher");