Using Node.js and NPM with Paket and FAKE

Using Node.js and NPM with Paket and FAKE

Introduction

Web development is great fit for F# and Functional Programming . Libraries like Suave or Freya makes it easy to create well-architectures, composable web applications. But that’s backend part of story. Nowadays most web applications are required to have lot of user interactions and logic on the front-end side - in the browser.

Two important tools for front-end JavaScript development are Node.js (JS backend server, used for running many JS development tools) and npm - package manager for Node.js. Those 2 tools are often installed globally on developer PC, are used to define dependencies for front-end application, and define build pipeline for it.

But, using different build tools for backend and front-end development in one application can get annoying and tiresome for developer, so it would be nice to use one build pipeline for all tasks. And it is possible with Paket and FAKE.

read more