Tool
generator-suitecloud-typescript
A Yeoman generator that scaffolds a TypeScript build pipeline for NetSuite SuiteCloud (SDF) projects.
NetSuite’s own SuiteCloud CLI (suitecloud project:create) has no TypeScript option. This generator scaffolds a proper TypeScript build pipeline on top of it, so SuiteScript projects can be written in TypeScript instead of hand-maintained JavaScript.
What it produces
- A TypeScript build layer at the project root: server-side config for SuiteScript entry points (Suitelets, RESTlets and so on) compiled to the AMD/ES5 format SuiteScript 2.x expects, and a separate client-side config for browser code, bundled independently.
- The actual SDF Account Customization Project, generated alongside it.
- A working sample RESTlet with a Jest test, so a new project starts from something that already builds and passes.
It’s the same generator we use internally to scaffold our own NetSuite projects, including NetSuite Schema Publisher.
Licensing
This generator is source-available for noncommercial use under the PolyForm Noncommercial License. It is not OSI open-source software, and commercial use requires a separate licence. Projects it scaffolds can be used and licensed commercially by their own authors.
Get in touch if you’d like to discuss commercial use or a NetSuite TypeScript project built with it.