{
  "_args": [
    [
      {
        "raw": "node-alias@^1.0.4",
        "scope": null,
        "escapedName": "node-alias",
        "name": "node-alias",
        "rawSpec": "^1.0.4",
        "spec": ">=1.0.4 <2.0.0",
        "type": "range"
      },
      "/build/npm-check-updates/src/npm-check-updates-2.11.0.tgz"
    ]
  ],
  "_from": "node-alias@>=1.0.4 <2.0.0",
  "_id": "node-alias@1.0.4",
  "_inCache": true,
  "_location": "/npm-check-updates/node-alias",
  "_nodeVersion": "0.12.9",
  "_npmOperationalInternal": {
    "host": "packages-9-west.internal.npmjs.com",
    "tmp": "tmp/node-alias-1.0.4.tgz_1454453848413_0.0551449079066515"
  },
  "_npmUser": {
    "name": "justinhelmer",
    "email": "jhelmer25@gmail.com"
  },
  "_npmVersion": "3.5.3",
  "_phantomChildren": {},
  "_requested": {
    "raw": "node-alias@^1.0.4",
    "scope": null,
    "escapedName": "node-alias",
    "name": "node-alias",
    "rawSpec": "^1.0.4",
    "spec": ">=1.0.4 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/npm-check-updates"
  ],
  "_resolved": "https://registry.npmjs.org/node-alias/-/node-alias-1.0.4.tgz",
  "_shasum": "1f1b916b56b9ea241c0135f97ced6940f556f292",
  "_shrinkwrap": null,
  "_spec": "node-alias@^1.0.4",
  "_where": "/build/npm-check-updates/src/npm-check-updates-2.11.0.tgz",
  "author": {
    "name": "Justin Helmer",
    "email": "jhelmer25@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/justinhelmer/node-alias/issues"
  },
  "dependencies": {
    "chalk": "^1.1.1",
    "lodash": "^4.2.0"
  },
  "description": "Alias the long version of a command to the short version, with optional messaging.",
  "devDependencies": {
    "chai": "^3.5.0",
    "mocha": "^2.4.5",
    "require-subvert": "^0.1.0",
    "sinon": "^1.17.3",
    "sinon-chai": "^2.8.0"
  },
  "directories": {},
  "dist": {
    "shasum": "1f1b916b56b9ea241c0135f97ced6940f556f292",
    "tarball": "https://registry.npmjs.org/node-alias/-/node-alias-1.0.4.tgz"
  },
  "engines": {
    "node": ">=0.10"
  },
  "gitHead": "e6daaec77f9ac59563b72c9f76fa779ffc9af51f",
  "homepage": "https://github.com/justinhelmer/node-alias#readme",
  "keywords": [
    "node",
    "alias",
    "short",
    "command",
    "bin",
    "long"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "justinhelmer",
      "email": "jhelmer25@gmail.com"
    }
  ],
  "name": "node-alias",
  "optionalDependencies": {},
  "readme": "# node-alias\nAlias the long version of a command to the short version, with optional messaging.\n\n[![npm package](https://badge.fury.io/js/node-alias.svg)](https://www.npmjs.com/package/node-alias)\n[![node version](https://img.shields.io/node/v/node-alias.svg?style=flat)](http://nodejs.org/download/)\n[![build status](https://travis-ci.org/justinhelmer/node-alias.svg?branch=master)](https://travis-ci.org/justinhelmer/node-alias)\n[![dependency status](https://david-dm.org/justinhelmer/node-alias.svg)](https://github.com/justinhelmer/node-alias)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/justinhelmer/node-alias/issues)\n\nA very simple module for aliasing a command; works well with [commander.js](https://github.com/tj/commander.js) and [commander.js-error](https://github.com/justinhelmer/commander.js-error).\n\nTo demonstrate, here is an example from [npm-publish-release](https://github.com/justinhelmer/npm-publish-release); in file `bin/npm-publish-release.js`:\n\n```js\nrequire('node-alias')('npr', __dirname);\n```\n\nProduces:\n\n```shell\n$ npm-publish-release\n[INFO]: You can also use 'npr' as an alias.\n... # runs command\n```\n\n## Git style sub-commands\n\nAlso works with `git(1)` style sub-commands. Here is an example from [gh-release-manager](https://github.com/justinhelmer/gh-release-manager); in file `bin/gh-release-manager.js`:\n\n```js\nrequire('node-alias')('grm jsdoc', __dirname);\n```\n\nAssumes a file by the same name, converted to `kebab-case`, exists in the same location (i.e. `bin/grm-jsdoc.js`). If needed, a separate location can be specified using the `path` [option](#options).\n\n## alias(short, path, options)\n\n- **short** _{string}_ - The short command name. must be a file in **path** by the same name (as far as `require` is concerned).\n- **path** _{string}_ - The path where the `short` command file actually exists. Pass `__dirname` to use the same directory (i.e. when using\n                        [Git style sub-commands](#git-style-sub-commands) to pair with [commander.js](https://github.com/tj/commander.js/).\n- **options** _{object}_ - Additional [options](#options) to customize the behavior.\n\n## Options\n\n- **message** _{mixed}_ - Can be `true`, `false`, or a custom message. If set to `true`, displays a default message. Defaults to `true`.\n- **color** _{string}_ - Specify a custom [chalk](https://github.com/chalk/chalk) color for the message. Ignored if `message` === `false`.\n\n## Contributing\n\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/justinhelmer/node-alias/issues)\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Justin Helmer\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/justinhelmer/node-alias.git"
  },
  "scripts": {
    "test": "mocha"
  },
  "version": "1.0.4"
}
