# generator-meaningfuljs

> A scaffolding tool for MeaningfulJS.

Latest version **1.1.2** (published 2015-08-26) · Apache 2.0 license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2015-08-26 |
| First published | 2015-08-26 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12.0 |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Scott Davis |
| Maintainers | thirstyhead |
| Keywords | yeoman-generator |

## Links

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

## Dependencies (5)

- [lodash](https://npm.io/package/lodash.md) ~3.10.0
- [cheerio](https://npm.io/package/cheerio.md) ~0.19.0
- [fs-extra](https://npm.io/package/fs-extra.md) ~0.23.1
- [git-config](https://npm.io/package/git-config.md) ~0.0.6
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ~0.20.3

## Recent versions

- 1.1.2 (latest) — 2015-08-26
- 1.1.1 — 2015-08-26

## README

# generator-meaningfuljs
A [Yeoman](http://yeoman.io/) generator for the MeaningfulJS [MEAN stack](https://en.wikipedia.org/wiki/MEAN_(software_bundle)) web framework.

MeaningfulJS is written and maintained by [Scott Davis](http://thirstyhead.com/contact.html), author of the IBM developerWorks article series [Mastering MEAN](http://www.ibm.com/developerworks/library/wa-mean1/index.html) and the O'Reilly video [Architecture of the MEAN Stack](http://shop.oreilly.com/product/0636920039495.do).

For more information on MeaningfulJS, see [http://meaningfuljs.com](http://meaningfuljs.com).

## Installation
Once you have [NodeJS](https://nodejs.org/download/) and [Yeoman](http://yeoman.io/) installed, you can install this generator with a quick:

```
$ npm install -g generator-meaningfuljs
```

## Usage - New App
To scaffold out a new MeaningfulJS application, type the following and answer a few simple questions:

```
$ mkdir myapp
$ cd myapp
$ yo meaningfuljs

===========================================
Hi! Welcome to the MeaningfulJS generator.

Your new project will be scaffolded out in the current directory:
/Users/scott/myapp

Current GitHub user:
Scott Davis <scott@thirstyhead.com>
===========================================

? What would you like to call your project? myapp
? How would you describe your project? My cool MEAN app
? What is your GitHub name <email>? Scott Davis <scott@thirstyhead.com>
```
You can also type the appName to bypass the initial question:

```
$ yo meaningfuljs myapp
```



## Usage - New Component
Once your application is scaffolded out, you can add new components easily. Type the following:

```
$ yo meaningfuljs:component

===========================================
Hi! Welcome to the MeaningfulJS generator.

Your new component can be found here:
/Users/scott/myapp/src/client/components
===========================================

? What would you like to call your component? mycomponent
```
You can also type the componentName to bypass the initial question:
```
$ yo meaningfuljs:component mycomponent
```






## Protip (Creating a shorter alias)
I'll be the first to admit that typing `yo meaningfuljs` is quite the typing exercise -- it makes my hands cramp up just thinking about it.

The following instructions assume you're using a BASH shell in OS X or Linux. Feel free to adjust them for Windows or other shells accordingly.

If you'd like to create a local *shorter* alias, first find out where all of your globally installed Node modules live:

```
$ which yo
/Users/scott/.nvm/v0.12.0/bin/yo
```

This won't give you the exact directory, but it'll get you in the right neighborhood. Since I'm using [NVM](https://github.com/creationix/nvm), my global modules are in `/Users/scott/.nvm/v0.12.0/lib/node_modules`.

If you're using an operating system that supports symlinks, type:

```
$ ln -s generator-meaningfuljs generator-m
```

Forever after, you can now type `yo m` instead of the more verbose `yo meaningfuljs`.

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