Instant Node Package Manager - Helion
Tytuł oryginału: Instant Node Package Manager
ISBN: 9781783283347
stron: 56, Format: ebook
Data wydania: 2013-09-25
Księgarnia: Helion
Cena książki: 69,90 zł
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.
Osoby które kupowały "Instant Node Package Manager", wybierały także:
- D3.js w akcji 67,42 zł, (20,90 zł -69%)
- Tablice informatyczne. Node.js 16,86 zł, (5,90 zł -65%)
- React i GatsbyJS. Kurs video. Nowoczesne strony internetowe w oparciu o headless CMS i GraphQL 148,98 zł, (59,59 zł -60%)
- TypeScript i React. Kurs video. Tworzenie nowoczesnych komponent 129,00 zł, (51,60 zł -60%)
- Vue.js w praktyce. Kurs video. Poznaj narz 148,98 zł, (59,59 zł -60%)
Spis treści
Instant Node Package Manager. Create your own node modules and publish them on npm registry, automating repetitive tasks in between eBook -- spis treści
- 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
- Windows or Mac
- And thats 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
- Step 1 learning to use require()
- simplemath library
- 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