Instant Node Package Module
Juzer Ali
- 出版商: Packt Publishing
- 出版日期: 2013-10-04
- 售價: $1,240
- 貴賓價: 9.5 折 $1,178
- 語言: 英文
- 頁數: 56
- 裝訂: Paperback
- ISBN: 1783283335
- ISBN-13: 9781783283330
-
相關分類:
Node.js
海外代購書籍(需單獨結帳)
相關主題
商品描述
Create your own node modules and publish them on npm registry, automating repetitive tasks in between
Overview
- Learn something new in an Instant! A short, fast, focused guide delivering immediate results
- Create and distribute node modules
- Learn how to publish executables
- Automate the installation of dependencies
In Detail
Node.js is the new buzz in town and has a vibrant community.It ships with npm, which is a tool that helps automate various development, deployment, and installation of node modules, and makes the process much easier.
Instant Node Package Module is a practical guide to authoring and distributing node modules, and also for creating and managing private, standalone node.js projects.
Starting with getting node.js installed and running on a variety of platforms, we then proceed to learn about code modularization and achieving it in node.js. Picking up a practical example, we will then explore the whole process and life cycle of conceiving, writing, and publishing a node module. We will also learn how to exploit a toolsincluded with npm to automate various development and deployment steps.
Later on, we will discover the power of npm and how its different features and configurations can save large amounts of time by providing a helping hand for automating repetitive tasks between writing and publishing your modules.
What you will learn from this book
- Install node.js and npm
- Modularize code in different files and folders
- Create a working node module
- Publish your node module on the npm registry
- Create node executables and put them in the system's path
- Bootstrap two modules together so that both can keep abreast with one another
- Lock down dependencies to avoid surprises
- Configure the local npm installation to provide some of your own convenient defaults
Approach
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.
Who this book is written for
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.