Skip to content

Commit

Permalink
Datatype API ( #12 )
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunlong authored Jun 27, 2022
2 parents 9ea1898 + 037280e commit 392e39c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.1.0 (2022-06-28)

### ✨ Features

* Datatype: module to generate various primitive values and data types.

Credits

* [@Bunlong](https://github.com/Bunlong)

## 0.0.7 (2022-06-23)

### ✨ Features
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ The API covers the following modules:
| Commerce | `commerce.product()` | Polo t-shirt |
| Company | `company.companyName()` | Zboncak and Sons |
| Database | `database.engine()` | MyISAM |
| Datatype | `datatype.uuid()` | 7b16dd12-935e-4acc-8381-b1e457bf0176 |

## 📜 Changelog

Latest version 0.0.6 (2022-06-23):
Latest version 0.1.0 (2022-06-28):

* API
* Database: module to generate database related entries.
* Datatype: module to generate various primitive values and data types.

Details changes for each release are documented in the [CHANGELOG.md](https://github.com/Bunlong/react-papaparse/blob/master/CHANGELOG.md).

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-faker",
"version": "0.0.7",
"version": "0.0.8",
"description": "React hook for generating fake data for testing and development.",
"author": "Bunlong <bunlong.van@gmail.com>",
"license": "MIT",
Expand All @@ -18,7 +18,8 @@
"reactjs",
"react",
"fakerjs",
"faker"
"faker",
"react-faker"
],
"homepage": "https://next-faker.github.io",
"main": "dist/next-faker.js",
Expand Down
1 change: 1 addition & 0 deletions src/useFaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export function useFaker() {
commerce: faker?.commerce,
company: faker?.company,
database: faker?.database,
datatype: faker?.datatype,
};
}

0 comments on commit 392e39c

Please sign in to comment.