UNPKG

near-sdk-js

Version:

High Level JavaScript SDK for building smart contracts on NEAR

5 lines (4 loc) 234 B
import * as fs from "fs"; import { fileURLToPath } from "url"; const PACKAGE_JSON = JSON.parse(fs.readFileSync(fileURLToPath(new URL("../package.json", import.meta.url)), "utf-8")); export const LIB_VERSION = PACKAGE_JSON["version"];