Tutorial of writing a SuiteScript 2.1 script in TypeScript on Mac using VS Code and SDF. In this example we learn how to use the N/cache module in user event scripts. I show how to cache seldom changing NetSuite record data, as well as caching a 3rd party 3PL API token