Book Image

CoffeeScript Application Development Cookbook

By : Mike Hatfield
Book Image

CoffeeScript Application Development Cookbook

By: Mike Hatfield

Overview of this book

Table of Contents (18 chapters)
CoffeeScript Application Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 11. Scripting for DevOps

In this chapter, we will cover the following recipes:

  • Executing shell commands with exec

  • Executing shell commands with spawn

  • Copying, moving, and deleting files and directories

  • Archiving files and directories

  • Parsing CSV files

  • Parsing fixed-width files

  • Padding and aligning output

  • Formatting dates with moment.js

  • Formatting numbers with accounting.js