SB-6.1-PRE
This commit is contained in:
1 parent
690169a409
commit
358a25f522
3760 files changed
+300059
-36
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
# ssn
|
||||
|
||||
```js
|
||||
// usage
|
||||
chance.ssn()
|
||||
chance.ssn({ ssnFour: true })
|
||||
chance.ssn({ dashes: false })
|
||||
```
|
||||
|
||||
Generate a random social security number.
|
||||
|
||||
```js
|
||||
chance.ssn();
|
||||
=> '411-90-0070'
|
||||
```
|
||||
|
||||
Optionally provide option of getting only the last four
|
||||
|
||||
```js
|
||||
chance.ssn({ ssnFour: true });
|
||||
=> '2938'
|
||||
```
|
||||
|
||||
Optionally specify dashes be removed
|
||||
|
||||
```js
|
||||
chance.ssn({ dashes: false });
|
||||
=> '293839295'
|
||||
```
|
||||
Reference in new issue
Block a user