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 🙏

© 2024 – Pkg Stats / Ryan Hefner

cristatus

v1.0.2

Published

React Utilities Made Easy

Downloads

1

Readme

Cristatus

This JavaScript library, built on top of TypeScript, is designed to simplify working with arrays, objects, strings, numbers and dates. Let's get started with using Cristatus in your projects.

Installation

To start using Cristatus, install the main library package:

# Using npm 
npm install cristatus

# Using yarn
yarn add cristatus

# Using pnpm
pnpm install cristatus

For detailed information about all available utility functions, refer to our Documentation

Steps to Run

  • Clone the Repository
  • pnpm run install-package (to install npm package deps)
  • pnpm run lint-package (for eslint and stylelint in package)
  • pnpm run test-package (for tests, eslint and stylelint in package)
  • pnpm run test (for tests in package)
  • pnpm run build (to build npm package)
  • pnpm run install-docs (to install deps for documentation website)
  • pnpm run start-docs (to start localhost:3000 for documentation website)

Open Source Community and Support

Here, you can actively participate by opening issues to discuss various topics, asking questions to seek help, and sharing your valuable experiences.

We encourage you to make a positive impact by contributing to this repository through Pull Requests (PRs). Your PRs can include bug fixes, new utilities, or enhancements that align with the project's goals. Together, we can collaborate to improve and innovate.

Join us in shaping the future of this project by engaging in meaningful discussions, raising issues, and submitting PRs. Your involvement makes all the difference!

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

List of all the Utils

| Name | Description | Contributor | Status | | ---- | ----------- | ----------- | ------ | | camelCase | Converts a string to camel case. | @anmolbansal7 | Stable | | isArray | Checks if the given value is an array. | @anmolbansal7 | Stable | | isBoolean | Checks if the given value is a boolean. | @anmolbansal7 | Stable | | isBrowser | Checks if the current environment is a browser. | @anmolbansal7 | Stable | | isDate | Checks if the given value is a date. | @anmolbansal7 | Stable | | isDateObject | Checks if the given value is a Date object. | @anmolbansal7 | Stable | | isEmpty | Checks if a value is empty. | @anmolbansal7 | Stable | | isEqual | Checks if two values are equal. | @anmolbansal7 | Stable | | isFunction | Checks if the given value is a function. | @anmolbansal7 | Stable | | isNumber | Checks if the given value is a number. | @anmolbansal7 | Stable | | isObject | Checks if the given value is an object. | @anmolbansal7 | Stable | | isRegex | Checks if the given value is a regular expression. | @anmolbansal7 | Stable | | isString | Checks if the given value is a string. | @anmolbansal7 | Stable | | kebabCase | Converts a string to kebab case. | @anmolbansal7 | 1 test case fail | | prefersDarkMode | Returns a boolean value indicating whether the user's device prefers dark mode. | @anmolbansal7 | Stable | | snakeCase | Converts a string to snake case. | @anmolbansal7 | 1 test case fail | | startCase | Converts string to Start Case. | @anmolbansal7 | Stable | | toRawType | Returns the raw type of a value. | @anmolbansal7 | Stable |