The Check-Engineering/TS-Utils is a versatile TypeScript utility package that provides a collection of useful functions for various tasks, including array manipulation, date formatting, string & number operations, and object handling. This package offers essential tools to enhance your TypeScript projects with ease.
Below is a brief overview of the main functions included in this package:
- CHECK-ENGINEERING/TS-UTILS
- Table of Contents
- Documentation
- Functions
- Installation
- Usage
- Contributing
- License
For a comprehensive documentation, we highly recommend that you take a look at the 📘TS-Utils Documentation, where each function and its usage are highlighted.
<%- functionContent %>
To install the Check-ENGINEERING/TS-Utils package, you can use the following command:
npm install @check-engineering/ts-utils
or
yarn add @check-engineering/ts-utils
This command will fetch and install the check-engineering/ts-utils package from the package registry, making it available for use in your project.
Once you have the file in your project, simply import the utility you need using the ES6 import statement.
// Import the specific method category you need
import { randomStr, toUpperCase } from "check-engineering/ts-utils/string.ts";
import { parseNumber, addUnit } from "check-engineering/ts-utils/number.ts";
// OR Import all utilities
import { randomStr, parseNumber, addUnit } from "check-engineering/ts-utils";
Contributions to these utilities are welcome. If you find issues or have suggestions for improvements, feel free to contribute by following these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Submit a pull request to the main repository.
Please make sure to follow the existing code style and include tests for your changes.
This project is licensed under the MIT License. You are free to use, modify, and distribute this software. Refer to the LICENSE file for more details.