Upgrade to Pro — share decks privately, control downloads, hide ads and more …

NPX-shell-hacking

 NPX-shell-hacking

WordCamp Ogijima 2018 の打ち上げの時に LT した npx コマンドの話

KamataRyo

August 25, 2018
Tweet

More Decks by KamataRyo

Other Decks in Technology

Transcript

  1. ΢Σϒ੍࡞ʹ΄΅ඞਢʹͳͬͨ
 ύοέʔδϚωʔδϟʔ $ npm • Gulp Ͱ Slime ΍ SASS

    Λ ίϯύΠϧͨ͠Γ.. • WordPress ςʔϚͷ։ൃ؀ ڥΛηοτΞοϓͨ͠Γ.. • Gutenberg΋ npm Λར༻͠ ͯ։ൃ͞Ε͍ͯΔΈ͍ͨ
  2. +BWB֨ݴ"1*Ͱ༡Ϳ $ curl -s https://arigato-java.download/kakugen.json | jq -r '. []

    | .t' | head -`expr $RANDOM % $(curl -s https://arigato- java.download/kakugen.json | jq '. | length')` | tail -1 | npx -q cowsay