javascriptchakracore

How can I create javascript standalone executables, hosted by ChakraCore?


I already know about jsc.exe (part of .NET SDK), that generates executables hosted by Windows Script Host.

Also I noticed that the latest Typescript versions, the tsc.exe (compiled javascript) is using ChakraCore.dll

So, what tool can I use to generate standalone executables, hosted by ChakraCore? How the Typescript team creates the tsc.exe ?


Solution

  • I work on the TypeScript team.

    tsc.exe is a very basic C++ console app, which basically follows the steps described in the Embedding ChakraCore page on their Wiki for loading and running tsc.js.