How to use the signale.timeEnd function in signale

To help you get started, we’ve selected a few signale examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github terascope / teraslice / e2e / spec / setup.js View on Github external
.then(() => {
            signale.timeEnd('global setup');
            done();
        })
        .catch((err) => {
github hummal / crittr / index.js View on Github external
let crittr;
        let resultObj = {critical: null, rest: null};

        try {
            crittr   = new Crittr(options);
        } catch (err) {
            reject(err);
        }

        try {
            (resultObj = await crittr.run());
        } catch (err) {
            reject(err);
        }
        resolve(resultObj);
        log.timeEnd("Crittr Run");
    });
};
github GitSquared / edex-ui / src / _boot.js View on Github external
tty.onopened = () => {
        signale.success("Connected to frontend!");
        signale.timeEnd("Startup");
    };
    tty.onresized = (cols, rows) => {