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

v1.0.4

Published

nv-facutil-kvld ======================== - nv-facutil-kvld is a simple util for config-dict(small kv-dict) - for order

Readme

nv-facutil-kvld

  • nv-facutil-kvld is a simple util for config-dict(small kv-dict)
  • for order

install

  • npm install nv-facutil-kvld

usage

   const {load_from_dict,load_from_file} = require("nv-facutil-kvld");   

example

    var d = {k1:100,k2:200,k3:300}
    var kvld = load_from_dict(d)

    /*
    > kvld
    D { k1: 100, k2: 200, k3: 300 }
    > kvld.il_
    [ 0, 1, 2 ]
    > kvld.kl_
    [ 'k1', 'k2', 'k3' ]
    > kvld.vl_
    [ 100, 200, 300 ]
    > 

    > kvld.kid_
    { '0': 'k1', '1': 'k2', '2': 'k3' }
    > 
    */

    kvld.insert_bfrk("k11",101,"k2")
    /*
    > kvld.insert_bfrk("k11",101,"k2")
    true
    > kvld
    D { k1: 100, k2: 200, k3: 300, k11: 101 }


    > kvld.dump()
    { k1: 100, k11: 101, k2: 200, k3: 300 }
    > 

    > kvld.es_
    [
      [ 0, 'k1', 100 ],
      [ 1, 'k11', 101 ],
      [ 2, 'k2', 200 ],
      [ 3, 'k3', 300 ]
    ]
    > 
    */

    kvld.insert_aftk("k21",201,"k2")

    /*
    > kvld.insert_aftk("k21",201,"k2")
    true
    > kvld
    D { k1: 100, k2: 200, k3: 300, k11: 101, k21: 201 }
    > kvld.dump()
    { k1: 100, k11: 101, k2: 200, k21: 201, k3: 300 }
    > 
    > kvld.es_
    [
      [ 0, 'k1', 100 ],
      [ 1, 'k11', 101 ],
      [ 2, 'k2', 200 ],
      [ 3, 'k21', 201 ],
      [ 4, 'k3', 300 ]
    ]
    > 
    */

    /*
    > kvld.kdel("k11")
    true
    > kvld.kdel("k21")
    true
    > kvld
    D { k1: 100, k2: 200, k3: 300 }
    > kvld.sz_
    3
    >
    */ 

METHODS

        kvld._i                    kvld._iv                   kvld._k                    kvld._kv
        kvld._vi                   kvld._vk                   kvld.apend                 kvld.constructor
        kvld.dump                  kvld.es_                           
        kvld.hasi                  kvld.hask
        kvld.i_ikv                 kvld.i_ivk                 kvld.i_kiv                 kvld.i_kvi
        kvld.i_v                   kvld.i_vik                 kvld.i_vki                 kvld.idel
        kvld.ikl_                  kvld.ikvl_                 kvld.il_                   kvld.inext
        kvld.insert_afti           kvld.insert_aftk           kvld.insert_bfri           kvld.insert_bfrk
        kvld.iprev                 kvld.ivkl_                 kvld.ivl_                  kvld.k_ikv
        kvld.kid_
        kvld.k_ivk                 kvld.k_kiv                 kvld.k_kvi                 kvld.k_vik
        kvld.k_vki                 kvld.kdel                  kvld.kil_                  kvld.kivl_
        kvld.kl_                   kvld.knext                 kvld.kprev                 kvld.kvil_
        kvld.kvl_                  kvld.ppend                 kvld.save                  kvld.set
        kvld.sz_                   kvld.vikl_                 kvld.vil_                  kvld.vkil_
        kvld.vkl_                  kvld.vl_

API

  • load_from_dict(d)
  • load_from_file(json_file_name)

LICENSE

  • ISC