npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nv-facutil-setickout

v1.0.1

Published

nv-facutil-setickout ====================== - nv-facutil-setickout - same as setTimeout 0 - for test

Readme

nv-facutil-setickout

  • nv-facutil-setickout
  • same as setTimeout 0
  • for test

install

  • npm install nv-facutil-setickout

usage

    const {
       ERRORS,
       Tick,
       wait_tick,
       set_tickout,
       wait_raf,
       set_rafout
    } = require("nv-facutil-setickout")

example

    > await wait_tick(100)
    true
    >
    > var tick = new Tick(100000)
    undefined
    > tick.p_
    Promise {
      <pending>,
      [Symbol(async_id_symbol)]: 349,
      [Symbol(trigger_async_id_symbol)]: 5,
      [Symbol(destroyed)]: { destroyed: false }
    }
    >
    > tick
    Tick(6) [
      0,
      100000,
      0,
      [Function (anonymous)],
      Promise {
        <pending>,
        [Symbol(async_id_symbol)]: 349,
        [Symbol(trigger_async_id_symbol)]: 5,
        [Symbol(destroyed)]: { destroyed: false }
      },
      null,
      '#setTickout': [Function: setTimeout0],
      '#clearTickout': [Function: clearTimeout]
    ]


    > tick.start()
    true
    >
    > tick.curr_
    6311
    > tick.curr_
    6939
    > tick.curr_
    7667
    > tick.curr_
    8338
    >


    > tick.lefted_
    70388
    > tick.lefted_
    69658
    > tick.lefted_
    69271
    > tick.lefted_
    68893
    >

    > tick.pause()
    true
    > tick.p_
    Promise {
      <pending>,
      [Symbol(async_id_symbol)]: 40,
      [Symbol(trigger_async_id_symbol)]: 5,
      [Symbol(destroyed)]: { destroyed: false }
    }

    > tick.curr_
    44104
    > tick.curr_
    44104
    > tick.curr_
    44104
    >
    >
    > tick.continue()
    true
    >
    > tick.curr_
    45729
    > tick.curr_
    46148
    > tick.curr_
    46551
    >

    > tick.p_
    Promise {
      true,
      [Symbol(async_id_symbol)]: 40,
      [Symbol(trigger_async_id_symbol)]: 5,
      [Symbol(destroyed)]: { destroyed: false }
    }
    > tick.curr_
    100000
    >

METHODS

    tick.cancel                tick.continue              tick.curr_
    tick.hard_reset            tick.hard_restart          tick.has_scheduled         tick.is_canceled
    tick.is_paused             tick.is_ready              tick.is_resolved           tick.is_running
    tick.lefted_               tick.p_                    tick.pause                 tick.soft_reset
    tick.soft_restart          tick.start                 tick.state_                tick.tkout_

APIS

     const wait_tick = (tkout=1,rtrn_tick=false)=> {
     const set_tickout = async (f,tickout=1,...args) => {
     
     //only in browser 
     const wait_raf = (rafout=1,rtrn_tick=false) => {
     const set_rafout = async (f,rafout=1,...args) => {

BROWSER

  • copy ./dist/index.js

      await nvtkout.wait_raf(60)
      await nvtkout.wait_tick(1000)
    
      var tick = new nvtkout.Tick(600,requestAnimationFrame/setTimeout,cancelAnimationFrame/clearTimeout)
      await tick.p_

LICENSE

  • ISC