5.1.0 • Published 9 years ago

raynos-ngen v5.1.0

Weekly downloads
106
License
-
Repository
github
Last release
9 years ago

ngen-ngen

ngen is a tool that will generate a new nodejs project for you. It includes best practices around the structure of your README and package.json

Usage

ngen [name] [description] [flags]

See usage.md for more documentation

Example

You can use ngen in three modes.

Run ngen and then fill in the two fields for name & description. Run ngen {{name}} and then fill in the field for description Run ngen {{name}} {{description}} and fill in no fields.

ngen will generate a folder that is called {{name}} in your CWD.

Templates

Uber

Currently the only available template, creating the following structure populated with content after the following questions are asked from the cli:

 Project Name: ngen
 Project description: A cool scaffolder

structure:

 ./test/index.js
 ./.jshintignore
 ./.gitignore
 ./.jshintrc
 ./index.js
 ./package.json
 ./README.md
 ./LICENSE

Docs

ngen can also be called directly

var Template = require('ngen')

var t = Template('name-of-template', {
  templates: 'folder location of templates'
})
t.init('target location to write on disk', function (err) {
  // scaffolded the template to the location
  // calling init() will prompt on STDIN.
})

MIT Licenced

5.1.0

9 years ago

5.0.0

9 years ago

4.0.3

10 years ago

4.0.2

10 years ago

4.0.1

10 years ago

4.0.0

10 years ago

1.3.13

11 years ago

1.3.11

11 years ago

1.3.8

11 years ago

1.3.7

11 years ago

1.3.6

11 years ago

1.3.5

11 years ago

1.3.4

11 years ago

1.2.47

11 years ago

1.2.46

11 years ago

1.2.45

11 years ago

1.2.44

11 years ago

1.2.43

11 years ago

1.2.42

11 years ago

1.2.41

11 years ago

1.2.40

11 years ago

1.2.38

11 years ago

1.2.32

11 years ago

1.2.28

11 years ago

1.2.20

11 years ago

1.2.17

11 years ago

1.2.16

11 years ago

1.2.15

11 years ago

1.2.9

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago