ethers.js/docs.wrm/importing-node.source

6 lines
111 B
Plaintext
Raw Normal View History

// CommonJS
const { ethers } = require("ethers");
// ES6 or TypeScript
const { ethers } = require("ethers");