dummy-data-khair
v13.0.0
Published
Provides you an array of customizable dummy objects of type string, number and url, for the testing and production purpose, that reduces the manual effort of making dummy data, searching image urls and brain storming different attributes. This will defina
Downloads
49
Maintainers
Readme
#@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.