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

sc-jslib

v0.0.13

Published

Silence Creative - JavaScript Library

Readme

sc-jslib

sc-jslib is simple javascript library contains three types of modules,

  1. check module: this module has the commonn check functions that use to check if the value or objeact is match the certain data-type or specific value, and these functions are:
  • isUndefined: check if the value is undifined
  • isNull: check if the value is Null
  • isString: check if the value is String
  • isArray: check if the value is Array
  • isObject: check if the value is Object
  • isBoolean: check if the value is Boolean
  • isFunction: check if the value is Function
  • isNumber: check if the value is Number
  • isDate: check if the value is Date
  • isMap: check if the value is Map
  • isSet: check if the value is Set
  • isEmpty: check if the value is Empty
  • isEmptyObject: check if the value is Empty Object
  • isBlank: check if the value is Blank
  • isTelephoneNumber: check if the value is Telephone Number
  • isEmail: check if the value is Email
  • isValidDomain: check if the value is Valid Domain
  1. validation module: this module has the common validation functions that use to validate value, in-case the value invalid the error exception will throw so should used try catch, and these functions are:
  • validateNotNullValue: validate the value is not null.
  • validateNotBlnkValue: validate the value is not blank.
  • validateLengthMatch: validate the value length match the provided length.
  • validateLengthNotGreater: validate the value length less than or equal the provided length.
  • validateLengthNotLess: validate the value length grater than or equal the provided length.
  • validateLengthBetween: validate the value length between the provided minLength and maxLength.
  1. common module: this module has the common or un-grouped functions, and these functions are:
  • getRandomInt: generate random number, the max value can be provided as max variable.
  • getReactElementTage: return the react element tag name or null.