This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
generator-fsharp with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
The aim of the project is to provide good and easy way of scaffolding F# projects outside of IDE such as Visual Studio and Xamarin Studio.
Yeoman is popular node.js based scaffolding tool used also by for example ASP.NET vNext team. Also there exists nice integrations of Yeoman with text editors such as Atom.
Available templates are stored also on GitHub (in templates branch branch of this repository) so it's very easy to add / update templates without need of updating generator.
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
npm install -g yo
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-fsharp from npm, run:
npm install -g generator-fsharp
Finally, initiate the generator:
The library is available under Apache 2 license, which allows modification and redistribution for both commercial and non-commercial purposes.
At the moment, several helpers are working to make scaffolding easier:
ApplicationNamepart is replaced with application name user provided.
<%= namespace %>tag can be used to insert application name provided by user ( example#1, example#2 )
<%= guid %>tag can be used to insert randomly generated GUID ( example#3 )
<%= pacakgesPath %>tag can be used to insert path to packages folder ( example#4 )
<%= paketPath %>tag can be used to insert path to
.paketfolder ( example#5 )