szk2s / n4m-typescript-boilerplate

example of setting up minimal typescript environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node for Max TypeScript Boilerplate

A boilerplate of using TypeScript in Node for Max.

medium

Features

This boilerplate expects two use-cases.

  • ts-node mode
    • runs the code on-the-fly without dumping .js files out
    • fast to boot up
    • recommended for development
  • javascript mode
    • transpiles the code with tsc and then execute the dumped .js files
    • fast to execute

And, in both modes, basic types for Node.js core modules and MaxAPI are already included.

Contributing

PRs are welcome!

Licence

MIT © Yuichi Yogo

About

example of setting up minimal typescript environment

License:MIT License


Languages

Language:Max 97.0%Language:TypeScript 2.5%Language:JavaScript 0.4%