Facility supports tools and libraries for using JavaScript and/or TypeScript with Facility Service Definitions.
Generate a JavaScript or TypeScript client or server for your Facility Service Definition by doing one of the following:
fsdgenjs tool on the command line or in a build script.Facility.CodeGen.JavaScript .NET library (NuGet Package) in your own build tool.fsdgenjs is a command-line tool that generates JavaScript or TypeScript for a Facility Service Definition.
Install fsdgenjs as documented from its NuGet package.
fsdgenjs generates files for client, Express server, and types and supports the standard command-line options as well as the following additional command-line options:
--module <name>: Sets the name of the generated module.--typescript: Generates TypeScript rather than JavaScript.--express: Generates an Express server.--disable-eslint: Disables ESLint via code comment.