#@yogesh.exe/dummy-data
Generate customizable dummy data arrays with ease! @yogesh.exe/dummy-data
is a lightweight npm package that simplifies the creation of dummy data for your testing and development needs.
Installation
npm install dummy-data-khair
Usage
import generateDummyData from "dummy-data-khair";
function App() {
const fields = [
{ name: "name", type: "string" },
{ name: "age", type: "number" },
{ name: "avatar", type: "image" },
];
const dummyData = generateDummyData(5, fields);
return <>{console.log(dummyData)}</>;
}
export default App;
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
If you would like to contribute to this project, please follow the Contributing Guidelines.
Author
Yogesh Khair Vashisth.