# custom-templates

> custom template generator

Latest version **1.1.0** (published 2021-09-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install custom-templates
pnpm add custom-templates
yarn add custom-templates
bun add custom-templates
```

Provides the command `ct`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2021-09-25 |
| First published | 2020-11-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | raj |
| Maintainers | xrehpicx |
| Keywords | custom, templates, boilerplate, generator, automation |

## Links

- npm: https://www.npmjs.com/package/custom-templates
- Repository: https://github.com/xrehpicx/custom-templates
- Homepage: https://github.com/xrehpicx/custom-templates#readme
- Issues: https://github.com/xrehpicx/custom-templates/issues
- npm.io page: https://npm.io/package/custom-templates

## Dependencies (10)

- [clui](https://npm.io/package/clui.md) ^0.3.6
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [clear](https://npm.io/package/clear.md) ^0.1.0
- [yargs](https://npm.io/package/yargs.md) ^16.1.1
- [figlet](https://npm.io/package/figlet.md) ^1.5.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^9.0.1
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [configstore](https://npm.io/package/configstore.md) ^5.0.1
- [copy-to-clipboard](https://npm.io/package/copy-to-clipboard.md) ^3.3.1
- [inquirer-select-directory](https://npm.io/package/inquirer-select-directory.md) ^1.2.0

## Recent versions

- 1.1.0 (latest) — 2021-09-25
- 1.0.11 — 2020-12-14
- 1.0.10 — 2020-12-14
- 1.0.8 — 2020-12-10
- 1.0.7 — 2020-12-10
- 1.0.6 — 2020-12-10
- 1.0.5 — 2020-12-10
- 1.0.4 — 2020-12-02
- 1.0.3 — 2020-11-26
- 1.0.2 — 2020-11-26
- 1.0.1 — 2020-11-26
- 1.0.0 — 2020-11-26

## README

# Automate copy pasting ur boilerplate code

## Get started

### installation:
```
$ npm install -g custom-templates
```

## setup
run command:
```
$ ct
```
and select a folder where u save your templates.
For example:
```
/templates
    /react-cra-template1
    /react-cra-template2
    /express-react-template
    /express-typescript
    /express-typescriptv4.1
    /custom-cra-template
```
select ut templates folder here as 'templates'

## Usage
1. with only new project name, run:
```
$ ct mynewapp
```
this will prompt you to select a template from ur templates folder.

2. if you are already in your project folder:
```
$ ct
```
this will prompt you to select a template from ur templates folder.

if you dont want it to prompt you u can use the flag -t or --template and specify the name of ur template, example:
```
$ ct -t custom-cra-template mynewapp
```
or 
```
$ ct -t custom-cra-template
```
if you are already in your project dir

## Changing Template folder
```
$ ct --set
```
or
```
$ ct --set pathtofolder
```

---
_Source: https://npm.io/package/custom-templates · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
