# generator-drupalentities

> Yeoman generator

Latest version **0.0.1** (published 2014-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-drupalentities
pnpm add generator-drupalentities
yarn add generator-drupalentities
bun add generator-drupalentities
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-08-10 |
| First published | 2014-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lakshminp |
| Maintainers | lakshminp |
| Keywords | yeoman-generator |

## Links

- npm: https://www.npmjs.com/package/generator-drupalentities
- Repository: https://github.com/badri/generator-drupalentities
- Issues: https://github.com/badri/generator-drupalentities/issues
- npm.io page: https://npm.io/package/generator-drupalentities

## Dependencies (3)

- [chalk](https://npm.io/package/chalk.md) ~0.4.0
- [yosay](https://npm.io/package/yosay.md) ^0.1.0
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ~0.16.0

## Recent versions

- 0.0.1 (latest) — 2014-08-10

## README

# Generator-drupalentities

Yeoman generator for generating a Drupal 7 entity boilerplate code.

## Motivation

I wanted to automate away the boring parts in creating a Drupal entity. Current options were:

1. use [ECK](https://www.drupal.org/project/eck)
2. Adopt [model](https://www.drupal.org/project/model) and customize it to your own needs.

I prefer the latter approach. I like my entities in code, rather than have it as a feature. ECK [prefers it too](https://www.drupal.org/node/1971326#comment-7307660).

## Getting started
- Make sure you have [yo](https://github.com/yeoman/yo) installed:
    `npm install -g yo`
- Install the generator: `npm install -g generator-drupalentities`
- mkdir your module folder at sites/*/modules and cd into it
- Run: `yo drupalentities`

## Todo
1. option to support revisions.
2. switch bundles on or off for an entity.
3. add more properties to an entity.

## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)

Let me know if it works for you, love to hear feedback, bug reports etc. [Contact](https://twitter.com/lakshminp).

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