Submit Search
Upload
Hello npm
•
0 likes
•
1,133 views
Muyuu Fujita
Follow
2016年、初夏のJavaScript祭で発表したスライドです
Read less
Read more
Technology
Report
Share
Report
Share
1 of 41
Download now
Download to read offline
Recommended
Scripting with NodeJS
Scripting with NodeJS
Ben Pearson
Bower power
Bower power
Eric Carlisle
HyperDB, MySQL Performance, & Flavors of MySQL
HyperDB, MySQL Performance, & Flavors of MySQL
Evan Volgas
Introduction to Express and Grunt
Introduction to Express and Grunt
Peter deHaan
WHAT / WHY / HOW WE’RE ENGINEERING AT SMARTSTUDY (English)
WHAT / WHY / HOW WE’RE ENGINEERING AT SMARTSTUDY (English)
Hyun-woo Park
Preprocessor Workflow with Grunt
Preprocessor Workflow with Grunt
Vlad Filippov
WAG the Blog
WAG the Blog
Evan Volgas
Nuxt로 사내서비스 구현하면서 얻은 경험 공유
Nuxt로 사내서비스 구현하면서 얻은 경험 공유
민환 조
Recommended
Scripting with NodeJS
Scripting with NodeJS
Ben Pearson
Bower power
Bower power
Eric Carlisle
HyperDB, MySQL Performance, & Flavors of MySQL
HyperDB, MySQL Performance, & Flavors of MySQL
Evan Volgas
Introduction to Express and Grunt
Introduction to Express and Grunt
Peter deHaan
WHAT / WHY / HOW WE’RE ENGINEERING AT SMARTSTUDY (English)
WHAT / WHY / HOW WE’RE ENGINEERING AT SMARTSTUDY (English)
Hyun-woo Park
Preprocessor Workflow with Grunt
Preprocessor Workflow with Grunt
Vlad Filippov
WAG the Blog
WAG the Blog
Evan Volgas
Nuxt로 사내서비스 구현하면서 얻은 경험 공유
Nuxt로 사내서비스 구현하면서 얻은 경험 공유
민환 조
JavaScript development methodology
JavaScript development methodology
Aleksander Fabijan
Production optimization with React and Webpack
Production optimization with React and Webpack
k88hudson
Create a module bundler from scratch
Create a module bundler from scratch
Sing Ming Chen
Automating WordPress Theme Development
Automating WordPress Theme Development
Hardeep Asrani
A modern front end development workflow for Magnolia at Atlassian
A modern front end development workflow for Magnolia at Atlassian
Magnolia
Novajs
Novajs
wearefractal
Removed unused css
Removed unused css
Azizi Yazit
Webpack and Web Performance Optimization
Webpack and Web Performance Optimization
Chen-Tien Tsai
Node
Node
Timothy Strimple
Performance and scalability with drupal
Performance and scalability with drupal
Ronan Berder
Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
Donald Derek Haddad
How to make your Webpack builds 10x faster
How to make your Webpack builds 10x faster
trueter
Coffee script throwdown
Coffee script throwdown
Nicholas McClay
Treeshaking your CSS
Treeshaking your CSS
James Stone
Introduction to NodeJS
Introduction to NodeJS
Zahid Mahir
CCSP 2012F 早點下班的工具
CCSP 2012F 早點下班的工具
裕欽 林
Bundler is the Best
Bundler is the Best
dead_arm
Kickstarter Your Node.JS Application
Kickstarter Your Node.JS Application
Hengki Sihombing
Tooling per il tema in Drupal 8
Tooling per il tema in Drupal 8
DrupalDay
私がなぜ今日ユニフォームを着ているのか
私がなぜ今日ユニフォームを着ているのか
Taichi Watanabe
jQuery勉強会#4
jQuery勉強会#4
Ryo Maruyama
FileReader and canvas and server silde
FileReader and canvas and server silde
Net Kanayan
More Related Content
What's hot
JavaScript development methodology
JavaScript development methodology
Aleksander Fabijan
Production optimization with React and Webpack
Production optimization with React and Webpack
k88hudson
Create a module bundler from scratch
Create a module bundler from scratch
Sing Ming Chen
Automating WordPress Theme Development
Automating WordPress Theme Development
Hardeep Asrani
A modern front end development workflow for Magnolia at Atlassian
A modern front end development workflow for Magnolia at Atlassian
Magnolia
Novajs
Novajs
wearefractal
Removed unused css
Removed unused css
Azizi Yazit
Webpack and Web Performance Optimization
Webpack and Web Performance Optimization
Chen-Tien Tsai
Node
Node
Timothy Strimple
Performance and scalability with drupal
Performance and scalability with drupal
Ronan Berder
Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
Donald Derek Haddad
How to make your Webpack builds 10x faster
How to make your Webpack builds 10x faster
trueter
Coffee script throwdown
Coffee script throwdown
Nicholas McClay
Treeshaking your CSS
Treeshaking your CSS
James Stone
Introduction to NodeJS
Introduction to NodeJS
Zahid Mahir
CCSP 2012F 早點下班的工具
CCSP 2012F 早點下班的工具
裕欽 林
Bundler is the Best
Bundler is the Best
dead_arm
Kickstarter Your Node.JS Application
Kickstarter Your Node.JS Application
Hengki Sihombing
Tooling per il tema in Drupal 8
Tooling per il tema in Drupal 8
DrupalDay
What's hot
(19)
JavaScript development methodology
JavaScript development methodology
Production optimization with React and Webpack
Production optimization with React and Webpack
Create a module bundler from scratch
Create a module bundler from scratch
Automating WordPress Theme Development
Automating WordPress Theme Development
A modern front end development workflow for Magnolia at Atlassian
A modern front end development workflow for Magnolia at Atlassian
Novajs
Novajs
Removed unused css
Removed unused css
Webpack and Web Performance Optimization
Webpack and Web Performance Optimization
Node
Node
Performance and scalability with drupal
Performance and scalability with drupal
Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
How to make your Webpack builds 10x faster
How to make your Webpack builds 10x faster
Coffee script throwdown
Coffee script throwdown
Treeshaking your CSS
Treeshaking your CSS
Introduction to NodeJS
Introduction to NodeJS
CCSP 2012F 早點下班的工具
CCSP 2012F 早點下班的工具
Bundler is the Best
Bundler is the Best
Kickstarter Your Node.JS Application
Kickstarter Your Node.JS Application
Tooling per il tema in Drupal 8
Tooling per il tema in Drupal 8
Viewers also liked
私がなぜ今日ユニフォームを着ているのか
私がなぜ今日ユニフォームを着ているのか
Taichi Watanabe
jQuery勉強会#4
jQuery勉強会#4
Ryo Maruyama
FileReader and canvas and server silde
FileReader and canvas and server silde
Net Kanayan
ES6 はじめました
ES6 はじめました
Net Kanayan
JavaScript.Next Returns
JavaScript.Next Returns
dynamis
JavaScript : What is it really? AND Some new features in ES6
JavaScript : What is it really? AND Some new features in ES6
Aayush Shrestha
Prototypeベース in JavaScript
Prototypeベース in JavaScript
Ryo Maruyama
ES6 - JavaCro 2016
ES6 - JavaCro 2016
Nenad Pecanac
kontainer-js
kontainer-js
Kuu Miyazaki
150421 es6とかな話
150421 es6とかな話
kotaro_hirayama
JavaScript 実践講座 Framework, Tool, Performance
JavaScript 実践講座 Framework, Tool, Performance
クラスメソッド株式会社
Getting started with ES6 : Future of javascript
Getting started with ES6 : Future of javascript
Mohd Saeed
ECMAScript 6 Features(PDF 版)
ECMAScript 6 Features(PDF 版)
taskie
Startup JavaScript
Startup JavaScript
Akinari Tsugo
Google App EngineでTwitterアプリを作ろう
Google App EngineでTwitterアプリを作ろう
kenji4569
はじめてのWallaby.js
はじめてのWallaby.js
Shunta Saito
断言して間違えると信頼度が低下するというベイズの話
断言して間違えると信頼度が低下するというベイズの話
Junya Hayashi
アニメーションの実装つらい話
アニメーションの実装つらい話
kata shin
Nds meetup8 lt
Nds meetup8 lt
ushiboy
Bacon.jsではじめる関数型リアアクティブプログラミング入門 with ES6
Bacon.jsではじめる関数型リアアクティブプログラミング入門 with ES6
Haraguchi Go
Viewers also liked
(20)
私がなぜ今日ユニフォームを着ているのか
私がなぜ今日ユニフォームを着ているのか
jQuery勉強会#4
jQuery勉強会#4
FileReader and canvas and server silde
FileReader and canvas and server silde
ES6 はじめました
ES6 はじめました
JavaScript.Next Returns
JavaScript.Next Returns
JavaScript : What is it really? AND Some new features in ES6
JavaScript : What is it really? AND Some new features in ES6
Prototypeベース in JavaScript
Prototypeベース in JavaScript
ES6 - JavaCro 2016
ES6 - JavaCro 2016
kontainer-js
kontainer-js
150421 es6とかな話
150421 es6とかな話
JavaScript 実践講座 Framework, Tool, Performance
JavaScript 実践講座 Framework, Tool, Performance
Getting started with ES6 : Future of javascript
Getting started with ES6 : Future of javascript
ECMAScript 6 Features(PDF 版)
ECMAScript 6 Features(PDF 版)
Startup JavaScript
Startup JavaScript
Google App EngineでTwitterアプリを作ろう
Google App EngineでTwitterアプリを作ろう
はじめてのWallaby.js
はじめてのWallaby.js
断言して間違えると信頼度が低下するというベイズの話
断言して間違えると信頼度が低下するというベイズの話
アニメーションの実装つらい話
アニメーションの実装つらい話
Nds meetup8 lt
Nds meetup8 lt
Bacon.jsではじめる関数型リアアクティブプログラミング入門 with ES6
Bacon.jsではじめる関数型リアアクティブプログラミング入門 with ES6
Similar to Hello npm
Node.js 기반 정적 페이지 블로그 엔진, 하루프레스
Node.js 기반 정적 페이지 블로그 엔진, 하루프레스
Rhio Kim
Django Overview
Django Overview
Brian Tol
Grunt All Day
Grunt All Day
douglasknudsen
海纳百川,有容乃大
海纳百川,有容乃大
hujinpu
1.6 米嘉 gobuildweb
1.6 米嘉 gobuildweb
Leo Zhou
nodecalgary1
nodecalgary1
Eric Kryski
Ansible presentation
Ansible presentation
Arthur Freyman
Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014
Mandi Walls
Don’t turn your logs into cuneiform
Don’t turn your logs into cuneiform
Andrey Rebrov
Introducing the Seneca MVP framework for Node.js
Introducing the Seneca MVP framework for Node.js
Richard Rodger
20120816 nodejsdublin
20120816 nodejsdublin
Richard Rodger
CPAN 模組二三事
CPAN 模組二三事
Lin Yo-An
Node.js - The New, New Hotness
Node.js - The New, New Hotness
Daniel Shaw
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
toolitup
Nodejs getting started
Nodejs getting started
Triet Ho
國民雲端架構 Django + GAE
國民雲端架構 Django + GAE
Winston Chen
Practical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.js
async_io
下吧开发总结
下吧开发总结
Night Sailer
Django dev-env-my-way
Django dev-env-my-way
Robert Lujo
Introduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCats
Derek Anderson
Similar to Hello npm
(20)
Node.js 기반 정적 페이지 블로그 엔진, 하루프레스
Node.js 기반 정적 페이지 블로그 엔진, 하루프레스
Django Overview
Django Overview
Grunt All Day
Grunt All Day
海纳百川,有容乃大
海纳百川,有容乃大
1.6 米嘉 gobuildweb
1.6 米嘉 gobuildweb
nodecalgary1
nodecalgary1
Ansible presentation
Ansible presentation
Open Source Tools for Leveling Up Operations FOSSET 2014
Open Source Tools for Leveling Up Operations FOSSET 2014
Don’t turn your logs into cuneiform
Don’t turn your logs into cuneiform
Introducing the Seneca MVP framework for Node.js
Introducing the Seneca MVP framework for Node.js
20120816 nodejsdublin
20120816 nodejsdublin
CPAN 模組二三事
CPAN 模組二三事
Node.js - The New, New Hotness
Node.js - The New, New Hotness
Tool it Up! - Session #1 - Xhprof
Tool it Up! - Session #1 - Xhprof
Nodejs getting started
Nodejs getting started
國民雲端架構 Django + GAE
國民雲端架構 Django + GAE
Practical Use of MongoDB for Node.js
Practical Use of MongoDB for Node.js
下吧开发总结
下吧开发总结
Django dev-env-my-way
Django dev-env-my-way
Introduction to NodeJS with LOLCats
Introduction to NodeJS with LOLCats
More from Muyuu Fujita
Learn ES2015
Learn ES2015
Muyuu Fujita
Start React with Browserify
Start React with Browserify
Muyuu Fujita
Objective Front-End JavaScript
Objective Front-End JavaScript
Muyuu Fujita
小規模案件で作られた秘伝のタレ
小規模案件で作られた秘伝のタレ
Muyuu Fujita
閉じタグを超えた先に僕が見た景色とは
閉じタグを超えた先に僕が見た景色とは
Muyuu Fujita
JavaScriptと共に歩いて行く決意をした君へ
JavaScriptと共に歩いて行く決意をした君へ
Muyuu Fujita
非ガチ勢「よし、Coffee script使おう!」
非ガチ勢「よし、Coffee script使おう!」
Muyuu Fujita
あの時AngularJSと出会った僕らは
あの時AngularJSと出会った僕らは
Muyuu Fujita
デザイナー向け 初めてのPhp ~サイト制作に役立つtips~
デザイナー向け 初めてのPhp ~サイト制作に役立つtips~
Muyuu Fujita
Cssアニメーションとその制御
Cssアニメーションとその制御
Muyuu Fujita
WordPressで企業サイトのテーマを作る
WordPressで企業サイトのテーマを作る
Muyuu Fujita
WPerのWPerによるWPerのためのPHP入門
WPerのWPerによるWPerのためのPHP入門
Muyuu Fujita
ノンプログラマのGit入門
ノンプログラマのGit入門
Muyuu Fujita
Html5でword pressテーマを作るよ!
Html5でword pressテーマを作るよ!
Muyuu Fujita
More from Muyuu Fujita
(14)
Learn ES2015
Learn ES2015
Start React with Browserify
Start React with Browserify
Objective Front-End JavaScript
Objective Front-End JavaScript
小規模案件で作られた秘伝のタレ
小規模案件で作られた秘伝のタレ
閉じタグを超えた先に僕が見た景色とは
閉じタグを超えた先に僕が見た景色とは
JavaScriptと共に歩いて行く決意をした君へ
JavaScriptと共に歩いて行く決意をした君へ
非ガチ勢「よし、Coffee script使おう!」
非ガチ勢「よし、Coffee script使おう!」
あの時AngularJSと出会った僕らは
あの時AngularJSと出会った僕らは
デザイナー向け 初めてのPhp ~サイト制作に役立つtips~
デザイナー向け 初めてのPhp ~サイト制作に役立つtips~
Cssアニメーションとその制御
Cssアニメーションとその制御
WordPressで企業サイトのテーマを作る
WordPressで企業サイトのテーマを作る
WPerのWPerによるWPerのためのPHP入門
WPerのWPerによるWPerのためのPHP入門
ノンプログラマのGit入門
ノンプログラマのGit入門
Html5でword pressテーマを作るよ!
Html5でword pressテーマを作るよ!
Recently uploaded
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
A Framework for Development in the AI Age
A Framework for Development in the AI Age
Cprime
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Inflectra
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
LoriGlavin3
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
Skynet Technologies
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
Rick Flair
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Alan Dix
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Mark Goldstein
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
Recently uploaded
(20)
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
A Framework for Development in the AI Age
A Framework for Development in the AI Age
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Hello npm
1.
hello npm!
2.
me = { name:
"muyuu", twitter: "@anticyborg", belongs: "freelance", job: "Web Front-End Engineer" };
3.
• Web • Web
/LP
4.
• Web • Web
/LP
5.
• • html css
js • JS UI •
6.
• UI • •
7.
8.
9.
• •
10.
project_root └ htdocs/ └ src/ └
html/ (index.jade ) └ css/ (style.sass ) └ js/ (main.js ) └ modules/ └ tab/ _tab.sass tab.js
11.
• • src
12.
…
13.
…
14.
npm
15.
what is npm?
16.
what is npm? •
JavaScript • • • NodeJS •
17.
• npm • • • Github •
package.json npm
18.
npm • npm • https://www.npmjs.com/signup
19.
npm • npm adduser •
username, passwod, emailaddress
20.
• npm • URL •
https://www.npmjs.com/package/${name}
21.
• gulp • common.js •
github
22.
npm package.json { "name": " ", "version":
"1.0.0", "description": " ", "author": " ", "license": " ", "main": " ", "repository": {"type": " ","url": " URL"} }
23.
npm package.json { "scripts": {" ":
" "} "dependencies": " ", "devDependencies": " ", }
24.
npm package.json { "files": ["npm "] } .npmignore
25.
26.
npm publish
27.
• ( ) • •
push • npm publish!
28.
29.
• • http://semver.org/lang/ja/
30.
• 1.1.1 • (
).( ).( ) • • •
31.
npm publish
32.
33.
(script ) • npm
install packagename -D html <script src="/node_modules/pkg/pkg.js"></script> <script src="/assets/js/app.js"></script>
34.
(concat) • npm install
packagename -D • gulpfile.js concat gulp.task("concat", =>{ gulp.src([ 'node_modules/pkg/pkg.js', 'src/js/main.js' ]) .pipe(concat('app.js')) .pipe(gulp.dest('./htddocs/')); });
35.
(browseiry) • npm install
packagename -D • main.js require var pkg = require('pakegename'); pkg();
36.
• Web • Web
/LP
37.
• Web • Web
/LP
38.
Speee
39.
Speee • • Splatoon • • • • Rails
(Ruby Matz )
40.
Speee • • •
41.
Speee • • •
Download now