#868519 ITP: node-read-cmd-shim -- Figure out what a cmd-shim is pointing at. This acts as the equivalent of fs.readlink

#868519#5
Date:
2017-07-16 10:32:25 UTC
From:
To:
* Package name : node-read-cmd-shim
 Version : 1.0.1
 Upstream Author : Rebecca Turner  (http://re-becca.org/)
* URL : https://github.com/npm/read-cmd-shim#readme
* License : ISC
 Programming Lang: JavaScript
 Description : Figure out what a cmd-shim is pointing at. This acts as the equivalent of fs.readlink
 Provides the function readCmdShim(path, callback) that Reads the cmd-shim
 located at path and calls back with the relative path that the shim points at.
 Consider this as roughly the equivalent of fs.readlink
 .
 This can read both .cmd style that are run by the Windows Command Prompt and
 Powershell, and the kind without any extension that are used by Cygwin.
 .
 It also provides readCmdShim.sync(path) which is same as above but synchronous.
 .
 Node.js is an event-based server-side JavaScript engine.

 This package is a dependency of NPM NodeJS package.

 I plan to join the Javscript packaging team. Pirate Praveen has agreed to
 sponsor this package.

#868519#10
Date:
2017-12-24 12:39:09 UTC
From:
To:
On Sun, 16 Jul 2017 10:32:25 +0000 daltonfury42@disroot.org wrote:>
This can read both .cmd style that are run by the Windows Command Prompt
and

This is specific to Windows and you can instead patch npm to not use it.