售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜