New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nmg

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nmg

(my) Node Module Generator

latest
Source
npmnpm
Version
0.4.4
Version published
Maintainers
1
Created
Source

my Node Module Generator - WIP

An efficiency tool.

This tool will create a new module for you, based on a template. It can also create a github project automatically as well as initialized git in the newly created module.

	npm install -g nmg
	nmg create awesome --inithub

configure by creating an rc config somewhere (probably ~/.config)

{
	"context": {
		"author": "[your name]",
		"github": {
			"user": "[your github username]"
		}
	},

	"githubToken": "[a github token with repo permissions]"
}

and then

	nmg create [moduleName]
	nmg create [moduleName] --github // also create a repo on github
	nmg create [moduleName] --gitinit // also create a local git repo, add all files and do initial commit
	nmg create [moduleName] --inithub // combine the above two commands

You can also do

	nmg --usage

to see some help

todo

  • add makefile to minimal
  • add .editorconfig to minimal
  • add .jshintrc to minimal
  • fix whitespaces in package.json minimal template
  • add partials support
  • use proper cli / args lib (like yargs or nomnom)

Keywords

module

FAQs

Package last updated on 08 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts