You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,9 @@
19
19
20
20
## About The Project
21
21
22
-
This packages aim is to simplify programmatically generate flags to use in Unix-style command by declaring them with an object literal and turning them into an array or a string of usable flags.
22
+
The purpose of this package is gracefully exiting Node.js processes the "good way" (opinated clearly), while also providing some minir extendability!
23
23
24
-
Here's why:
25
-
26
-
- You exec/spawn commands and need to provide options
27
-
- You want to dynamically add flags without bunch of string concats
28
-
- you don't want to have an headache refactoring when needed
24
+
This package also takes an array of callbacks that will get executed serially to allow closing user defined resource, eg: a database connection.
0 commit comments