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
FSM 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.
bower install --save FSM
npm install --save FSM
To build the library you'll need to use Grunt. First install the required node modules (grunt-cli must be installed):
git clone https://github.com/GetmeUK/FSM.git cd FSM npm install
grunt build to build the project.
To test the library you'll need to use Jasmine. First install Jasmine:
git clone https://github.com/pivotal/jasmine.git mkdir FSM/jasmine mv jasmine/dist/jasmine-standalone-2.0.3.zip FSM/jasmine cd FSM/jasmine unzip jasmine-standalone-2.0.3.zip
FSM/SpecRunner.html in a browser to run the tests.
Alternatively you can use
grunt jasmine to run the tests from the command line.
Full documentation is available at http://getcontenttools.com/api/fsm