Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
NPX-shell-hacking
Search
KamataRyo
August 25, 2018
Technology
0
42
NPX-shell-hacking
WordCamp Ogijima 2018 の打ち上げの時に LT した npx コマンドの話
KamataRyo
August 25, 2018
Tweet
Share
More Decks by KamataRyo
See All by KamataRyo
TileCloud の開発を支える技術
kamataryo
2
350
frontend-shikoku#1
kamataryo
1
670
Introducing of Map Warper
kamataryo
0
1.3k
wp-rest-api-and-amazon-polly
kamataryo
0
910
how-to-deploy-from-travis-ci
kamataryo
1
740
IoT with React
kamataryo
1
270
wacker#17-wreact
kamataryo
0
130
wakayamarb#37
kamataryo
1
87
Why have I preferred open source after leaving a public office?
kamataryo
1
5.8k
Other Decks in Technology
See All in Technology
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
180
大規模データ基盤チームのオンプレTiDB運用への挑戦 / dpu-tidb
cyberagentdevelopers
PRO
1
110
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
24
6.8k
WINTICKETアプリで実現した高可用性と高速リリースを支えるエコシステム / winticket-eco-system
cyberagentdevelopers
PRO
1
190
日経電子版におけるリアルタイムレコメンドシステム開発の事例紹介/nikkei-realtime-recommender-system
yng87
1
520
話題のGraphRAG、その可能性と課題を理解する
hide212131
4
1.5k
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
430
分布で見る効果検証入門 / ai-distributional-effect
cyberagentdevelopers
PRO
4
700
プロポーザルのつくり方 〜個人技編〜 / How to come up with proposals
ohbarye
2
160
最速最小からはじめるデータプロダクト / Data Product MVP
amaotone
5
750
Shift-from-React-to-Vue
calm1205
3
1.3k
신뢰할 수 있는 AI 검색 엔진을 만들기 위한 Liner의 여정
huffon
0
380
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
519
39k
KATA
mclloyd
29
13k
Testing 201, or: Great Expectations
jmmastey
38
7k
What's new in Ruby 2.0
geeforr
342
31k
Teambox: Starting and Learning
jrom
132
8.7k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Agile that works and the tools we love
rasmusluckow
327
21k
We Have a Design System, Now What?
morganepeng
50
7.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
GraphQLとの向き合い方2022年版
quramy
43
13k
A designer walks into a library…
pauljervisheath
202
24k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Transcript
NPX γΣϧܳ ศརʂ
γΣϧܳ • ίϚϯυ1ͭͰͳΜͰ͢Δతͳ @mattn_jp ͞Μͷ vim-script ͰγΣϧܳ https://qiita.com/mattn/items/d09c5018bdfe0b170b9a
None
/PEFKTΛΞοϓσʔτ͠·͔ͨ͠ʁ /PEFKTͷϦϦʔεεέδϡʔϧ IUUQTHJUIVCDPNOPEFKT3FMFBTFSFMFBTFTDIFEVMF
Σϒ੍࡞ʹ΄΅ඞਢʹͳͬͨ ύοέʔδϚωʔδϟʔ $ npm • Gulp Ͱ Slime SASS
Λ ίϯύΠϧͨ͠Γ.. • WordPress ςʔϚͷ։ൃ ڥΛηοτΞοϓͨ͠Γ.. • Gutenberg npm Λར༻͠ ͯ։ൃ͞Ε͍ͯΔΈ͍ͨ
OQNW /PEFKTWҎ߱ ʹಉࠝ͞ΕΔ ศརίϚϯυ $ npx • npm ͱͯ͠͞Ε͍ͯΔCLIίϚϯυΛμϯϩʔυ࣮ͯ͠ߦʂ
OQYίϚϯυͷ͍Ͳ͜Ζ w ͪΐͬͱͨ͠࡞ۀΛ͢Δ࣌ɻಛఆͷίϚϯυ͕ඞཁ͚ͩ ͲɺΠϯετʔϧ͢Δ·Ͱͳ͍ͳʙͱ͍͏࣌
σϝϦοτ https://www.reddit.com/r/ProgrammerHumor/comments/6s0wov/ heaviest_objects_in_the_universe/
σϞ
DPXTBZίϚϯυΛΒͤͯΈΔ ύοέʔδ໊ ίϚϯυҾʢࠓճҙͷจࣈྻʣ $ npx cowsay Moo!
&+4ςϯϓϨʔτͷγϯλοΫεΤϥʔΛ ૉૣ͘ൃݟ͢Δ ύοέʔδ໊ ίϚϯυҾʢࠓճϑΝΠϧ໊ʣ $ npx ejs-lint example.com.conf.els
+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
w γΣϧܳͷੈքͱOQNͷੈք͕ɺ OQYίϚϯυͰγʔϜϨεʹܨ͕ͬͨʂ w OQNͷϥΠϒϥϦେʢݱࡏ ʣɻ ѱຐతͳγΣϧܳۤखͰɺϥΠϒϥϦʹਫ਼௨͍ͯ͠Ε Կ͔৽͍͜͠ͱ͕؆୯ʹͰ͖Δ͔ w ໘ന͍͍ํΛݟ͚ͭͨΒڭ͍͑ͯͩ͘͞ʂ