A simple boilerplate to get you started on your next Figma plugin.
You need Node JS and TypeScript.
npm i -g typescript
npm i -D @figma/plugin-typings
Note: There's actually no need to develop plugins with TypeScript, valid JavaScript works fine. Eventhough the Figma team is recommending development with TypeScript.
Read more in the Figma Docs.
Happy coding! ✌️