{% if title -%} {{ title }} {% else -%} {{ name }} {% endif -%}

{% if title -%} {{ title }} {% else -%} {{ name }} {% endif -%}

{{ description }}

{% if title -%}

{{ title }}

{% else -%}

{{ name }}

{% endif -%} {% if introduction -%} {{ introduction }} {% else -%}

{{ description }}

{% endif -%} {% if docco -%}

The annotated source code is available.

{% endif -%}

Information

  • Version: {{ version }}
  • {% if author -%}
  • Author: {{ author }}
  • {% endif -%}
  • License: {% if licenses -%} {{ licenses.type }} {% else -%} {{ license }} {% endif -%}
  • {% if repository -%} {% if repository.url -%}
  • Repository: {{ repository.type }}
  • {% endif -%} {% endif -%}
  • Registry: {{ name }}
  • {% if keywords -%}
  • Keywords: {% for keyword in keywords | sort -%} {{ keyword }}{% if loop.last %}{% else %}, {% endif %} {% endfor -%}
  • {% endif -%} {% if dependencies -%}
  • Dependencies: {% for depname, depversion in dependencies | dictsort -%} {{ depname }}{% if loop.last %}{% else %}, {% endif %} {% endfor -%}
  • {% endif -%}

Installation

{% if preferGlobal -%}
npm install -g {{ name }}
{% else -%}
npm install {{ name }}
{% endif -%} {% if installation -%} {{ installation }} {% endif -%} {% if usage -%}

Usage

{{ usage }} {% if repository -%} {% if repository.url -%}

For more information, go to the source code repository.

{% endif -%} {% endif -%} {% endif -%}
{%if javascript -%} {% endif -%}