Skip to content

Instantly share code, notes, and snippets.

Last active Nov 10, 2022
What would you like to do?
npx is cool


try passing the URL for this gist to npx.

#!/usr/bin/env node
console.log('yay gist')
{"name": "npx-is-cool", "version": "0.0.0", "bin": "./index.js"}
Copy link

ilio commented Jul 22, 2018

Cool 👍

Copy link

ilio commented Jul 22, 2018

My first npx (run react-codemod script React-PropTypes-to-prop-types) can you help me to improve/simplify it?

Copy link

matheusnascgomes commented Jun 10, 2019

It tends to be pretty useful, i like it!

Copy link

vikiboss commented Dec 6, 2020


Copy link

npx is cool!

Copy link

byren51 commented May 12, 2021

Is npx cool? Why is it cool?

Copy link

I was here.

Copy link


Copy link

i like it!

Copy link

viocha commented Dec 4, 2021

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Copy link

ed3899 commented Feb 25, 2022

Eduardo was here!

Copy link

const npx = "🔥🔥🔥"

Copy link

xgqfrms commented May 8, 2022

npx & gist & npm package

# execute gist code `bin`

$ npx


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment