Chance
Có thể bạn quan tâm
- Chance
- Acknowledgements & Thanks
- Usage
- bower
- browser
- cli
- node
- requirejs
- seed
- function
- Basics
- bool
- falsy
- character
- floating
- integer
- letter
- natural
- prime
- string
- Text
- paragraph
- sentence
- syllable
- word
- Person
- age
- birthday
- cf
- cpf
- first
- gender
- last
- name
- prefix
- ssn
- suffix
- Thing
- animal
- Mobile
- android_id
- apple_token
- bb_pin
- wp7_anid
- wp8_anid2
- Web
- avatar
- color
- company
- domain
- fbid
- google_analytics
- hashtag
- ip
- ipv6
- klout
- profession
- tld
- url
- Location
- address
- altitude
- areacode
- city
- coordinates
- country
- depth
- geohash
- latitude
- locale
- longitude
- phone
- postal
- postcode
- province
- state
- street
- zip
- Time
- ampm
- date
- hammertime
- hour
- millisecond
- minute
- month
- second
- timestamp
- timezone
- weekday
- year
- Finance
- cc
- cc_type
- currency
- currency_pair
- dollar
- euro
- exp
- exp_month
- exp_year
- Helpers
- capitalize
- mixin
- pad
- pick
- pickone
- pickset
- set
- shuffle
- Miscellaneous
- coin
- dice
- guid
- hash
- hidden
- n
- normal
- radio
- rpg
- tv
- unique
- weighted
Chance is a minimalist generator of random [1] strings, numbers, etc. to help reduce some monotony particularly while writing automated tests or anywhere else you need anything random.
Chance is open source software and is released under the developer and business-friendly MIT License
Chance is loaded on this site so you can just open the console on your browser and play!

Tweet
Written by Victor Quinn

- chance.js (for development) - 95KB uncompressed
- chance.min.js (for production) – 55KB, 17KB when gzipped
Or move on to the Usage section for many other ways to get and use Chance.
Acknowledgements & Thanks
Thank you to Sean McCullough for your Mersenne Twister gist on which almost the entirety of this library is dependent. And to Takuji Nishimura and Makoto Matsumoto who wrote the original C version on which Sean's JavaScript gist is based.
And of course a monster thank you to all of the Contributors to this project!
© 2013 Victor Quinn Chance and this documentation are released under the terms of the MIT license.
[1] Of course true mathematicians out there would say that this ought to be considered as only generating pseudo-random things, not true random. For that we'd need some external entropy, not depending on a Mersenne Twister, blah, blah, blah. However, for most practical uses of this library for which it was created and intended, such as generating random names and addresses for automated tests, our random is good enough. But it should probably NOT be used for any cryptographic applications requiring true-random. See Wikipedia's article for more info.
Từ khóa » Npm Chance
-
Chance - Npm
-
Chance - Random Generator Helper For JavaScript - GitHub
-
Chance NPM
-
Chance - Npm Package Health Analysis - Snyk
-
Chance.Chance JavaScript And Node.js Code Examples - Tabnine
-
Chance CDN By JsDelivr - A CDN For Npm And GitHub
-
Chance Vs Faker | Npm Trends
-
Install Chance In Cypress Code Example - Code Grepper
-
Import Chance.js To React Native - Stack Overflow
-
Chance 1.0.8 CDN, Download Chance NPM Package, Install ...
-
Chance.js: A Good Replacement Of Fakerjs - Dev Genius
-
Farewell Faker, Time To Give A Chance | By Marcos Henrique Da Silva
-
Clifford Chance Advises NPM Capital On The Financing Of The ...