open-index/open-npm huggingface dataset:
npm package: @tailor-cms/utils
Description: Tailor utility functions
Author: Studion
Latest version: 1.0.8

<div align="center">
  <img width="100" src="../../client/assets/img/default-logo-full.svg">
</div>

# @tailor-cms/utils

[![Npm
version](https://badgen.net/npm/v/@tailor-cms/utils)](https://www.npmjs.com/package/@tailor-cms/utils)
[![GitHub
license](https://badgen.net/github/license/ExtensionEngine/tailor)](https://github.com/ExtensionEngine/tailor/blob/develop/LICENSE)
[![js @extensionengine
style](https://badgen.net/badge/code%20style/@extensionengine/black)](https://github.com/ExtensionEngine/eslint-config)
[![style @extensionengine
style](https://badgen.net/badge/stylelint/@extensionengine/black)](https://github.com/ExtensionEngine/stylelint-config)
[![Open Source
Love](https://badgen.net/badge/Open%20Source/%E2%9D%A4/3eaf8e)](https://github.com/ellerbrock/open-source-badge/)

> The package contains useful utils used in the Tailor.

## Usage
```js
import { uuid } from '@tailor-cms/utils';

uuid();
```

Util list:
- activity
- InsertLocation
- Events
- numberToLetter
- publishDiffChangeTypes
- uuid
- getPositions
- calculatePosition
- getMetaName
- getContainerName
- getComponentName
- getToolbarName
- getElementId
npm package: @tailor-platform/create-tailor-sdk
Description: A CLI tool to quickly create a new Tailor Platform SDK project
Latest version: 0.7.7

# Create Tailor Platform SDK

`@tailor-platform/create-tailor-sdk` is a CLI tool to quickly scaffold a new [Tailor Platform SDK](https://www.npmjs.com/package/@tailor-platform/tailor-sdk) project.

## Usage

```bash
npm create @tailor-platform/tailor-sdk [OPTIONS] [NAME]
# OR
yarn create @tailor-platform/tailor-sdk [OPTIONS] [NAME]
# OR
pnpm create @tailor-platform/tailor-sdk [OPTIONS] [NAME]
```

### Arguments

- `NAME`: (Optional) The name of your new project. If not provided, you'll be prompted to enter one.

### Options

- `--template <template-name>`: (Optional) Specify a template to use for your project. If not provided, you'll be prompted to select one from a list of available templates.

## What it does

This tool will:

1. Create a new directory with the specified project name.
2. Scaffold a new Tailor Platform SDK project in that directory using the selected template.
3. Install the necessary dependencies with the package manager being used.
4. Initialize a new Git repository in the project directory.

### Note

- If none of the supported package managers (npm, yarn, pnpm) are found, dependency installation will be skipped.
- If the project already exists within a git repository, git initialization will be skipped.