bnv-utils
npm install --save bnv-utils
Demo and playground are available here
import React from 'react';
import { makeArray } from 'bnv-utils';
const Demo = () => {
const data = makeArray(10);
return (
<div>
{JSON.stringify(data, undefined, 4)}
</div>
);
};
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:6006 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
MIT © bonnv79