npm.io
0.0.4 • Published 5 years ago

sharma-json

Licence
—
Version
0.0.4
Deps
1
Size
31 kB
Vulns
0
Weekly
0

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.....