Installation
How to install thor-devkit.js in order to use it with TypeScript or Javascript.
If using TypeScript follow the NPM installation steps, for JavaScript follow the CommonJS (CJS) installation steps.
NPM
Upon installation, you may utilize the subsequent code snippet to verify the proper functioning within your TypeScript project:
CJS
Set "commonjs" type in `package.json` file:
Use require instead of import:
Last updated
Was this helpful?