Cargando…

Instant Node Package Manager.

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 rea...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ali, Juzer
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2013.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewer; www.PacktPub.com; PacktLib. PacktPub.com; Table of Contents; 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; Linux and other Unices; 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(); Step 2
  • writing tests; Step 3
  • writing the actual code.
  • Step 4
  • writing the glue codeStep 5
  • creating package.json; Step 6
  • adding dependencies; Step 7
  • publishing; 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; Twitter.