Instant NPM
图书信息
| 作者 | Juzer Ali |
| 出版社 | Packt Publishing |
| ISBN | 9781783283347 |
| 出版时间 | 2013-09-25 |
| 字数 | 101.1万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A practical exploration of the lifecycle of creating node modules as well as learning all of the top features that npm has to offer.Intended for readers who want to create their first node.js modules. The programming paradigm of JavaScript is not covered so a foundation in these concepts would be beneficial.
目录
Instant Node Package Manager
Instant Node Package Manager
Credits
About the Author
Acknowledgement
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
PacktLib.PacktPub.com
Why Subscribe?
Free Access for Packt account holders
1. Instant Node Package Manager
So, what is Node Package Manager?
Installation
Step 1 – what do I need?
Step 2 – downloading node.js
Windows or Mac
Step 1 – downloading Windows/MAC installer
Step 2 – running the installer
Step 3 – testing
Linux and other Unices
One step installation
Foolproof installation
Step 1 – getting the binary
Step 2 – extracting the file
Step 3 – testing
Step 4 – symlink
Step 5 – testing symlink
Installing via nvm and nave (recommended)
Building and installing from source
And that's it!
Quick start – creating your first npm module
simplemath library
Step 1 – learning to use require()
Native modules
Importing folders
require cache
Step 2 – writing tests
Step 3 – writing the actual code
Step 4 – writing the glue code
Step 5 – creating package.json
Step 6 – adding dependencies
The node_modules folder
Step 7 – publishing
Register and login
Publish
Top 10 features you need to know about
Tag
Install
Related commands
Binaries and global installs
Related commands
Linking
.npmignore
Global .npmignore
Scripts
Config
Command-line flag
Environment variables
User config file
Global config file
Defaults
Shrinkwrap
Pruning
Publishing
Help
People and places you should get to know
Official sites
Articles and tutorials
Community
Blogs
- 中华学生百科全书——控制论与自动化(读书堂)
- 儿童英语启蒙——从绘本、游戏到分级读物(施乐遥)
- GBT 51338-2018 分布式电源并网工程调试与验收标准(电力企业联合会)
- 《新东方英语》中学生2014年12月号(《新东方英语》编辑部)
- 大学生初涉职场一本通(第2版)(杨添天 主编)
- Orlando Furioso: Bilingual Edition (English – Italian)(Ludovico Ariosto)
- 2020—2021年中国战略性新兴产业发展蓝皮书(精装版)(中国电子信息产业发展研究院)
- 建设工程监理案例分析(仅适用PC阅读)(执业资格考试命题研究中心)
