Skip to content

Instantly share code, notes, and snippets.

@fael
Last active November 14, 2018 11:42
Show Gist options
  • Save fael/123c2b77fe3933eb82da3b9fa7c17a1c to your computer and use it in GitHub Desktop.
Save fael/123c2b77fe3933eb82da3b9fa7c17a1c to your computer and use it in GitHub Desktop.
Awesome NPX

My Awesome npx list

npx speed-test

npx whois www.rafael-santos.com

create QR CODE

npx qrip www.rafael-santos.com

npx glob-cli 'my-project/*.{js,jsx}'

deploy to now

npx now

npx git-profile-manager list

npx kill-port 9983

npx cli-highlight package.json

npx gh

npx combine-files . queries.sql

npx diff-so-fancy | less --tabs=4 -RFX

npx media-query-extractor
--breakpoint "screen and (max-width: 767px)|mobile.css"
--breakpoint "screen and (max-width: 1024px)|tablet.css"
--breakpoint "screen and (min-width: 1025px)|desktop.css"
project/style.css remaining.css

snapshot of a code

npx carbon-now-cli snippet.js

quickly create a CLI

npx maid

npx @sitespeed.io/throttle --up 750 --down 1600 --rtt 150 npx sitespeed.io https://www.rafael-santos.com npx @sitespeed.io/throttle --stop

npx browsertime https://www.rafael-santos.com -b chrome

npx lighthouse https://www.rafael-santos.com --verbose npx lighthouse-batch https://www.rafael-santos.com.com,https://www.google.com --verbose

npx html-minifier index.html -o index.min.html --minify-css=true --minify-js=true --preserveLineBreaks=false --keepClosingSlash=true --collapseWhitespace=true --removeComments=true

npx gifify ROFL_Ball.mp4 -o ROFL_Ball.gif

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