fsevents 1.0.5 → 1.0.6

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.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

Files changed (360) hide show
  1. package/Readme.md +12 -13
  2. package/node_modules/ansi/package.json +1 -2
  3. package/node_modules/are-we-there-yet/package.json +1 -2
  4. package/node_modules/asn1/.travis.yml +4 -0
  5. package/node_modules/asn1/lib/ber/reader.js +27 -33
  6. package/node_modules/asn1/lib/ber/writer.js +10 -11
  7. package/node_modules/asn1/package.json +21 -19
  8. package/node_modules/asn1/tst/ber/reader.test.js +36 -0
  9. package/node_modules/asn1/tst/ber/writer.test.js +74 -0
  10. package/node_modules/assert-plus/package.json +1 -0
  11. package/node_modules/{ctype → bl/node_modules/readable-stream/node_modules/core-util-is}/LICENSE +1 -6
  12. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +11 -11
  13. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +17 -12
  14. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/test.js +68 -0
  15. package/node_modules/boom/package.json +1 -1
  16. package/node_modules/commander/package.json +1 -1
  17. package/node_modules/core-util-is/LICENSE +19 -0
  18. package/node_modules/core-util-is/lib/util.js +11 -11
  19. package/node_modules/core-util-is/package.json +17 -12
  20. package/node_modules/core-util-is/test.js +68 -0
  21. package/node_modules/dashdash/README.md +508 -0
  22. package/node_modules/dashdash/lib/dashdash.js +813 -0
  23. package/node_modules/dashdash/package.json +87 -0
  24. package/node_modules/deep-extend/LICENSE +1 -1
  25. package/node_modules/deep-extend/README.md +89 -52
  26. package/node_modules/deep-extend/index.js +1 -90
  27. package/node_modules/deep-extend/lib/deep-extend.js +144 -0
  28. package/node_modules/deep-extend/package.json +47 -16
  29. package/node_modules/deep-extend/test/index.spec.js +168 -5
  30. package/node_modules/delegates/package.json +1 -2
  31. package/node_modules/ecc-jsbn/.npmignore +15 -0
  32. package/node_modules/ecc-jsbn/LICENSE +21 -0
  33. package/node_modules/ecc-jsbn/README.md +8 -0
  34. package/node_modules/ecc-jsbn/index.js +57 -0
  35. package/node_modules/ecc-jsbn/lib/LICENSE-jsbn +40 -0
  36. package/node_modules/ecc-jsbn/lib/ec.js +561 -0
  37. package/node_modules/ecc-jsbn/lib/sec.js +170 -0
  38. package/node_modules/ecc-jsbn/package.json +63 -0
  39. package/node_modules/ecc-jsbn/test.js +14 -0
  40. package/node_modules/extsprintf/.gitmodules +6 -0
  41. package/node_modules/{path-is-absolute/license → extsprintf/LICENSE} +2 -4
  42. package/node_modules/extsprintf/Makefile +23 -0
  43. package/node_modules/extsprintf/Makefile.deps +39 -0
  44. package/node_modules/extsprintf/Makefile.targ +285 -0
  45. package/node_modules/extsprintf/README.md +39 -0
  46. package/node_modules/extsprintf/examples/simple.js +2 -0
  47. package/node_modules/{ctype/tools/jsl.conf → extsprintf/jsl.node.conf} +71 -63
  48. package/node_modules/extsprintf/lib/extsprintf.js +166 -0
  49. package/node_modules/extsprintf/package.json +48 -0
  50. package/node_modules/fstream/package.json +1 -2
  51. package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/package.json +4 -22
  52. package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/package.json +3 -21
  53. package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/package.json +4 -23
  54. package/node_modules/fstream-ignore/node_modules/minimatch/package.json +4 -24
  55. package/node_modules/fstream-ignore/package.json +1 -2
  56. package/node_modules/gauge/package.json +1 -2
  57. package/node_modules/har-validator/package.json +15 -15
  58. package/node_modules/has-unicode/package.json +1 -2
  59. package/node_modules/hawk/dist/client.js +340 -0
  60. package/node_modules/hawk/lib/browser.js +14 -20
  61. package/node_modules/hawk/package.json +10 -10
  62. package/node_modules/hawk/test/browser.js +134 -101
  63. package/node_modules/hawk/test/index.js +61 -61
  64. package/node_modules/hawk/test/server.js +72 -84
  65. package/node_modules/hawk/test/uri.js +52 -63
  66. package/node_modules/http-signature/CHANGES.md +39 -0
  67. package/node_modules/http-signature/http_signing.md +16 -17
  68. package/node_modules/http-signature/lib/index.js +6 -4
  69. package/node_modules/http-signature/lib/parser.js +43 -29
  70. package/node_modules/http-signature/lib/signer.js +290 -74
  71. package/node_modules/http-signature/lib/utils.js +112 -0
  72. package/node_modules/http-signature/lib/verify.js +47 -15
  73. package/node_modules/http-signature/package.json +20 -14
  74. package/node_modules/is-my-json-valid/index.js +16 -14
  75. package/node_modules/is-my-json-valid/package.json +16 -12
  76. package/node_modules/is-typedarray/LICENSE.md +18 -0
  77. package/node_modules/is-typedarray/README.md +16 -0
  78. package/node_modules/is-typedarray/index.js +41 -0
  79. package/node_modules/is-typedarray/package.json +63 -0
  80. package/node_modules/is-typedarray/test.js +34 -0
  81. package/node_modules/jodid25519/.npmignore +11 -0
  82. package/node_modules/jodid25519/.travis.yml +7 -0
  83. package/node_modules/jodid25519/AUTHORS.md +3 -0
  84. package/node_modules/jodid25519/LICENSE +23 -0
  85. package/node_modules/jodid25519/README.md +51 -0
  86. package/node_modules/jodid25519/almond.0 +42 -0
  87. package/node_modules/jodid25519/almond.1 +13 -0
  88. package/node_modules/jodid25519/index.js +35 -0
  89. package/node_modules/jodid25519/jsdoc.json +19 -0
  90. package/node_modules/jodid25519/lib/core.js +481 -0
  91. package/node_modules/jodid25519/lib/curve255.js +221 -0
  92. package/node_modules/jodid25519/lib/dh.js +111 -0
  93. package/node_modules/jodid25519/lib/eddsa.js +573 -0
  94. package/node_modules/jodid25519/lib/utils.js +198 -0
  95. package/node_modules/jodid25519/package.json +77 -0
  96. package/node_modules/jsbn/.npmignore +2 -0
  97. package/node_modules/jsbn/LICENSE +40 -0
  98. package/node_modules/jsbn/README.md +175 -0
  99. package/node_modules/jsbn/example.html +12 -0
  100. package/node_modules/jsbn/example.js +3 -0
  101. package/node_modules/jsbn/index.js +1358 -0
  102. package/node_modules/jsbn/package.json +60 -0
  103. package/node_modules/json-schema/README.md +5 -0
  104. package/node_modules/json-schema/draft-00/hyper-schema +68 -0
  105. package/node_modules/json-schema/draft-00/json-ref +26 -0
  106. package/node_modules/json-schema/draft-00/links +33 -0
  107. package/node_modules/json-schema/draft-00/schema +155 -0
  108. package/node_modules/json-schema/draft-01/hyper-schema +68 -0
  109. package/node_modules/json-schema/draft-01/json-ref +26 -0
  110. package/node_modules/json-schema/draft-01/links +33 -0
  111. package/node_modules/json-schema/draft-01/schema +155 -0
  112. package/node_modules/json-schema/draft-02/hyper-schema +68 -0
  113. package/node_modules/json-schema/draft-02/json-ref +26 -0
  114. package/node_modules/json-schema/draft-02/links +35 -0
  115. package/node_modules/json-schema/draft-02/schema +166 -0
  116. package/node_modules/json-schema/draft-03/examples/address +20 -0
  117. package/node_modules/json-schema/draft-03/examples/calendar +53 -0
  118. package/node_modules/json-schema/draft-03/examples/card +105 -0
  119. package/node_modules/json-schema/draft-03/examples/geo +8 -0
  120. package/node_modules/json-schema/draft-03/examples/interfaces +23 -0
  121. package/node_modules/json-schema/draft-03/hyper-schema +60 -0
  122. package/node_modules/json-schema/draft-03/json-ref +26 -0
  123. package/node_modules/json-schema/draft-03/links +35 -0
  124. package/node_modules/json-schema/draft-03/schema +174 -0
  125. package/node_modules/json-schema/draft-04/hyper-schema +60 -0
  126. package/node_modules/json-schema/draft-04/links +41 -0
  127. package/node_modules/json-schema/draft-04/schema +189 -0
  128. package/node_modules/json-schema/draft-zyp-json-schema-03.xml +1120 -0
  129. package/node_modules/json-schema/draft-zyp-json-schema-04.xml +1072 -0
  130. package/node_modules/json-schema/lib/links.js +52 -0
  131. package/node_modules/json-schema/lib/validate.js +260 -0
  132. package/node_modules/json-schema/package.json +67 -0
  133. package/node_modules/json-schema/test/tests.js +95 -0
  134. package/node_modules/jsprim/CHANGES.md +30 -0
  135. package/node_modules/jsprim/LICENSE +19 -0
  136. package/node_modules/jsprim/README.md +228 -0
  137. package/node_modules/jsprim/lib/jsprim.js +478 -0
  138. package/node_modules/jsprim/package.json +54 -0
  139. package/node_modules/lodash._basetostring/package.json +1 -2
  140. package/node_modules/lodash._createpadding/package.json +1 -2
  141. package/node_modules/lodash.pad/package.json +1 -2
  142. package/node_modules/lodash.padleft/package.json +1 -2
  143. package/node_modules/lodash.padright/package.json +1 -2
  144. package/node_modules/lodash.repeat/package.json +1 -2
  145. package/node_modules/node-pre-gyp/CHANGELOG.md +8 -0
  146. package/node_modules/node-pre-gyp/README.md +570 -0
  147. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +4 -0
  148. package/node_modules/node-pre-gyp/node_modules/nopt/lib/nopt.js +2 -1
  149. package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/package.json +30 -37
  150. package/node_modules/node-pre-gyp/node_modules/nopt/package.json +37 -57
  151. package/node_modules/node-pre-gyp/node_modules/nopt/test/basic.js +22 -0
  152. package/node_modules/node-pre-gyp/package.json +17 -17
  153. package/node_modules/node-uuid/.npmignore +2 -0
  154. package/node_modules/node-uuid/README.md +12 -1
  155. package/node_modules/node-uuid/bower.json +1 -1
  156. package/node_modules/node-uuid/component.json +11 -4
  157. package/node_modules/node-uuid/package.json +25 -12
  158. package/node_modules/node-uuid/test/test.js +3 -0
  159. package/node_modules/node-uuid/uuid.js +70 -45
  160. package/node_modules/npmlog/.travis.yml +14 -0
  161. package/node_modules/npmlog/log.js +3 -0
  162. package/node_modules/npmlog/package.json +23 -20
  163. package/node_modules/npmlog/test/basic.js +8 -1
  164. package/node_modules/once/package.json +2 -3
  165. package/node_modules/pinkie/index.js +23 -7
  166. package/node_modules/pinkie/package.json +22 -15
  167. package/node_modules/pinkie/readme.md +17 -9
  168. package/node_modules/pinkie-promise/package.json +16 -14
  169. package/node_modules/pinkie-promise/readme.md +5 -3
  170. package/node_modules/rc/README.md +1 -1
  171. package/node_modules/rc/index.js +1 -1
  172. package/node_modules/rc/node_modules/minimist/package.json +1 -1
  173. package/node_modules/rc/package.json +12 -12
  174. package/node_modules/request/.eslintrc +1 -1
  175. package/node_modules/request/.travis.yml +4 -4
  176. package/node_modules/request/CHANGELOG.md +25 -0
  177. package/node_modules/request/README.md +12 -13
  178. package/node_modules/request/lib/har.js +84 -75
  179. package/node_modules/request/lib/redirect.js +2 -3
  180. package/node_modules/request/lib/tunnel.js +13 -18
  181. package/node_modules/request/package.json +17 -16
  182. package/node_modules/request/request.js +16 -59
  183. package/node_modules/rimraf/README.md +7 -2
  184. package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/package.json +5 -25
  185. package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/package.json +5 -25
  186. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +16 -0
  187. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +42 -0
  188. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +1 -0
  189. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +23 -0
  190. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +58 -0
  191. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +25 -0
  192. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +3 -0
  193. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
  194. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
  195. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
  196. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
  197. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +3 -0
  198. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +21 -0
  199. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
  200. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +80 -0
  201. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
  202. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +38 -0
  203. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +79 -0
  204. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +56 -0
  205. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +4 -0
  206. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
  207. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
  208. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
  209. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
  210. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +90 -0
  211. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
  212. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +81 -0
  213. package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/package.json +3 -21
  214. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
  215. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +58 -0
  216. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
  217. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
  218. package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +70 -0
  219. package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/package.json +4 -22
  220. package/node_modules/rimraf/node_modules/glob/package.json +2 -20
  221. package/node_modules/rimraf/package.json +10 -10
  222. package/node_modules/semver/README.md +25 -1
  223. package/node_modules/semver/package.json +10 -10
  224. package/node_modules/semver/range.bnf +16 -0
  225. package/node_modules/semver/semver.js +0 -12
  226. package/node_modules/sshpk/.npmignore +8 -0
  227. package/node_modules/sshpk/.travis.yml +11 -0
  228. package/node_modules/sshpk/LICENSE +18 -0
  229. package/node_modules/sshpk/README.md +436 -0
  230. package/node_modules/sshpk/bin/sshpk-conv +183 -0
  231. package/node_modules/sshpk/lib/algs.js +168 -0
  232. package/node_modules/sshpk/lib/dhe.js +312 -0
  233. package/node_modules/sshpk/lib/ed-compat.js +94 -0
  234. package/node_modules/sshpk/lib/errors.js +58 -0
  235. package/node_modules/sshpk/lib/fingerprint.js +140 -0
  236. package/node_modules/sshpk/lib/formats/auto.js +73 -0
  237. package/node_modules/sshpk/lib/formats/pem.js +152 -0
  238. package/node_modules/sshpk/lib/formats/pkcs1.js +320 -0
  239. package/node_modules/sshpk/lib/formats/pkcs8.js +510 -0
  240. package/node_modules/sshpk/lib/formats/rfc4253.js +145 -0
  241. package/node_modules/sshpk/lib/formats/ssh-private.js +138 -0
  242. package/node_modules/sshpk/lib/formats/ssh.js +114 -0
  243. package/node_modules/sshpk/lib/index.js +25 -0
  244. package/node_modules/sshpk/lib/key.js +260 -0
  245. package/node_modules/sshpk/lib/private-key.js +224 -0
  246. package/node_modules/sshpk/lib/signature.js +237 -0
  247. package/node_modules/sshpk/lib/ssh-buffer.js +123 -0
  248. package/node_modules/sshpk/lib/utils.js +207 -0
  249. package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
  250. package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +8 -0
  251. package/node_modules/sshpk/node_modules/assert-plus/README.md +155 -0
  252. package/node_modules/sshpk/node_modules/assert-plus/assert.js +206 -0
  253. package/node_modules/sshpk/node_modules/assert-plus/package.json +88 -0
  254. package/node_modules/sshpk/package.json +92 -0
  255. package/node_modules/strip-json-comments/cli.js +2 -2
  256. package/node_modules/strip-json-comments/package.json +13 -12
  257. package/node_modules/strip-json-comments/readme.md +11 -5
  258. package/node_modules/strip-json-comments/strip-json-comments.js +16 -7
  259. package/node_modules/tar/package.json +1 -2
  260. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/LICENSE +19 -0
  261. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +11 -11
  262. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/package.json +17 -12
  263. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/test.js +68 -0
  264. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/package.json +1 -1
  265. package/node_modules/tar-pack/node_modules/rimraf/package.json +1 -2
  266. package/node_modules/tar-pack/package.json +1 -2
  267. package/node_modules/tough-cookie/lib/cookie.js +1 -1
  268. package/node_modules/tough-cookie/package.json +7 -7
  269. package/node_modules/tweetnacl/.npmignore +4 -0
  270. package/node_modules/tweetnacl/CHANGELOG.md +128 -0
  271. package/node_modules/tweetnacl/README.md +463 -0
  272. package/node_modules/tweetnacl/nacl-fast.js +2418 -0
  273. package/node_modules/tweetnacl/nacl-fast.min.js +2 -0
  274. package/node_modules/tweetnacl/nacl.js +1205 -0
  275. package/node_modules/tweetnacl/nacl.min.js +1 -0
  276. package/node_modules/tweetnacl/package.json +101 -0
  277. package/node_modules/uid-number/package.json +2 -3
  278. package/node_modules/verror/.gitmodules +0 -0
  279. package/node_modules/verror/LICENSE +19 -0
  280. package/node_modules/verror/Makefile +35 -0
  281. package/node_modules/verror/Makefile.targ +285 -0
  282. package/node_modules/verror/README.md +120 -0
  283. package/node_modules/verror/examples/levels-verror.js +36 -0
  284. package/node_modules/verror/examples/levels-werror.js +34 -0
  285. package/node_modules/verror/examples/varargs.js +6 -0
  286. package/node_modules/verror/examples/verror.js +13 -0
  287. package/node_modules/verror/examples/werror.js +14 -0
  288. package/node_modules/verror/jsl.node.conf +139 -0
  289. package/node_modules/verror/lib/verror.js +157 -0
  290. package/node_modules/verror/package.json +51 -0
  291. package/node_modules/verror/tests/tst.inherit.js +100 -0
  292. package/node_modules/verror/tests/tst.verror.js +156 -0
  293. package/node_modules/verror/tests/tst.werror.js +179 -0
  294. package/package.json +3 -3
  295. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/util.js +0 -106
  296. package/node_modules/core-util-is/util.js +0 -106
  297. package/node_modules/ctype/.npmignore +0 -1
  298. package/node_modules/ctype/CHANGELOG +0 -78
  299. package/node_modules/ctype/README +0 -82
  300. package/node_modules/ctype/README.old +0 -298
  301. package/node_modules/ctype/ctf.js +0 -245
  302. package/node_modules/ctype/ctio.js +0 -1485
  303. package/node_modules/ctype/ctype.js +0 -944
  304. package/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
  305. package/node_modules/ctype/package.json +0 -51
  306. package/node_modules/ctype/tools/jsstyle +0 -839
  307. package/node_modules/http-signature/lib/util.js +0 -306
  308. package/node_modules/inflight/node_modules/once/package.json +0 -86
  309. package/node_modules/inflight/node_modules/once/test/once.js +0 -23
  310. package/node_modules/rimraf/node_modules/glob/LICENSE +0 -15
  311. package/node_modules/rimraf/node_modules/minimatch/LICENSE +0 -15
  312. package/node_modules/rimraf/node_modules/once/LICENSE +0 -15
  313. package/node_modules/rimraf/node_modules/once/README.md +0 -51
  314. package/node_modules/rimraf/node_modules/once/once.js +0 -21
  315. package/node_modules/rimraf/node_modules/once/package.json +0 -84
  316. package/node_modules/rimraf/node_modules/once/test/once.js +0 -23
  317. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/util.js +0 -106
  318. package/node_modules/wrappy/LICENSE +0 -15
  319. /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/.npmignore +0 -0
  320. /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/README.md +0 -0
  321. /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/example.js +0 -0
  322. /package/node_modules/{brace-expansion → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion}/index.js +0 -0
  323. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.npmignore +0 -0
  324. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/.travis.yml +0 -0
  325. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/LICENSE.md +0 -0
  326. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/Makefile +0 -0
  327. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/README.md +0 -0
  328. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/example.js +0 -0
  329. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/index.js +0 -0
  330. /package/node_modules/{balanced-match → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match}/test/balanced.js +0 -0
  331. /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/.travis.yml +0 -0
  332. /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/LICENSE +0 -0
  333. /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/README.markdown +0 -0
  334. /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/example/map.js +0 -0
  335. /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/index.js +0 -0
  336. /package/node_modules/{concat-map → fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map}/test/map.js +0 -0
  337. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/.npmignore +0 -0
  338. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/.travis.yml +0 -0
  339. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/CONTRIBUTING.md +0 -0
  340. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/LICENSE +0 -0
  341. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/README.md +0 -0
  342. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/abbrev.js +0 -0
  343. /package/node_modules/{abbrev → node-pre-gyp/node_modules/nopt/node_modules/abbrev}/test.js +0 -0
  344. /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/.eslintrc +0 -0
  345. /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/LICENSE +0 -0
  346. /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/README.md +0 -0
  347. /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/inflight.js +0 -0
  348. /package/node_modules/{fstream-ignore/node_modules/minimatch → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/LICENSE +0 -0
  349. /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/README.md +0 -0
  350. /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/test/basic.js +0 -0
  351. /package/node_modules/{wrappy → rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy}/wrappy.js +0 -0
  352. /package/node_modules/{inflight → rimraf/node_modules/glob/node_modules/inflight}/test.js +0 -0
  353. /package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/README.md +0 -0
  354. /package/node_modules/rimraf/node_modules/{minimatch → glob/node_modules/minimatch}/minimatch.js +0 -0
  355. /package/node_modules/{inflight → rimraf/node_modules/glob}/node_modules/once/README.md +0 -0
  356. /package/node_modules/{inflight/node_modules/once → rimraf/node_modules/glob/node_modules/once/node_modules/wrappy}/LICENSE +0 -0
  357. /package/node_modules/{inflight → rimraf/node_modules/glob}/node_modules/once/once.js +0 -0
  358. /package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/index.js +0 -0
  359. /package/node_modules/{path-is-absolute → rimraf/node_modules/glob/node_modules/path-is-absolute}/readme.md +0 -0
  360. /package/node_modules/{deep-extend → verror}/.npmignore +0 -0
@@ -0,0 +1,508 @@
1
+ A light, featureful and explicit option parsing library for node.js.
2
+
3
+ [Why another one? See below](#why). tl;dr: The others I've tried are one of
4
+ too loosey goosey (not explicit), too big/too many deps, or ill specified.
5
+ YMMV.
6
+
7
+ Follow <a href="https://twitter.com/intent/user?screen_name=trentmick" target="_blank">@trentmick</a>
8
+ for updates to node-dashdash.
9
+
10
+ # Install
11
+
12
+ npm install dashdash
13
+
14
+
15
+ # Usage
16
+
17
+ ```javascript
18
+ var dashdash = require('dashdash');
19
+
20
+ // Specify the options. Minimally `name` (or `names`) and `type`
21
+ // must be given for each.
22
+ var options = [
23
+ {
24
+ // `names` or a single `name`. First element is the `opts.KEY`.
25
+ names: ['help', 'h'],
26
+ // See "Option specs" below for types.
27
+ type: 'bool',
28
+ help: 'Print this help and exit.'
29
+ }
30
+ ];
31
+
32
+ // Shortcut form. As called it infers `process.argv`. See below for
33
+ // the longer form to use methods like `.help()` on the Parser object.
34
+ var opts = dashdash.parse({options: options});
35
+
36
+ console.log("opts:", opts);
37
+ console.log("args:", opts._args);
38
+ ```
39
+
40
+
41
+ # Longer Example
42
+
43
+ A more realistic [starter script "foo.js"](./examples/foo.js) is as follows.
44
+ This also shows using `parser.help()` for formatted option help.
45
+
46
+ ```javascript
47
+ var dashdash = require('./lib/dashdash');
48
+
49
+ var options = [
50
+ {
51
+ name: 'version',
52
+ type: 'bool',
53
+ help: 'Print tool version and exit.'
54
+ },
55
+ {
56
+ names: ['help', 'h'],
57
+ type: 'bool',
58
+ help: 'Print this help and exit.'
59
+ },
60
+ {
61
+ names: ['verbose', 'v'],
62
+ type: 'arrayOfBool',
63
+ help: 'Verbose output. Use multiple times for more verbose.'
64
+ },
65
+ {
66
+ names: ['file', 'f'],
67
+ type: 'string',
68
+ help: 'File to process',
69
+ helpArg: 'FILE'
70
+ }
71
+ ];
72
+
73
+ var parser = dashdash.createParser({options: options});
74
+ try {
75
+ var opts = parser.parse(process.argv);
76
+ } catch (e) {
77
+ console.error('foo: error: %s', e.message);
78
+ process.exit(1);
79
+ }
80
+
81
+ console.log("# opts:", opts);
82
+ console.log("# args:", opts._args);
83
+
84
+ // Use `parser.help()` for formatted options help.
85
+ if (opts.help) {
86
+ var help = parser.help({includeEnv: true}).trimRight();
87
+ console.log('usage: node foo.js [OPTIONS]\n'
88
+ + 'options:\n'
89
+ + help);
90
+ process.exit(0);
91
+ }
92
+
93
+ // ...
94
+ ```
95
+
96
+
97
+ Some example output from this script (foo.js):
98
+
99
+ ```
100
+ $ node foo.js -h
101
+ # opts: { help: true,
102
+ _order: [ { name: 'help', value: true, from: 'argv' } ],
103
+ _args: [] }
104
+ # args: []
105
+ usage: node foo.js [OPTIONS]
106
+ options:
107
+ --version Print tool version and exit.
108
+ -h, --help Print this help and exit.
109
+ -v, --verbose Verbose output. Use multiple times for more verbose.
110
+ -f FILE, --file=FILE File to process
111
+
112
+ $ node foo.js -v
113
+ # opts: { verbose: [ true ],
114
+ _order: [ { name: 'verbose', value: true, from: 'argv' } ],
115
+ _args: [] }
116
+ # args: []
117
+
118
+ $ node foo.js --version arg1
119
+ # opts: { version: true,
120
+ _order: [ { name: 'version', value: true, from: 'argv' } ],
121
+ _args: [ 'arg1' ] }
122
+ # args: [ 'arg1' ]
123
+
124
+ $ node foo.js -f bar.txt
125
+ # opts: { file: 'bar.txt',
126
+ _order: [ { name: 'file', value: 'bar.txt', from: 'argv' } ],
127
+ _args: [] }
128
+ # args: []
129
+
130
+ $ node foo.js -vvv --file=blah
131
+ # opts: { verbose: [ true, true, true ],
132
+ file: 'blah',
133
+ _order:
134
+ [ { name: 'verbose', value: true, from: 'argv' },
135
+ { name: 'verbose', value: true, from: 'argv' },
136
+ { name: 'verbose', value: true, from: 'argv' },
137
+ { name: 'file', value: 'blah', from: 'argv' } ],
138
+ _args: [] }
139
+ # args: []
140
+ ```
141
+
142
+
143
+ See the ["examples"](examples/) dir for a number of starter examples using
144
+ some of dashdash's features.
145
+
146
+
147
+ # Environment variable integration
148
+
149
+ If you want to allow environment variables to specify options to your tool,
150
+ dashdash makes this easy. We can change the 'verbose' option in the example
151
+ above to include an 'env' field:
152
+
153
+ ```javascript
154
+ {
155
+ names: ['verbose', 'v'],
156
+ type: 'arrayOfBool',
157
+ env: 'FOO_VERBOSE', // <--- add this line
158
+ help: 'Verbose output. Use multiple times for more verbose.'
159
+ },
160
+ ```
161
+
162
+ then the **"FOO_VERBOSE" environment variable** can be used to set this
163
+ option:
164
+
165
+ ```shell
166
+ $ FOO_VERBOSE=1 node foo.js
167
+ # opts: { verbose: [ true ],
168
+ _order: [ { name: 'verbose', value: true, from: 'env' } ],
169
+ _args: [] }
170
+ # args: []
171
+ ```
172
+
173
+ Boolean options will interpret the empty string as unset, '0' as false
174
+ and anything else as true.
175
+
176
+ ```shell
177
+ $ FOO_VERBOSE= node examples/foo.js # not set
178
+ # opts: { _order: [], _args: [] }
179
+ # args: []
180
+
181
+ $ FOO_VERBOSE=0 node examples/foo.js # '0' is false
182
+ # opts: { verbose: [ false ],
183
+ _order: [ { key: 'verbose', value: false, from: 'env' } ],
184
+ _args: [] }
185
+ # args: []
186
+
187
+ $ FOO_VERBOSE=1 node examples/foo.js # true
188
+ # opts: { verbose: [ true ],
189
+ _order: [ { key: 'verbose', value: true, from: 'env' } ],
190
+ _args: [] }
191
+ # args: []
192
+
193
+ $ FOO_VERBOSE=boogabooga node examples/foo.js # true
194
+ # opts: { verbose: [ true ],
195
+ _order: [ { key: 'verbose', value: true, from: 'env' } ],
196
+ _args: [] }
197
+ # args: []
198
+ ```
199
+
200
+ Non-booleans can be used as well. Strings:
201
+
202
+ ```shell
203
+ $ FOO_FILE=data.txt node examples/foo.js
204
+ # opts: { file: 'data.txt',
205
+ _order: [ { key: 'file', value: 'data.txt', from: 'env' } ],
206
+ _args: [] }
207
+ # args: []
208
+ ```
209
+
210
+ Numbers:
211
+
212
+ ```shell
213
+ $ FOO_TIMEOUT=5000 node examples/foo.js
214
+ # opts: { timeout: 5000,
215
+ _order: [ { key: 'timeout', value: 5000, from: 'env' } ],
216
+ _args: [] }
217
+ # args: []
218
+
219
+ $ FOO_TIMEOUT=blarg node examples/foo.js
220
+ foo: error: arg for "FOO_TIMEOUT" is not a positive integer: "blarg"
221
+ ```
222
+
223
+ With the `includeEnv: true` config to `parser.help()` the environment
224
+ variable can also be included in **help output**:
225
+
226
+ usage: node foo.js [OPTIONS]
227
+ options:
228
+ --version Print tool version and exit.
229
+ -h, --help Print this help and exit.
230
+ -v, --verbose Verbose output. Use multiple times for more verbose.
231
+ Environment: FOO_VERBOSE=1
232
+ -f FILE, --file=FILE File to process
233
+
234
+
235
+ # Parser config
236
+
237
+ Parser construction (i.e. `dashdash.createParser(CONFIG)`) takes the
238
+ following fields:
239
+
240
+ - `options` (Array of option specs). Required. See the
241
+ [Option specs](#option-specs) section below.
242
+
243
+ - `interspersed` (Boolean). Optional. Default is true. If true this allows
244
+ interspersed arguments and options. I.e.:
245
+
246
+ node ./tool.js -v arg1 arg2 -h # '-h' is after interspersed args
247
+
248
+ Set it to false to have '-h' **not** get parsed as an option in the above
249
+ example.
250
+
251
+ - `allowUnknown` (Boolean). Optional. Default is false. If false, this causes
252
+ unknown arguments to throw an error. I.e.:
253
+
254
+ node ./tool.js -v arg1 --afe8asefksjefhas
255
+
256
+ Set it to true to treat the unknown option as a positional
257
+ argument.
258
+
259
+ **Caveat**: When a shortopt group, such as `-xaz` contains a mix of
260
+ known and unknown options, the *entire* group is passed through
261
+ unmolested as a positional argument.
262
+
263
+ Consider if you have a known short option `-a`, and parse the
264
+ following command line:
265
+
266
+ node ./tool.js -xaz
267
+
268
+ where `-x` and `-z` are unknown. There are multiple ways to
269
+ interpret this:
270
+
271
+ 1. `-x` takes a value: `{x: 'az'}`
272
+ 2. `-x` and `-z` are both booleans: `{x:true,a:true,z:true}`
273
+
274
+ Since dashdash does not know what `-x` and `-z` are, it can't know
275
+ if you'd prefer to receive `{a:true,_args:['-x','-z']}` or
276
+ `{x:'az'}`, or `{_args:['-xaz']}`. Leaving the positional arg unprocessed
277
+ is the easiest mistake for the user to recover from.
278
+
279
+
280
+ # Option specs
281
+
282
+ Example using all fields:
283
+
284
+ ```javascript
285
+ {
286
+ names: ['file', 'f'], // Required (or `name`).
287
+ type: 'string', // Required.
288
+ env: 'MYTOOL_FILE',
289
+ help: 'Config file to load before running "mytool"',
290
+ helpArg: 'PATH',
291
+ helpWrap: false,
292
+ default: path.resolve(process.env.HOME, '.mytoolrc')
293
+ }
294
+ ```
295
+
296
+ Each option spec in the `options` array must/can have the following fields:
297
+
298
+ - `name` (String) or `names` (Array). Required. These give the option name
299
+ and aliases. The first name (if more than one given) is the key for the
300
+ parsed `opts` object.
301
+
302
+ - `type` (String). Required. One of:
303
+
304
+ - bool
305
+ - string
306
+ - number
307
+ - integer
308
+ - positiveInteger
309
+ - date (epoch seconds, e.g. 1396031701, or ISO 8601 format
310
+ `YYYY-MM-DD[THH:MM:SS[.sss][Z]]`, e.g. "2014-03-28T18:35:01.489Z")
311
+ - arrayOfBool
312
+ - arrayOfString
313
+ - arrayOfNumber
314
+ - arrayOfInteger
315
+ - arrayOfPositiveInteger
316
+ - arrayOfDate
317
+
318
+ FWIW, these names attempt to match with asserts on
319
+ [assert-plus](https://github.com/mcavage/node-assert-plus).
320
+ You can add your own custom option types with `dashdash.addOptionType`.
321
+ See below.
322
+
323
+ - `env` (String or Array of String). Optional. An environment variable name
324
+ (or names) that can be used as a fallback for this option. For example,
325
+ given a "foo.js" like this:
326
+
327
+ var options = [{names: ['dry-run', 'n'], env: 'FOO_DRY_RUN'}];
328
+ var opts = dashdash.parse({options: options});
329
+
330
+ Both `node foo.js --dry-run` and `FOO_DRY_RUN=1 node foo.js` would result
331
+ in `opts.dry_run = true`.
332
+
333
+ An environment variable is only used as a fallback, i.e. it is ignored if
334
+ the associated option is given in `argv`.
335
+
336
+ - `help` (String). Optional. Used for `parser.help()` output.
337
+
338
+ - `helpArg` (String). Optional. Used in help output as the placeholder for
339
+ the option argument, e.g. the "PATH" in:
340
+
341
+ ...
342
+ -f PATH, --file=PATH File to process
343
+ ...
344
+
345
+ - `helpWrap` (Boolean). Optional, default true. Set this to `false` to have
346
+ that option's `help` *not* be text wrapped in `<parser>.help()` output.
347
+
348
+ - `default`. Optional. A default value used for this option, if the
349
+ option isn't specified in argv.
350
+
351
+ - `hidden` (Boolean). Optional, default false. If true, help output will not
352
+ include this option.
353
+
354
+
355
+ # Option group headings
356
+
357
+ You can add headings between option specs in the `options` array. To do so,
358
+ simply add an object with only a `group` property -- the string to print as
359
+ the heading for the subsequent options in the array. For example:
360
+
361
+ ```javascript
362
+ var options = [
363
+ {
364
+ group: 'Armament Options'
365
+ },
366
+ {
367
+ names: [ 'weapon', 'w' ],
368
+ type: 'string'
369
+ },
370
+ {
371
+ group: 'General Options'
372
+ },
373
+ {
374
+ names: [ 'help', 'h' ],
375
+ type: 'bool'
376
+ }
377
+ ];
378
+ ...
379
+ ```
380
+
381
+ Note: You can use an empty string, `{group: ''}`, to get a blank line in help
382
+ output between groups of options.
383
+
384
+
385
+ # Help config
386
+
387
+ The `parser.help(...)` function is configurable as follows:
388
+
389
+ Options:
390
+ Armament Options:
391
+ ^^ -w WEAPON, --weapon=WEAPON Weapon with which to crush. One of: |
392
+ / sword, spear, maul |
393
+ / General Options: |
394
+ / -h, --help Print this help and exit. |
395
+ / ^^^^ ^ |
396
+ \ `-- indent `-- helpCol maxCol ---'
397
+ `-- headingIndent
398
+
399
+ - `indent` (Number or String). Default 4. Set to a number (for that many
400
+ spaces) or a string for the literal indent.
401
+ - `headingIndent` (Number or String). Default half length of `indent`. Set to
402
+ a number (for that many spaces) or a string for the literal indent. This
403
+ indent applies to group heading lines, between normal option lines.
404
+ - `nameSort` (String). Default is 'length'. By default the names are
405
+ sorted to put the short opts first (i.e. '-h, --help' preferred
406
+ to '--help, -h'). Set to 'none' to not do this sorting.
407
+ - `maxCol` (Number). Default 80. Note that reflow is just done on whitespace
408
+ so a long token in the option help can overflow maxCol.
409
+ - `helpCol` (Number). If not set a reasonable value will be determined
410
+ between `minHelpCol` and `maxHelpCol`.
411
+ - `minHelpCol` (Number). Default 20.
412
+ - `maxHelpCol` (Number). Default 40.
413
+ - `helpWrap` (Boolean). Default true. Set to `false` to have option `help`
414
+ strings *not* be textwrapped to the helpCol..maxCol range.
415
+ - `includeEnv` (Boolean). Default false. If the option has associated
416
+ environment variables (via the `env` option spec attribute), then
417
+ append mentioned of those envvars to the help string.
418
+ - `includeDefault` (Boolean). Default false. If the option has a default value
419
+ (via the `default` option spec attribute, or a default on the option's type),
420
+ then a "Default: VALUE" string will be appended to the help string.
421
+
422
+
423
+ # Custom option types
424
+
425
+ Dashdash includes a good starter set of option types that it will parse for
426
+ you. However you can add your own via:
427
+
428
+ var dashdash = require('dashdash');
429
+ dashdash.addOptionType({
430
+ name: '...',
431
+ takesArg: true,
432
+ helpArg: '...',
433
+ parseArg: function (option, optstr, arg) {
434
+ ...
435
+ },
436
+ default: ... // optional
437
+ });
438
+
439
+ For example, a simple option type that accepts 'yes', 'y', 'no' or 'n' as
440
+ a boolean argument would look like:
441
+
442
+ var dashdash = require('dashdash');
443
+
444
+ function parseYesNo(option, optstr, arg) {
445
+ var argLower = arg.toLowerCase()
446
+ if (~['yes', 'y'].indexOf(argLower)) {
447
+ return true;
448
+ } else if (~['no', 'n'].indexOf(argLower)) {
449
+ return false;
450
+ } else {
451
+ throw new Error(format(
452
+ 'arg for "%s" is not "yes" or "no": "%s"',
453
+ optstr, arg));
454
+ }
455
+ }
456
+
457
+ dashdash.addOptionType({
458
+ name: 'yesno'
459
+ takesArg: true,
460
+ helpArg: '<yes|no>',
461
+ parseArg: parseYesNo
462
+ });
463
+
464
+ var options = {
465
+ {names: ['answer', 'a'], type: 'yesno'}
466
+ };
467
+ var opts = dashdash.parse({options: options});
468
+
469
+ See "examples/custom-option-duration.js" for another example adding a "duration"
470
+ option type. Please let me know [on twitter](https://twitter.com/trentmick)
471
+ or [with an issue](https://github.com/trentm/node-dashdash/issues/new) if you
472
+ write a generally useful one.
473
+
474
+
475
+
476
+ # Why
477
+
478
+ Why another node.js option parsing lib?
479
+
480
+ - `nopt` really is just for "tools like npm". Implicit opts (e.g. '--no-foo'
481
+ works for every '--foo'). Can't disable abbreviated opts. Can't do multiple
482
+ usages of same opt, e.g. '-vvv' (I think). Can't do grouped short opts.
483
+
484
+ - `optimist` has surprise interpretation of options (at least to me).
485
+ Implicit opts mean ambiguities and poor error handling for fat-fingering.
486
+ `process.exit` calls makes it hard to use as a libary.
487
+
488
+ - `optparse` Incomplete docs. Is this an attempted clone of Python's `optparse`.
489
+ Not clear. Some divergence. `parser.on("name", ...)` API is weird.
490
+
491
+ - `argparse` Dep on underscore. No thanks just for option processing.
492
+ `find lib | wc -l` -> `26`. Overkill.
493
+ Argparse is a bit different anyway. Not sure I want that.
494
+
495
+ - `posix-getopt` No type validation. Though that isn't a killer. AFAIK can't
496
+ have a long opt without a short alias. I.e. no `getopt_long` semantics.
497
+ Also, no whizbang features like generated help output.
498
+
499
+ - ["commander.js"](https://github.com/visionmedia/commander.js): I wrote
500
+ [a critique](http://trentm.com/2014/01/a-critique-of-commander-for-nodejs.html)
501
+ a while back. It seems fine, but last I checked had
502
+ [an outstanding bug](https://github.com/visionmedia/commander.js/pull/121)
503
+ that would prevent me from using it.
504
+
505
+
506
+ # License
507
+
508
+ MIT. See LICENSE.txt.