Book Image

Node Cookbook: Second Edition

By : David Mark Clements
Book Image

Node Cookbook: Second Edition

By: David Mark Clements

Overview of this book

Table of Contents (18 chapters)
Node Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Writing Your Own Node Modules

In this chapter, we will cover the following topics:

  • Creating a test-driven module specification

  • Writing a functional module mock-up

  • Refactoring with prototypical inheritance

  • Extending a module's API

  • Deploying a module to npm