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

jotils

v2.1.4

Published

[![CircleCI](https://circleci.com/gh/JoshK2/jotils.svg?style=svg)](https://circleci.com/gh/JoshK2/jotils) [![bit components](https://img.shields.io/badge/dynamic/json.svg?color=6e3991&label=bit%20components&query=payload.totalComponents&url=https%3A%2F%2F

Readme

Jotils - JavaScript utility functions library

CircleCI bit components npm version GitHub stars code style: prettier GitHub license Twitter Follow

Jotils is a JavaScript utility functions library.
The library is published to npm as a pacakge, and also exported to bit.dev as a collection of components, so you can install a specific function of the project without having to install the whole project, you can do it from here.
The project has 29 functions for the moment and continues to grow, you can contribute to this with pleasure.

  • ✂️Zero dependencies
  • 📦Functions can be installing separately
  • ✅Functions are tested

Live Demo

Browse components and explore their props with Bit.
Install components and live demo

🚀 List of functions

Every function have a live demo with docs and tests.

💻 Installation and Usage Examples

Using npm to install jotils:

$ npm i --save jotils
const J = require('jotils');

Using bit to install a specific function:
set npm regisetry config(one time action)

npm config set '@bit:registry' https://node.bit.dev
$ npm i @bit/joshk.jotils.letter-count
const { letterCount } = require('@bit/joshk.jotils.letter-count');

👾🙌 Contributing

  • Pull requests and ⭐ stars are always welcome.
  • For bugs and feature requests, please create an issue.
  • For major changes, please open an issue first to discuss what you would like to change.
  • Please make sure to update tests as appropriate.

Steps to contribute

  1. Fork the project and clone.
  2. Create folder for your function in this folder, name the folder and the function file in lower case, and the function with upper case. See example of naming in this folder folder.
  3. The function need to be exported with index file inside the folder function, so create index.ts file to export your function. (NOT USE EXPORT DEFAULT)
  4. Run npm run createindexfile to generate the main index.ts file in components folder that export all the functions.
  5. Run npm run build to generate the build folder folder.
  6. Run npm run test to check the functions.
  7. Share with the community by submitting a PR.

📄 License

MIT