1.0.2 • Published 1 year ago

cristatus v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

NameDescriptionContributorStatus
camelCaseConverts a string to camel case.@anmolbansal7Stable
isArrayChecks if the given value is an array.@anmolbansal7Stable
isBooleanChecks if the given value is a boolean.@anmolbansal7Stable
isBrowserChecks if the current environment is a browser.@anmolbansal7Stable
isDateChecks if the given value is a date.@anmolbansal7Stable
isDateObjectChecks if the given value is a Date object.@anmolbansal7Stable
isEmptyChecks if a value is empty.@anmolbansal7Stable
isEqualChecks if two values are equal.@anmolbansal7Stable
isFunctionChecks if the given value is a function.@anmolbansal7Stable
isNumberChecks if the given value is a number.@anmolbansal7Stable
isObjectChecks if the given value is an object.@anmolbansal7Stable
isRegexChecks if the given value is a regular expression.@anmolbansal7Stable
isStringChecks if the given value is a string.@anmolbansal7Stable
kebabCaseConverts a string to kebab case.@anmolbansal71 test case fail
prefersDarkModeReturns a boolean value indicating whether the user's device prefers dark mode.@anmolbansal7Stable
snakeCaseConverts a string to snake case.@anmolbansal71 test case fail
startCaseConverts string to Start Case.@anmolbansal7Stable
toRawTypeReturns the raw type of a value.@anmolbansal7Stable
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago