deverything
Advanced tools
Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "deverything", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "Everything you need for Dev", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -7,3 +7,3 @@ # DEVerything | ||
- **one package**: say goodbye to installing lodash, faker, this and that and the other one. | ||
- **1 package**: say goodbye to installing lodash, faker, this and that and the other one. | ||
- **0 dependencies**: keep it simple and lightweight. | ||
@@ -18,18 +18,30 @@ - **Pick the best**: the code is minimal and uses the best current practices and performance. | ||
- `isBrowser` | ||
- `isClient` | ||
- `isEmpty` | ||
- `isJsDate` | ||
- `isObject` | ||
- `isServer` | ||
- `isStringDate` | ||
- `isBrowser()` | ||
- `isClient()` | ||
- `isEmpty()` | ||
- `isJsDate()` | ||
- `isObject()` | ||
- `isServer()` | ||
- `isStringDate()` | ||
### Helpers | ||
- `parseDate` | ||
- `parseDate(date: Date | string | number): Date` | ||
### Random data generators | ||
These functions are optimised for low entropy random data generation useful for Unit Testing, Storybook, Pass real validations, Reverse hacking, Penetration testing... | ||
These functions are optimized for low entropy random data generation useful for Unit Testing, Storybook, Pass real validations, Reverse hacking, Penetration testing... | ||
- `randomInt` | ||
- `randomAddress(): { city: string, country: string, street: string, number: number, zip: string}` | ||
- `randomArrayItem()` | ||
- `randomBool()` | ||
- `randomDate()` | ||
- `randomFutureDate()` | ||
- `randomPastDate()` | ||
- `randomEmail()` | ||
- `randomInt()` | ||
- `randomName()` | ||
- `randomFirstName()` | ||
- `randomLastName()` | ||
- `randomFullName()` | ||
- `randomHandle()` |
10379
46