File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,14 @@ This standalone javascript micro-framework provides a finite state machine for y
77 * You can find a [ description here] ( http://codeincomplete.com/posts/2013/1/26/javascript_state_machine_v2_2_0/ )
88 * You can find a [ working demo here] ( http://codeincomplete.com/posts/2011/8/19/javascript_state_machine_v2/example/ )
99
10- This library has also been ported to:
11-
12- * [ Go] ( https://github.com/looplab/fsm ) by @maxpersson
13- * [ Python] ( https://github.com/oxplot/fysom ) by @oxplot
14-
1510Download
1611========
1712
18- You can download [ state-machine.js] ( https://github.com/jakesgordon/javascript-state-machine/raw/master/state-machine.js ) ,
13+ Using npm:
14+
15+ npm install --save javascript-state-machine
16+
17+ Download [ state-machine.js] ( https://github.com/jakesgordon/javascript-state-machine/raw/master/state-machine.js ) ,
1918or the [ minified version] ( https://github.com/jakesgordon/javascript-state-machine/raw/master/state-machine.min.js )
2019
2120Alternatively:
@@ -33,7 +32,7 @@ Alternatively:
3332Usage
3433=====
3534
36- Include ` state-machine.js ` in your web application, or, for nodejs ` require("javascript-state-machine.js ") ` .
35+ Include ` state-machine.js ` in your web application, or, for npm ` require("javascript-state-machine") ` .
3736
3837In its simplest form, create a standalone state machine using:
3938
You can’t perform that action at this time.
0 commit comments