Installing

npm install --save-dev @fluffy-spoon/csharp-to-typescript-generator.webpack

Use

var poco = require('@fluffy-spoon/csharp-to-typescript-generator.webpack');

var webpackConfig = {
  plugins: [
    poco(
      "dist/typings",
      ["Models/*.cs"],
      {
        //options go here
      })
  ]
};

To see what options are available, go here: https://github.com/ffMathy/FluffySpoon.JavaScript.CSharpToTypeScriptGenerator