hot-chocolate-machine 1.1.11 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +11 -117
  3. package/package.json +3 -2
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-20 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
3
+ Copyright (c) 2014-26 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,41 +1,13 @@
1
1
  <!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
2
2
 
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
3
  # Hot Chocolate Machine
21
4
 
22
- [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/hot-chocolate-machine.svg)](https://www.npmjs.com/package/hot-chocolate-machine) [![Downloads](https://img.shields.io/npm/dt/hot-chocolate-machine.svg)](https://www.npmjs.com/package/hot-chocolate-machine) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
5
+ [![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [![Ask me anything](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/hot-chocolate-machine.svg)](https://www.npmjs.com/package/hot-chocolate-machine) [![Downloads](https://img.shields.io/npm/dt/hot-chocolate-machine.svg)](https://www.npmjs.com/package/hot-chocolate-machine) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/@johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
23
6
 
24
7
  <a href="https://www.buymeacoffee.com/H96WwChMy" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee"></a>
25
8
 
26
-
27
-
28
-
29
-
30
-
31
-
32
9
  > An application that simulates how a hot chocolate machine works.
33
10
 
34
-
35
-
36
-
37
-
38
-
39
11
  ## Question
40
12
 
41
13
 
@@ -49,118 +21,40 @@ Build a machine simulator that accepts the following coins:
49
21
 
50
22
  A glass of hot chocolate costs 25¢. The machine should give the user the product and the carry over.
51
23
 
52
-
53
-
54
-
55
-
56
-
57
-
58
24
  [![hot-chocolate-machine](/docs/example.png)](#)
59
25
 
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
26
  ## :question: Get Help
86
27
 
87
- There are few ways to get help:
88
-
28
+ There are a few ways to get help:
89
29
 
90
-
91
- 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
30
+ 1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long as you add a link to your Stack Overflow question.
92
31
  2. For bug reports and feature requests, open issues. :bug:
93
32
  3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
94
33
 
34
+ ## :yum: How to Contribute
95
35
 
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
- ## :yum: How to contribute
111
36
  Have an idea? Found a bug? See [how to contribute][contributing].
112
37
 
38
+ ## :sparkling_heart: Support My Projects
113
39
 
114
- ## :sparkling_heart: Support my projects
115
- I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
116
- this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).
117
-
118
- However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
40
+ I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute it (even resell it).
119
41
 
42
+ However, if you get some profit from this or just want to encourage me to continue creating stuff, there are a few ways you can do it:
120
43
 
121
44
  - Starring and sharing the projects you like :rocket:
122
- - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you after years if you buy me one. :grin: :book:
45
+ - [![Buy me a book][badge_amazon]][amazon]—I love books! I will remember you for years if you buy me one. :grin: :book:
123
46
  - [![PayPal][badge_paypal]][paypal-donations]—You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:
124
47
  - [![Support me on Patreon][badge_patreon]][patreon]—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).
125
- - **Bitcoin**—You can send me bitcoins at this address (or scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`
126
-
127
- ![](https://i.imgur.com/z6OQI95.png)
48
+ - **Bitcoin**—You can send me bitcoins at this address (or by scanning the code below): `1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6`
128
49
 
50
+ ![Bitcoin QR code](https://i.imgur.com/z6OQI95.png)
129
51
 
130
52
  Thanks! :heart:
131
53
 
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
54
  ## :scroll: License
156
55
 
157
56
  [MIT][license] © [Ionică Bizău][website]
158
57
 
159
-
160
-
161
-
162
-
163
-
164
58
  [license]: /LICENSE
165
59
  [website]: https://ionicabizau.net
166
60
  [contributing]: /CONTRIBUTING.md
@@ -170,5 +64,5 @@ Thanks! :heart:
170
64
  [badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg
171
65
  [badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg
172
66
  [patreon]: https://www.patreon.com/ionicabizau
173
- [amazon]: http://amzn.eu/hRo9sIZ
67
+ [amazon]: https://amzn.eu/hRo9sIZ
174
68
  [paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hot-chocolate-machine",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "An application that simulates how a hot chocolate machine works.",
5
5
  "main": "lib/index.js",
6
6
  "directories": {
@@ -57,8 +57,9 @@
57
57
  "menu/",
58
58
  "cli.js",
59
59
  "index.js",
60
+ "index.d.ts",
60
61
  "bloggify.js",
61
62
  "bloggify.json",
62
63
  "bloggify/"
63
64
  ]
64
- }
65
+ }