7.0.0 • Published 10 months ago

cmd-shim v7.0.0

Weekly downloads
923,852
License
ISC
Repository
github
Last release
10 months ago

cmd-shim

The cmd-shim used in npm to create executable scripts on Windows, since symlinks are not suitable for this purpose there.

On Unix systems, you should use a symbolic link instead.

Build Status Dependency Status npm version

Installation

npm install cmd-shim

API

cmdShim(from, to) -> Promise

Create a cmd shim at to for the command line program at from. e.g.

var cmdShim = require('cmd-shim');
cmdShim(__dirname + '/cli.js', '/usr/bin/command-name').then(() => {
  // shims are created!
})

cmdShim.ifExists(from, to) -> Promise

The same as above, but will just continue if the file does not exist.

@lerna/create@lerna/create-symlinklerna@megasaur/create-symlink@essent/lernakilli8n-react-native-fast-image@cashremit/cr-streamline-iconsadaption-toolkyle-cli-xhcogoportutils@mink-opn/build-tokens@infinitebrahmanuniverse/nolb-cmd@everything-registry/sub-chunk-1343talnpminstallwinx-form-winxvue-cli-ttnwedmasterwuchuansyarnvscode-theme-to-sublime-text@do-it/cli@borealisgroup/cli@positionex/position-sdkjivf-clijmpr-jpmjameslinenode.js1kbnjynpminstalllazy-bee-uisushi-sdk-ftmzzzxxxyyy321123spodrud7-act2tj-npmuleruimo@anejs/anne-cli@atlaskit/lerna@ahfarmer/lerna@aisino/cli@beisen/npm@bcoe/lerna@buganto/client@0xcda7a/npm@0x-lerna-fork/create-symlink421752593pro@abhinavoneuipoc/stencil-test@cognistreamer/lerna-windows-compat@deepjs/cliyapmyarn-fathybyarnpkgyarn-zeoyss-perseuswangshanbo-clivinpmzjianfangzjianfang-cli@parallelnft/web3modal@growing-web/web-builder-kit@fuc/cli-utils@fromage/cli@ghnacker/bin-links@kuinox/testpackagethatnooneshoulduse@kuinox/testpackagethatnooneshoulduseever@liuli-util/cmd-shim@lbatchelor/bolt@lerna/legacy-package-management@mgcrea/yarn@mrauhu/npm@marinaga/bananize@nkduy/cli@ndelangen/lerna@nodepack/cli@expo/lerna@erquhart/lerna-create-symlink@egret/link-node-modules@easymetrics/micromanager@mcesystems/lerna@jasonssun/npm@jetbrains/lerna@houshuang/yarn@juturu/yarn@react-plus-cli/cli@rcag/cli@rxdi/bolt@salomvary/npm@remark/hercules@phenixs/cli@opn-ooo/eslint-config-opn@spryker-lerna/create-symlink@spreact/cli-shared-utils@soyjak/utilsmodinstmisciblemock-binnaver-npmnpm2npm5vnpm5
7.0.0

10 months ago

6.0.3

1 year ago

6.0.2

2 years ago

6.0.1

3 years ago

6.0.0

3 years ago

5.0.0

3 years ago

4.1.0

4 years ago

4.0.2

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.1.0

6 years ago

2.0.2

9 years ago

2.0.1

11 years ago

2.0.0

11 years ago

1.1.2

11 years ago

1.1.1

12 years ago

1.0.1

12 years ago

1.1.0

12 years ago

1.0.0

12 years ago