AUTOMATING WITH NODE.JS
By Shaun Michael Stone
© First Edition UK - 2018
AUTOMATING WITH NODE.JS
1. AUTOMATING WITH NODE.JS
2. Introduction
1. Preface
2. End Goal
3. Structure
1. Part 1
2. Part 2
3. Book Coding Style
4. Code snippets
5. Prerequisites
6. Assumptions
7. Suggestions
3. Technical Overview
1. Technical Terms
1. CLI
2. Bash
3. Node.js
4. npm
5. npm dependency
6. Node Modules
7. ES6
8. Chrome V8
9. ESLint
10. JavaScript Promise
4. Part 1 - Examples
5. 001 - Arguments
1. Comparison
1. Bash Example
2. Node Example
2. Summary
6. 002 - Process
1. Summary
7. 003 – Query String
1. Summary
8. 004 – URL
1. Summary
9. 005 - OS
1. Summary
10. 006 - Open
1. Summary
11. 007 - File System
1. Summary
12. 008 - Zip
1. Summary
13. 009 - Colours
1. Summary
14. 010 - Question
1. Summary
15. 011 – Cloning
1. Summary
16. 012 – Branching
1. Summary
17. 013 – Retain State
1. Summary
18. 014 – Choose Template
1. Summary
19. 015 - Email
1. Summary
20. 016 - SMS
1. Summary
21. 017 - CSV
1. Streams
2. Summary
22. 018 - Shorten URL
1. Link Shorteners
1. Long URL
2. Short URL
2. Summary
23. 019 - Minimist
1. Summary
24. 020 - Build
1. Summary
25. Part 2 - Build Tool
26. Scenario
1. Development Meeting
1. Required Tech
2. Required Repositories
27. Build Tool Planning
1. repositories
2. src
1. commands
2. constants
3. creators
4. helpers
5. setup
6. nobot.js
7. Games List
28. Commander
29. Configuration
30. Constants
31. Helpers
32. Setup
33. Command - Setup
34. Command - Template
35. Command - Game
36. Creator - Rock Paper Scissors
37. End to end
38. Wrap up
AUTOMATING WITH NODE.JS
All rights reserved.
Every precaution was taken in preparation for this book. However, the author
assumes no responsibility for errors or omissions, or for damages that may
result from the use of information.
No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form, or by any means, electronic, mechanical,
photocopying, recording, or otherwise without the consent of the author.
Download from finelybook 7450911@qq.com1
Introduction
“I will always choose a lazy person to do a difficult job because a lazy
person will find an easy way to do it.”
– Anonymous
Download from finelybook 7450911@qq.com2