# defyne

> Persisted boilerplates for all your projects.

Latest version **1.0.1** (published 2021-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install defyne
pnpm add defyne
yarn add defyne
bun add defyne
```

Provides the command `defyne`.

## 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.0.1 |
| Published | 2021-02-05 |
| First published | 2021-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 61.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | krisalay |
| Maintainers | krisalay |

## Links

- npm: https://www.npmjs.com/package/defyne
- Repository: https://github.com/krisalay/defyne
- Homepage: https://github.com/krisalay/defyne#readme
- Issues: https://github.com/krisalay/defyne/issues
- npm.io page: https://npm.io/package/defyne

## Dependencies (8)

- [joi](https://npm.io/package/joi.md) ^17.3.0
- [ora](https://npm.io/package/ora.md) ^5.3.0
- [kleur](https://npm.io/package/kleur.md) ^4.1.3
- [tslib](https://npm.io/package/tslib.md) ^2.0.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.20
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [commander](https://npm.io/package/commander.md) ^6.2.1
- [http-status](https://npm.io/package/http-status.md) ^1.5.0

## Recent versions

- 1.0.1 (latest) — 2021-02-05

## README

# defyne
Persisted boilerplates for all your projects.

## Table of Contents
- [Introduction](#introduction)
- [Supported Tech Stack](#supported-tech-stack)
- [Project Structure](#project-structure)
- [Commands](#commands)

## Introduction
Defyne generates a persisted boilerplate for all your projects. It helps you to generate a web service from scratch with modularized and scalable code. Follow the same standards across all your projects with *defyne* as your one stop tool.

## Supported Tech Stack
Defyne generates boilerplate for:
-  [Node.js](https://nodejs.org/) with [Typescript](https://www.typescriptlang.org/)

## Project Structure
- **src/:** It consists of the source code for the new package that we are going to create
- **src/controllers/:** Controllers is the place where APIs are stored
- **src/policies/:** Policies refer to the middlewares in the express.js
- **src/responses/:** Responses are the extended version of error classes. For example: BadRequestResponse, UnProcessableEntityResponse, etc.

## Commands
#### Install the Defyne tool globally in your system
`npm install defyne -g`
#### Initialize the project from scratch
`defyne -i`
#### Create a new controller
`defyne -gc`
#### Create a new response
`defyne -gr`

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