"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/read-cmd-shim/package.json" (8 Mar 2017, 2833 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2   "_from": "read-cmd-shim@>=1.0.1 <1.1.0",
    3   "_id": "read-cmd-shim@1.0.1",
    4   "_location": "/read-cmd-shim",
    5   "_nodeVersion": "3.1.0",
    6   "_npmUser": {
    7     "name": "iarna",
    8     "email": "me@re-becca.org"
    9   },
   10   "_npmVersion": "3.3.0",
   11   "_phantomChildren": {},
   12   "_requiredBy": [
   13     "/npm"
   14   ],
   15   "_resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz",
   16   "_shasum": "2d5d157786a37c055d22077c32c53f8329e91c7b",
   17   "_shrinkwrap": null,
   18   "author": {
   19     "name": "Rebecca Turner",
   20     "email": "me@re-becca.org",
   21     "url": "http://re-becca.org/"
   22   },
   23   "bugs": {
   24     "url": "https://github.com/npm/read-cmd-shim/issues"
   25   },
   26   "dependencies": {
   27     "graceful-fs": "^4.1.2"
   28   },
   29   "description": "Figure out what a cmd-shim is pointing at. This acts as the equivalent of fs.readlink.",
   30   "devDependencies": {
   31     "cmd-shim": "^2.0.1",
   32     "rimraf": "^2.4.3",
   33     "standard": "^5.2.2",
   34     "tap": "^1.4.1"
   35   },
   36   "directories": {},
   37   "dist": {
   38     "shasum": "2d5d157786a37c055d22077c32c53f8329e91c7b",
   39     "tarball": "http://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-1.0.1.tgz"
   40   },
   41   "gitHead": "7c50879bf49743a1c69f9d7f0ba1638fc46bb40c",
   42   "homepage": "https://github.com/npm/read-cmd-shim#readme",
   43   "license": "ISC",
   44   "main": "index.js",
   45   "maintainers": [
   46     {
   47       "name": "iarna",
   48       "email": "me@re-becca.org"
   49     }
   50   ],
   51   "name": "read-cmd-shim",
   52   "optionalDependencies": {},
   53   "readme": "# read-cmd-shim\n\nFigure out what a [`cmd-shim`](https://github.com/ForbesLindesay/cmd-shim)\nis pointing at.  This acts as the equivalent of\n[`fs.readlink`](https://nodejs.org/api/fs.html#fs_fs_readlink_path_callback).\n\n### Usage\n\n```\nvar readCmdShim = require('read-cmd-shim')\n\nreadCmdShim('/path/to/shim.cmd', function (er, destination) {\n  \n})\n\nvar destination = readCmdShim.sync('/path/to/shim.cmd')\n\n### readCmdShim(path, callback)\n\nReads the `cmd-shim` located at `path` and calls back with the _relative_\npath that the shim points at. Consider this as roughly the equivalent of\n`fs.readlink`.\n\nThis can read both `.cmd` style that are run by the Windows Command Prompt\nand Powershell, and the kind without any extension that are used by Cygwin.\n\nThis can return errors that `fs.readFile` returns, except that they'll\ninclude a stack trace from where `readCmdShim` was called.  Plus it can\nreturn a special `ENOTASHIM` exception, when it can't find a cmd-shim in the\nfile referenced by `path`.  This should only happen if you pass in a\nnon-command shim.\n\n\n### readCmdShim.sync(path)\n\nSame as above but synchronous. Errors are thrown.\n",
   54   "readmeFilename": "README.md",
   55   "repository": {
   56     "type": "git",
   57     "url": "git+https://github.com/npm/read-cmd-shim.git"
   58   },
   59   "scripts": {
   60     "test": "standard && tap test/*.js"
   61   },
   62   "version": "1.0.1"
   63 }