@nashanunais/npm-package
v1.1.6
Published
## Description
Downloads
9
Maintainers
Readme
@nashanunais/npm-package
Description
A utility package for generating mock organiser data with customizable properties.
Installation
To install this package, use npm or yarn:
npm install @nashanunais/npm-package
or
yarn add @nashanunais/npm-package
Usage
Importing
import generateMockOrganiser from "@nashanunais/npm-package";
Generating Default Data
const defaultOrganiser = generateMockOrganiser();
console.log(defaultOrganiser);
Customizing Data
const customOrganiser = generateMockOrganiser({
email: "[email protected]",
city: "Custom City",
});
console.log(customOrganiser);
Parameters
overrides
(optional): An object to override any subset ofOrganiser
properties.