-
When executing fresh installation of Chance CLI, I get this error:
```
$ chance
/usr/local/bin/chance: line 1: //: is a directory
/usr/local/bin/chance: line 2: //: is a directory
/usr/local/bin/chan…
-
When executing any of the following commands, I get no output:
```
$ node /usr/local/bin/chance
$ node /usr/local/bin/chance guid
$ node /usr/local/bin/chance hash
$ node /usr/local/bin/chance foofaa…
-
I found this when copy-and-pasting codes from
These are copies from http://chancejs.com/, note the quotes are not valid JavaScript.
``` js
var Chance = require(‘chance’);
var chance1 = new Chance(“…
-
I have a gist that uses Chance.js to deal cards.
Do you think it's useful to include a `deal()` function to Chance.js?
https://gist.github.com/leesei/7982894
-
Hey good morning,
We need to update the website with the `avatar()` method documentation.
Thanks!
-
I'm using chancejs to pick elements from an array. I don't know in advance how many elements my array has and I also don't know how many elements I need to pick. Occasionally, the array may be empty o…
-
Create a property based testing plugin for unexpected.
Here is some ideas for the syntax:
``` js
function add (a, b) {
return a + b;
}
expect(function (chance) {
expect(add, 'when called wi…
-
It could just be me... I'm writing a program that utilizes all of chance.js so I've ran all of the functions and these are the ones that did not work:
- Altitude {max} doesn't work
- Country doesn't w…
Xarex updated
8 years ago
-
Pick with count currently returns an array when count > 1.
When count is 1, it returns a single element, same as calling without a count.
For consistency, when count is present it should always retur…
-
```
$ bower install loader.js
bower loader.js#~3.2.0 mismatch Version declared in the json (3.1.0) is different than the resolved one (3.2.0)
bower loader.js#~3.2.0 …