syranez / npm-module-skeleton

My skeleton for a node module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi,

this is My skeleton node module. To use it:

  • remove all above the line
  • view and execute init.sh
  • Enable travis hook per repository
  • Write unit tests with busterjs: http://busterjs.org

^----------------^^--------------------^

EDIT-project-name

EDIT-description

build status

Installation

npm install EDIT-project-name

... or to install the package globally:

npm install -g EDIT-project-name

Usage

var EDIT-module = request("EDIT-module");

EDIT-show-usage-here

API

EDIT-method-1(EDIT-params)

EDIT-describe-method-here

Version scheme

The version scheme is this:

{major-release}.{feature-release}.{bugfixes/maintaining}
  • Major release part

Changes that make your app crash if you update without modifying your code. The major release version is usally bumped if code structure changes happened, or something really exciting has happened. It breaks your stuff.

If you are using this module as dependency in live production apps, DO NOT wildcard this.

  • Feature release part

Introduces new features, that may work or not. You usually WANT this on development systems, but you DO NOT want this wildcarded in live production environments.

  • Bugfixes / maintaining part

Will be bumped everytime a bug is fixed or maintaining stuff (=all that does not break code, e. g. cosmetic code changes, comment stuff) has happend. You usually DO WANT bugs fixed on all your systems. Nothing is intended to break.


If you are unsure what to use:

  • Use fixed version, e. g. 1.2.3, if you do not want any changes (fixes, features)
  • Use bugfix channel, e. g. ~1.2.3, if you just want bugfixes.
  • Use feature channel, e. g. 1. ** . **, if you want new features and can tolerate bugs.
  • Use bleeding edge channel if you do not care about downtimes, breaks and bugs. You, Sir, are My best friend. Issue Tracker is open and I will answer your mails for sure.

If you are still not sure, use a fixed version.

License

(The MIT License)

Copyright (c) 2012 Michael Nowack <syranez@minaga-church.de>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

My skeleton for a node module


Languages

Language:Shell 52.8%Language:JavaScript 47.2%