@soufit/utility

1.0.2 • Public • Published

Utility Functions 🏗️


About 📖

This package contains utility functions that can be used in any TypeScript project. The functions are designed to be used in a variety of projects and can be used to simplify common tasks.

Getting Started 🐦

Installation 📦

Install the package as a dev dependency in your project.

# With yarn
yarn install -D @soufit/utility

# With NPM
npm install --save-dev @soufit/utility

After installing the package, you can use the configuration in your Prettier configuration file. You can specify the prefix in the import statement to use a specific configuration.

import { classNames } from '@soufit/utility/utils';

export default function Navbar(): JSX.Element {
  return (
    <div className={classNames('text-2xl', isOpen ? 'show' : 'hidden')}>
      <h1>Hallo!</h1>
    </div>
  );
}

License 📜

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.

Readme

Keywords

Package Sidebar

Install

npm i @soufit/utility

Weekly Downloads

3

Version

1.0.2

License

GPL-3.0-only

Unpacked Size

39.2 kB

Total Files

8

Last publish

Collaborators

  • hallosouf