1 | # bower
|
2 |
|
3 | Chance can be easily installed with [Bower](https://bower.io)
|
4 |
|
5 | ```bash
|
6 | bower install chance
|
7 | ```
|
8 |
|
9 | then in the HTML of your app:
|
10 |
|
11 | ```html
|
12 | <!-- Load Chance -->
|
13 | <script type="text/javascript" src="bower_components/chance/chance.js"></script>
|
14 | <script>
|
15 | // Use Chance
|
16 | alert(chance.string());
|
17 | </script>
|
18 | ```
|
19 |
|