nayanchamp7 / loadytimer

LoadyTimer is a very simple node package to see the current page load time in browser console. The timing parameter is in second.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

loadytimer

LoadyTimer is a very simple node package to see the current page load time in browser console. The timing parameter is in second.

What is this?

This package give the load time for current page in console log. The parameter is in second.

Installation

npm i loadytimer --save

Then...

import {loadytimer} from 'loadytimer';

//pass false inside the function not to show time in console, just return it.
loadytimer(false);

About

LoadyTimer is a very simple node package to see the current page load time in browser console. The timing parameter is in second.