0.0.4 • Published 3 years ago
sharma-json v0.0.4
SharmaJson
This library help you to generate json objects.
Install
npm i sharma-json
Import the module
import { SharmaJsonModule } from 'sharma-json';
Then add the module bellow,
imports: SharmaJsonModule
Import the service in your component
import { SharmaJson } from 'sharma-json';
Then call getJson(numberOfObject) function. The function will return an array of json object(s). The function value will be 1 - 100000. If you use 1000, It means the function will return you an array of 1000 json objects.
constructor(myjson : SharmaJson) { console.log(myjson.getJson(5555)); }
Thanks.....