@clary-so/measure 0.4.5 → 0.4.7

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 (1534) hide show
  1. package/dist/bin-bundled.js +12 -59445
  2. package/dist/react-bundled.js +305 -0
  3. package/esbuild-bin.mjs +32 -14
  4. package/node_modules/@types/yoga-layout/LICENSE +21 -0
  5. package/node_modules/@types/yoga-layout/README.md +16 -0
  6. package/node_modules/@types/yoga-layout/index.d.ts +413 -0
  7. package/node_modules/@types/yoga-layout/package.json +24 -0
  8. package/node_modules/ansi-escapes/index.d.ts +248 -0
  9. package/node_modules/ansi-escapes/index.js +157 -0
  10. package/node_modules/ansi-escapes/license +9 -0
  11. package/node_modules/ansi-escapes/node_modules/type-fest/base.d.ts +39 -0
  12. package/node_modules/ansi-escapes/node_modules/type-fest/index.d.ts +2 -0
  13. package/node_modules/ansi-escapes/node_modules/type-fest/license +9 -0
  14. package/node_modules/ansi-escapes/node_modules/type-fest/package.json +58 -0
  15. package/node_modules/ansi-escapes/node_modules/type-fest/readme.md +760 -0
  16. package/node_modules/ansi-escapes/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  17. package/node_modules/ansi-escapes/node_modules/type-fest/source/asyncify.d.ts +31 -0
  18. package/node_modules/ansi-escapes/node_modules/type-fest/source/basic.d.ts +51 -0
  19. package/node_modules/ansi-escapes/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  20. package/node_modules/ansi-escapes/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  21. package/node_modules/ansi-escapes/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  22. package/node_modules/ansi-escapes/node_modules/type-fest/source/entries.d.ts +57 -0
  23. package/node_modules/ansi-escapes/node_modules/type-fest/source/entry.d.ts +60 -0
  24. package/node_modules/ansi-escapes/node_modules/type-fest/source/except.d.ts +22 -0
  25. package/node_modules/ansi-escapes/node_modules/type-fest/source/fixed-length-array.d.ts +38 -0
  26. package/node_modules/ansi-escapes/node_modules/type-fest/source/iterable-element.d.ts +46 -0
  27. package/node_modules/ansi-escapes/node_modules/type-fest/source/literal-union.d.ts +33 -0
  28. package/node_modules/ansi-escapes/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  29. package/node_modules/ansi-escapes/node_modules/type-fest/source/merge.d.ts +25 -0
  30. package/node_modules/ansi-escapes/node_modules/type-fest/source/mutable.d.ts +38 -0
  31. package/node_modules/ansi-escapes/node_modules/type-fest/source/opaque.d.ts +65 -0
  32. package/node_modules/ansi-escapes/node_modules/type-fest/source/package-json.d.ts +611 -0
  33. package/node_modules/ansi-escapes/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  34. package/node_modules/ansi-escapes/node_modules/type-fest/source/promisable.d.ts +23 -0
  35. package/node_modules/ansi-escapes/node_modules/type-fest/source/promise-value.d.ts +27 -0
  36. package/node_modules/ansi-escapes/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  37. package/node_modules/ansi-escapes/node_modules/type-fest/source/require-at-least-one.d.ts +33 -0
  38. package/node_modules/ansi-escapes/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  39. package/node_modules/ansi-escapes/node_modules/type-fest/source/set-optional.d.ts +33 -0
  40. package/node_modules/ansi-escapes/node_modules/type-fest/source/set-required.d.ts +33 -0
  41. package/node_modules/ansi-escapes/node_modules/type-fest/source/set-return-type.d.ts +29 -0
  42. package/node_modules/ansi-escapes/node_modules/type-fest/source/simplify.d.ts +4 -0
  43. package/node_modules/ansi-escapes/node_modules/type-fest/source/stringified.d.ts +21 -0
  44. package/node_modules/ansi-escapes/node_modules/type-fest/source/tsconfig-json.d.ts +870 -0
  45. package/node_modules/ansi-escapes/node_modules/type-fest/source/typed-array.d.ts +15 -0
  46. package/node_modules/ansi-escapes/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  47. package/node_modules/ansi-escapes/node_modules/type-fest/source/utilities.d.ts +5 -0
  48. package/node_modules/ansi-escapes/node_modules/type-fest/source/value-of.d.ts +40 -0
  49. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/camel-case.d.ts +64 -0
  50. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/delimiter-case.d.ts +85 -0
  51. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/get.d.ts +131 -0
  52. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/index.d.ts +10 -0
  53. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/kebab-case.d.ts +36 -0
  54. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/pascal-case.d.ts +36 -0
  55. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/snake-case.d.ts +35 -0
  56. package/node_modules/ansi-escapes/node_modules/type-fest/ts41/utilities.d.ts +8 -0
  57. package/node_modules/ansi-escapes/package.json +57 -0
  58. package/node_modules/ansi-escapes/readme.md +245 -0
  59. package/node_modules/ansi-regex/index.d.ts +37 -0
  60. package/node_modules/ansi-regex/index.js +10 -0
  61. package/node_modules/ansi-regex/license +9 -0
  62. package/node_modules/ansi-regex/package.json +55 -0
  63. package/node_modules/ansi-regex/readme.md +78 -0
  64. package/node_modules/ansi-styles/index.d.ts +345 -0
  65. package/node_modules/ansi-styles/index.js +163 -0
  66. package/node_modules/ansi-styles/license +9 -0
  67. package/node_modules/ansi-styles/package.json +56 -0
  68. package/node_modules/ansi-styles/readme.md +152 -0
  69. package/node_modules/astral-regex/index.d.ts +28 -0
  70. package/node_modules/astral-regex/index.js +6 -0
  71. package/node_modules/astral-regex/license +9 -0
  72. package/node_modules/astral-regex/package.json +33 -0
  73. package/node_modules/astral-regex/readme.md +46 -0
  74. package/node_modules/auto-bind/index.d.ts +54 -0
  75. package/node_modules/auto-bind/index.js +43 -0
  76. package/node_modules/auto-bind/license +9 -0
  77. package/node_modules/auto-bind/package.json +46 -0
  78. package/node_modules/auto-bind/react.d.ts +28 -0
  79. package/node_modules/auto-bind/react.js +29 -0
  80. package/node_modules/auto-bind/readme.md +92 -0
  81. package/node_modules/chalk/index.d.ts +415 -0
  82. package/node_modules/chalk/license +9 -0
  83. package/node_modules/chalk/package.json +68 -0
  84. package/node_modules/chalk/readme.md +341 -0
  85. package/node_modules/chalk/source/index.js +229 -0
  86. package/node_modules/chalk/source/templates.js +134 -0
  87. package/node_modules/chalk/source/util.js +39 -0
  88. package/node_modules/ci-info/CHANGELOG.md +78 -0
  89. package/node_modules/ci-info/LICENSE +21 -0
  90. package/node_modules/ci-info/README.md +108 -0
  91. package/node_modules/ci-info/index.js +66 -0
  92. package/node_modules/ci-info/package.json +36 -0
  93. package/node_modules/ci-info/vendors.json +153 -0
  94. package/node_modules/cli-boxes/boxes.json +58 -0
  95. package/node_modules/cli-boxes/index.d.ts +113 -0
  96. package/node_modules/cli-boxes/index.js +6 -0
  97. package/node_modules/cli-boxes/license +9 -0
  98. package/node_modules/cli-boxes/package.json +42 -0
  99. package/node_modules/cli-boxes/readme.md +105 -0
  100. package/node_modules/cli-cursor/index.d.ts +45 -0
  101. package/node_modules/cli-cursor/index.js +35 -0
  102. package/node_modules/cli-cursor/license +9 -0
  103. package/node_modules/cli-cursor/package.json +46 -0
  104. package/node_modules/cli-cursor/readme.md +55 -0
  105. package/node_modules/cli-truncate/index.d.ts +96 -0
  106. package/node_modules/cli-truncate/index.js +106 -0
  107. package/node_modules/cli-truncate/license +9 -0
  108. package/node_modules/cli-truncate/package.json +46 -0
  109. package/node_modules/cli-truncate/readme.md +139 -0
  110. package/node_modules/code-excerpt/index.d.ts +44 -0
  111. package/node_modules/code-excerpt/index.js +40 -0
  112. package/node_modules/code-excerpt/license +21 -0
  113. package/node_modules/code-excerpt/package.json +30 -0
  114. package/node_modules/code-excerpt/readme.md +65 -0
  115. package/node_modules/color-convert/LICENSE +21 -0
  116. package/node_modules/color-convert/README.md +68 -0
  117. package/node_modules/color-convert/conversions.js +839 -0
  118. package/node_modules/color-convert/index.js +81 -0
  119. package/node_modules/color-convert/package.json +48 -0
  120. package/node_modules/color-convert/route.js +97 -0
  121. package/node_modules/color-name/LICENSE +8 -0
  122. package/node_modules/color-name/README.md +11 -0
  123. package/node_modules/color-name/index.js +152 -0
  124. package/node_modules/color-name/package.json +28 -0
  125. package/node_modules/convert-to-spaces/index.js +5 -0
  126. package/node_modules/convert-to-spaces/license +21 -0
  127. package/node_modules/convert-to-spaces/package.json +25 -0
  128. package/node_modules/convert-to-spaces/readme.md +48 -0
  129. package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  130. package/node_modules/emoji-regex/README.md +73 -0
  131. package/node_modules/emoji-regex/es2015/index.js +6 -0
  132. package/node_modules/emoji-regex/es2015/text.js +6 -0
  133. package/node_modules/emoji-regex/index.d.ts +23 -0
  134. package/node_modules/emoji-regex/index.js +6 -0
  135. package/node_modules/emoji-regex/package.json +50 -0
  136. package/node_modules/emoji-regex/text.js +6 -0
  137. package/node_modules/escape-string-regexp/index.d.ts +18 -0
  138. package/node_modules/escape-string-regexp/index.js +11 -0
  139. package/node_modules/escape-string-regexp/license +9 -0
  140. package/node_modules/escape-string-regexp/package.json +43 -0
  141. package/node_modules/escape-string-regexp/readme.md +29 -0
  142. package/node_modules/has-flag/index.d.ts +39 -0
  143. package/node_modules/has-flag/index.js +8 -0
  144. package/node_modules/has-flag/license +9 -0
  145. package/node_modules/has-flag/package.json +46 -0
  146. package/node_modules/has-flag/readme.md +89 -0
  147. package/node_modules/indent-string/index.d.ts +42 -0
  148. package/node_modules/indent-string/index.js +35 -0
  149. package/node_modules/indent-string/license +9 -0
  150. package/node_modules/indent-string/package.json +37 -0
  151. package/node_modules/indent-string/readme.md +70 -0
  152. package/node_modules/ink/build/colorize.d.ts +3 -0
  153. package/node_modules/ink/build/colorize.js +53 -0
  154. package/node_modules/ink/build/colorize.js.map +1 -0
  155. package/node_modules/ink/build/components/App.d.ts +57 -0
  156. package/node_modules/ink/build/components/App.js +282 -0
  157. package/node_modules/ink/build/components/App.js.map +1 -0
  158. package/node_modules/ink/build/components/AppContext.d.ts +12 -0
  159. package/node_modules/ink/build/components/AppContext.js +12 -0
  160. package/node_modules/ink/build/components/AppContext.js.map +1 -0
  161. package/node_modules/ink/build/components/Box.d.ts +86 -0
  162. package/node_modules/ink/build/components/Box.js +50 -0
  163. package/node_modules/ink/build/components/Box.js.map +1 -0
  164. package/node_modules/ink/build/components/ErrorOverview.d.ts +6 -0
  165. package/node_modules/ink/build/components/ErrorOverview.js +97 -0
  166. package/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
  167. package/node_modules/ink/build/components/FocusContext.d.ts +17 -0
  168. package/node_modules/ink/build/components/FocusContext.js +18 -0
  169. package/node_modules/ink/build/components/FocusContext.js.map +1 -0
  170. package/node_modules/ink/build/components/Newline.d.ts +14 -0
  171. package/node_modules/ink/build/components/Newline.js +13 -0
  172. package/node_modules/ink/build/components/Newline.js.map +1 -0
  173. package/node_modules/ink/build/components/Spacer.d.ts +7 -0
  174. package/node_modules/ink/build/components/Spacer.js +15 -0
  175. package/node_modules/ink/build/components/Spacer.js.map +1 -0
  176. package/node_modules/ink/build/components/Static.d.ts +35 -0
  177. package/node_modules/ink/build/components/Static.js +54 -0
  178. package/node_modules/ink/build/components/Static.js.map +1 -0
  179. package/node_modules/ink/build/components/StderrContext.d.ts +19 -0
  180. package/node_modules/ink/build/components/StderrContext.js +13 -0
  181. package/node_modules/ink/build/components/StderrContext.js.map +1 -0
  182. package/node_modules/ink/build/components/StdinContext.d.ts +23 -0
  183. package/node_modules/ink/build/components/StdinContext.js +15 -0
  184. package/node_modules/ink/build/components/StdinContext.js.map +1 -0
  185. package/node_modules/ink/build/components/StdoutContext.d.ts +19 -0
  186. package/node_modules/ink/build/components/StdoutContext.js +13 -0
  187. package/node_modules/ink/build/components/StdoutContext.js.map +1 -0
  188. package/node_modules/ink/build/components/Text.d.ts +50 -0
  189. package/node_modules/ink/build/components/Text.js +55 -0
  190. package/node_modules/ink/build/components/Text.js.map +1 -0
  191. package/node_modules/ink/build/components/Transform.d.ts +16 -0
  192. package/node_modules/ink/build/components/Transform.js +21 -0
  193. package/node_modules/ink/build/components/Transform.js.map +1 -0
  194. package/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
  195. package/node_modules/ink/build/devtools-window-polyfill.js +72 -0
  196. package/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
  197. package/node_modules/ink/build/devtools.d.ts +1 -0
  198. package/node_modules/ink/build/devtools.js +8 -0
  199. package/node_modules/ink/build/devtools.js.map +1 -0
  200. package/node_modules/ink/build/dom.d.ts +45 -0
  201. package/node_modules/ink/build/dom.js +134 -0
  202. package/node_modules/ink/build/dom.js.map +1 -0
  203. package/node_modules/ink/build/get-max-width.d.ts +3 -0
  204. package/node_modules/ink/build/get-max-width.js +14 -0
  205. package/node_modules/ink/build/get-max-width.js.map +1 -0
  206. package/node_modules/ink/build/hooks/use-app.d.ts +5 -0
  207. package/node_modules/ink/build/hooks/use-app.js +13 -0
  208. package/node_modules/ink/build/hooks/use-app.js.map +1 -0
  209. package/node_modules/ink/build/hooks/use-focus-manager.d.ts +34 -0
  210. package/node_modules/ink/build/hooks/use-focus-manager.js +23 -0
  211. package/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
  212. package/node_modules/ink/build/hooks/use-focus.d.ts +34 -0
  213. package/node_modules/ink/build/hooks/use-focus.js +52 -0
  214. package/node_modules/ink/build/hooks/use-focus.js.map +1 -0
  215. package/node_modules/ink/build/hooks/use-input.d.ts +97 -0
  216. package/node_modules/ink/build/hooks/use-input.js +98 -0
  217. package/node_modules/ink/build/hooks/use-input.js.map +1 -0
  218. package/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
  219. package/node_modules/ink/build/hooks/use-stderr.js +13 -0
  220. package/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
  221. package/node_modules/ink/build/hooks/use-stdin.d.ts +5 -0
  222. package/node_modules/ink/build/hooks/use-stdin.js +13 -0
  223. package/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
  224. package/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
  225. package/node_modules/ink/build/hooks/use-stdout.js +13 -0
  226. package/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
  227. package/node_modules/ink/build/index.d.ts +20 -0
  228. package/node_modules/ink/build/index.js +33 -0
  229. package/node_modules/ink/build/index.js.map +1 -0
  230. package/node_modules/ink/build/ink.d.ts +36 -0
  231. package/node_modules/ink/build/ink.js +235 -0
  232. package/node_modules/ink/build/ink.js.map +1 -0
  233. package/node_modules/ink/build/instances.d.ts +2 -0
  234. package/node_modules/ink/build/instances.js +9 -0
  235. package/node_modules/ink/build/instances.js.map +1 -0
  236. package/node_modules/ink/build/log-update.d.ts +13 -0
  237. package/node_modules/ink/build/log-update.js +41 -0
  238. package/node_modules/ink/build/log-update.js.map +1 -0
  239. package/node_modules/ink/build/measure-element.d.ts +16 -0
  240. package/node_modules/ink/build/measure-element.js +13 -0
  241. package/node_modules/ink/build/measure-element.js.map +1 -0
  242. package/node_modules/ink/build/measure-text.d.ts +6 -0
  243. package/node_modules/ink/build/measure-text.js +23 -0
  244. package/node_modules/ink/build/measure-text.js.map +1 -0
  245. package/node_modules/ink/build/output.d.ts +27 -0
  246. package/node_modules/ink/build/output.js +58 -0
  247. package/node_modules/ink/build/output.js.map +1 -0
  248. package/node_modules/ink/build/reconciler.d.ts +4 -0
  249. package/node_modules/ink/build/reconciler.js +196 -0
  250. package/node_modules/ink/build/reconciler.js.map +1 -0
  251. package/node_modules/ink/build/render-border.d.ts +4 -0
  252. package/node_modules/ink/build/render-border.js +23 -0
  253. package/node_modules/ink/build/render-border.js.map +1 -0
  254. package/node_modules/ink/build/render-node-to-output.d.ts +10 -0
  255. package/node_modules/ink/build/render-node-to-output.js +80 -0
  256. package/node_modules/ink/build/render-node-to-output.js.map +1 -0
  257. package/node_modules/ink/build/render.d.ts +65 -0
  258. package/node_modules/ink/build/render.js +45 -0
  259. package/node_modules/ink/build/render.js.map +1 -0
  260. package/node_modules/ink/build/renderer.d.ts +8 -0
  261. package/node_modules/ink/build/renderer.js +44 -0
  262. package/node_modules/ink/build/renderer.js.map +1 -0
  263. package/node_modules/ink/build/squash-text-nodes.d.ts +3 -0
  264. package/node_modules/ink/build/squash-text-nodes.js +35 -0
  265. package/node_modules/ink/build/squash-text-nodes.js.map +1 -0
  266. package/node_modules/ink/build/styles.d.ts +109 -0
  267. package/node_modules/ink/build/styles.js +187 -0
  268. package/node_modules/ink/build/styles.js.map +1 -0
  269. package/node_modules/ink/build/wrap-text.d.ts +3 -0
  270. package/node_modules/ink/build/wrap-text.js +34 -0
  271. package/node_modules/ink/build/wrap-text.js.map +1 -0
  272. package/node_modules/ink/license +9 -0
  273. package/node_modules/ink/node_modules/react-reconciler/LICENSE +21 -0
  274. package/node_modules/ink/node_modules/react-reconciler/README.md +64 -0
  275. package/node_modules/ink/node_modules/react-reconciler/build-info.json +8 -0
  276. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +603 -0
  277. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.min.js +15 -0
  278. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.development.js +18644 -0
  279. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +216 -0
  280. package/node_modules/ink/node_modules/react-reconciler/cjs/react-reconciler.profiling.min.js +224 -0
  281. package/node_modules/ink/node_modules/react-reconciler/index.js +7 -0
  282. package/node_modules/ink/node_modules/react-reconciler/package.json +41 -0
  283. package/node_modules/ink/node_modules/react-reconciler/reflection.js +7 -0
  284. package/node_modules/ink/package.json +172 -0
  285. package/node_modules/ink/readme.md +1810 -0
  286. package/node_modules/is-ci/CHANGELOG.md +14 -0
  287. package/node_modules/is-ci/LICENSE +21 -0
  288. package/node_modules/is-ci/README.md +50 -0
  289. package/node_modules/is-ci/bin.js +4 -0
  290. package/node_modules/is-ci/index.js +3 -0
  291. package/node_modules/is-ci/package.json +38 -0
  292. package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  293. package/node_modules/is-fullwidth-code-point/index.js +50 -0
  294. package/node_modules/is-fullwidth-code-point/license +9 -0
  295. package/node_modules/is-fullwidth-code-point/package.json +42 -0
  296. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  297. package/node_modules/js-tokens/LICENSE +21 -0
  298. package/node_modules/js-tokens/README.md +240 -0
  299. package/node_modules/js-tokens/index.js +23 -0
  300. package/node_modules/js-tokens/package.json +30 -0
  301. package/node_modules/lodash/LICENSE +47 -0
  302. package/node_modules/lodash/README.md +39 -0
  303. package/node_modules/lodash/_DataView.js +7 -0
  304. package/node_modules/lodash/_Hash.js +32 -0
  305. package/node_modules/lodash/_LazyWrapper.js +28 -0
  306. package/node_modules/lodash/_ListCache.js +32 -0
  307. package/node_modules/lodash/_LodashWrapper.js +22 -0
  308. package/node_modules/lodash/_Map.js +7 -0
  309. package/node_modules/lodash/_MapCache.js +32 -0
  310. package/node_modules/lodash/_Promise.js +7 -0
  311. package/node_modules/lodash/_Set.js +7 -0
  312. package/node_modules/lodash/_SetCache.js +27 -0
  313. package/node_modules/lodash/_Stack.js +27 -0
  314. package/node_modules/lodash/_Symbol.js +6 -0
  315. package/node_modules/lodash/_Uint8Array.js +6 -0
  316. package/node_modules/lodash/_WeakMap.js +7 -0
  317. package/node_modules/lodash/_apply.js +21 -0
  318. package/node_modules/lodash/_arrayAggregator.js +22 -0
  319. package/node_modules/lodash/_arrayEach.js +22 -0
  320. package/node_modules/lodash/_arrayEachRight.js +21 -0
  321. package/node_modules/lodash/_arrayEvery.js +23 -0
  322. package/node_modules/lodash/_arrayFilter.js +25 -0
  323. package/node_modules/lodash/_arrayIncludes.js +17 -0
  324. package/node_modules/lodash/_arrayIncludesWith.js +22 -0
  325. package/node_modules/lodash/_arrayLikeKeys.js +49 -0
  326. package/node_modules/lodash/_arrayMap.js +21 -0
  327. package/node_modules/lodash/_arrayPush.js +20 -0
  328. package/node_modules/lodash/_arrayReduce.js +26 -0
  329. package/node_modules/lodash/_arrayReduceRight.js +24 -0
  330. package/node_modules/lodash/_arraySample.js +15 -0
  331. package/node_modules/lodash/_arraySampleSize.js +17 -0
  332. package/node_modules/lodash/_arrayShuffle.js +15 -0
  333. package/node_modules/lodash/_arraySome.js +23 -0
  334. package/node_modules/lodash/_asciiSize.js +12 -0
  335. package/node_modules/lodash/_asciiToArray.js +12 -0
  336. package/node_modules/lodash/_asciiWords.js +15 -0
  337. package/node_modules/lodash/_assignMergeValue.js +20 -0
  338. package/node_modules/lodash/_assignValue.js +28 -0
  339. package/node_modules/lodash/_assocIndexOf.js +21 -0
  340. package/node_modules/lodash/_baseAggregator.js +21 -0
  341. package/node_modules/lodash/_baseAssign.js +17 -0
  342. package/node_modules/lodash/_baseAssignIn.js +17 -0
  343. package/node_modules/lodash/_baseAssignValue.js +25 -0
  344. package/node_modules/lodash/_baseAt.js +23 -0
  345. package/node_modules/lodash/_baseClamp.js +22 -0
  346. package/node_modules/lodash/_baseClone.js +166 -0
  347. package/node_modules/lodash/_baseConforms.js +18 -0
  348. package/node_modules/lodash/_baseConformsTo.js +27 -0
  349. package/node_modules/lodash/_baseCreate.js +30 -0
  350. package/node_modules/lodash/_baseDelay.js +21 -0
  351. package/node_modules/lodash/_baseDifference.js +67 -0
  352. package/node_modules/lodash/_baseEach.js +14 -0
  353. package/node_modules/lodash/_baseEachRight.js +14 -0
  354. package/node_modules/lodash/_baseEvery.js +21 -0
  355. package/node_modules/lodash/_baseExtremum.js +32 -0
  356. package/node_modules/lodash/_baseFill.js +32 -0
  357. package/node_modules/lodash/_baseFilter.js +21 -0
  358. package/node_modules/lodash/_baseFindIndex.js +24 -0
  359. package/node_modules/lodash/_baseFindKey.js +23 -0
  360. package/node_modules/lodash/_baseFlatten.js +38 -0
  361. package/node_modules/lodash/_baseFor.js +16 -0
  362. package/node_modules/lodash/_baseForOwn.js +16 -0
  363. package/node_modules/lodash/_baseForOwnRight.js +16 -0
  364. package/node_modules/lodash/_baseForRight.js +15 -0
  365. package/node_modules/lodash/_baseFunctions.js +19 -0
  366. package/node_modules/lodash/_baseGet.js +24 -0
  367. package/node_modules/lodash/_baseGetAllKeys.js +20 -0
  368. package/node_modules/lodash/_baseGetTag.js +28 -0
  369. package/node_modules/lodash/_baseGt.js +14 -0
  370. package/node_modules/lodash/_baseHas.js +19 -0
  371. package/node_modules/lodash/_baseHasIn.js +13 -0
  372. package/node_modules/lodash/_baseInRange.js +18 -0
  373. package/node_modules/lodash/_baseIndexOf.js +20 -0
  374. package/node_modules/lodash/_baseIndexOfWith.js +23 -0
  375. package/node_modules/lodash/_baseIntersection.js +74 -0
  376. package/node_modules/lodash/_baseInverter.js +21 -0
  377. package/node_modules/lodash/_baseInvoke.js +24 -0
  378. package/node_modules/lodash/_baseIsArguments.js +18 -0
  379. package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  380. package/node_modules/lodash/_baseIsDate.js +18 -0
  381. package/node_modules/lodash/_baseIsEqual.js +28 -0
  382. package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  383. package/node_modules/lodash/_baseIsMap.js +18 -0
  384. package/node_modules/lodash/_baseIsMatch.js +62 -0
  385. package/node_modules/lodash/_baseIsNaN.js +12 -0
  386. package/node_modules/lodash/_baseIsNative.js +47 -0
  387. package/node_modules/lodash/_baseIsRegExp.js +18 -0
  388. package/node_modules/lodash/_baseIsSet.js +18 -0
  389. package/node_modules/lodash/_baseIsTypedArray.js +60 -0
  390. package/node_modules/lodash/_baseIteratee.js +31 -0
  391. package/node_modules/lodash/_baseKeys.js +30 -0
  392. package/node_modules/lodash/_baseKeysIn.js +33 -0
  393. package/node_modules/lodash/_baseLodash.js +10 -0
  394. package/node_modules/lodash/_baseLt.js +14 -0
  395. package/node_modules/lodash/_baseMap.js +22 -0
  396. package/node_modules/lodash/_baseMatches.js +22 -0
  397. package/node_modules/lodash/_baseMatchesProperty.js +33 -0
  398. package/node_modules/lodash/_baseMean.js +20 -0
  399. package/node_modules/lodash/_baseMerge.js +42 -0
  400. package/node_modules/lodash/_baseMergeDeep.js +94 -0
  401. package/node_modules/lodash/_baseNth.js +20 -0
  402. package/node_modules/lodash/_baseOrderBy.js +49 -0
  403. package/node_modules/lodash/_basePick.js +19 -0
  404. package/node_modules/lodash/_basePickBy.js +30 -0
  405. package/node_modules/lodash/_baseProperty.js +14 -0
  406. package/node_modules/lodash/_basePropertyDeep.js +16 -0
  407. package/node_modules/lodash/_basePropertyOf.js +14 -0
  408. package/node_modules/lodash/_basePullAll.js +51 -0
  409. package/node_modules/lodash/_basePullAt.js +37 -0
  410. package/node_modules/lodash/_baseRandom.js +18 -0
  411. package/node_modules/lodash/_baseRange.js +28 -0
  412. package/node_modules/lodash/_baseReduce.js +23 -0
  413. package/node_modules/lodash/_baseRepeat.js +35 -0
  414. package/node_modules/lodash/_baseRest.js +17 -0
  415. package/node_modules/lodash/_baseSample.js +15 -0
  416. package/node_modules/lodash/_baseSampleSize.js +18 -0
  417. package/node_modules/lodash/_baseSet.js +51 -0
  418. package/node_modules/lodash/_baseSetData.js +17 -0
  419. package/node_modules/lodash/_baseSetToString.js +22 -0
  420. package/node_modules/lodash/_baseShuffle.js +15 -0
  421. package/node_modules/lodash/_baseSlice.js +31 -0
  422. package/node_modules/lodash/_baseSome.js +22 -0
  423. package/node_modules/lodash/_baseSortBy.js +21 -0
  424. package/node_modules/lodash/_baseSortedIndex.js +42 -0
  425. package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  426. package/node_modules/lodash/_baseSortedUniq.js +30 -0
  427. package/node_modules/lodash/_baseSum.js +24 -0
  428. package/node_modules/lodash/_baseTimes.js +20 -0
  429. package/node_modules/lodash/_baseToNumber.js +24 -0
  430. package/node_modules/lodash/_baseToPairs.js +18 -0
  431. package/node_modules/lodash/_baseToString.js +37 -0
  432. package/node_modules/lodash/_baseTrim.js +19 -0
  433. package/node_modules/lodash/_baseUnary.js +14 -0
  434. package/node_modules/lodash/_baseUniq.js +72 -0
  435. package/node_modules/lodash/_baseUnset.js +65 -0
  436. package/node_modules/lodash/_baseUpdate.js +18 -0
  437. package/node_modules/lodash/_baseValues.js +19 -0
  438. package/node_modules/lodash/_baseWhile.js +26 -0
  439. package/node_modules/lodash/_baseWrapperValue.js +25 -0
  440. package/node_modules/lodash/_baseXor.js +36 -0
  441. package/node_modules/lodash/_baseZipObject.js +23 -0
  442. package/node_modules/lodash/_cacheHas.js +13 -0
  443. package/node_modules/lodash/_castArrayLikeObject.js +14 -0
  444. package/node_modules/lodash/_castFunction.js +14 -0
  445. package/node_modules/lodash/_castPath.js +21 -0
  446. package/node_modules/lodash/_castRest.js +14 -0
  447. package/node_modules/lodash/_castSlice.js +18 -0
  448. package/node_modules/lodash/_charsEndIndex.js +19 -0
  449. package/node_modules/lodash/_charsStartIndex.js +20 -0
  450. package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  451. package/node_modules/lodash/_cloneBuffer.js +35 -0
  452. package/node_modules/lodash/_cloneDataView.js +16 -0
  453. package/node_modules/lodash/_cloneRegExp.js +17 -0
  454. package/node_modules/lodash/_cloneSymbol.js +18 -0
  455. package/node_modules/lodash/_cloneTypedArray.js +16 -0
  456. package/node_modules/lodash/_compareAscending.js +41 -0
  457. package/node_modules/lodash/_compareMultiple.js +44 -0
  458. package/node_modules/lodash/_composeArgs.js +39 -0
  459. package/node_modules/lodash/_composeArgsRight.js +41 -0
  460. package/node_modules/lodash/_copyArray.js +20 -0
  461. package/node_modules/lodash/_copyObject.js +40 -0
  462. package/node_modules/lodash/_copySymbols.js +16 -0
  463. package/node_modules/lodash/_copySymbolsIn.js +16 -0
  464. package/node_modules/lodash/_coreJsData.js +6 -0
  465. package/node_modules/lodash/_countHolders.js +21 -0
  466. package/node_modules/lodash/_createAggregator.js +23 -0
  467. package/node_modules/lodash/_createAssigner.js +37 -0
  468. package/node_modules/lodash/_createBaseEach.js +32 -0
  469. package/node_modules/lodash/_createBaseFor.js +25 -0
  470. package/node_modules/lodash/_createBind.js +28 -0
  471. package/node_modules/lodash/_createCaseFirst.js +33 -0
  472. package/node_modules/lodash/_createCompounder.js +24 -0
  473. package/node_modules/lodash/_createCtor.js +37 -0
  474. package/node_modules/lodash/_createCurry.js +46 -0
  475. package/node_modules/lodash/_createFind.js +25 -0
  476. package/node_modules/lodash/_createFlow.js +78 -0
  477. package/node_modules/lodash/_createHybrid.js +92 -0
  478. package/node_modules/lodash/_createInverter.js +17 -0
  479. package/node_modules/lodash/_createMathOperation.js +38 -0
  480. package/node_modules/lodash/_createOver.js +27 -0
  481. package/node_modules/lodash/_createPadding.js +33 -0
  482. package/node_modules/lodash/_createPartial.js +43 -0
  483. package/node_modules/lodash/_createRange.js +30 -0
  484. package/node_modules/lodash/_createRecurry.js +56 -0
  485. package/node_modules/lodash/_createRelationalOperation.js +20 -0
  486. package/node_modules/lodash/_createRound.js +35 -0
  487. package/node_modules/lodash/_createSet.js +19 -0
  488. package/node_modules/lodash/_createToPairs.js +30 -0
  489. package/node_modules/lodash/_createWrap.js +106 -0
  490. package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  491. package/node_modules/lodash/_customDefaultsMerge.js +28 -0
  492. package/node_modules/lodash/_customOmitClone.js +16 -0
  493. package/node_modules/lodash/_deburrLetter.js +71 -0
  494. package/node_modules/lodash/_defineProperty.js +11 -0
  495. package/node_modules/lodash/_equalArrays.js +84 -0
  496. package/node_modules/lodash/_equalByTag.js +112 -0
  497. package/node_modules/lodash/_equalObjects.js +90 -0
  498. package/node_modules/lodash/_escapeHtmlChar.js +21 -0
  499. package/node_modules/lodash/_escapeStringChar.js +22 -0
  500. package/node_modules/lodash/_flatRest.js +16 -0
  501. package/node_modules/lodash/_freeGlobal.js +4 -0
  502. package/node_modules/lodash/_getAllKeys.js +16 -0
  503. package/node_modules/lodash/_getAllKeysIn.js +17 -0
  504. package/node_modules/lodash/_getData.js +15 -0
  505. package/node_modules/lodash/_getFuncName.js +31 -0
  506. package/node_modules/lodash/_getHolder.js +13 -0
  507. package/node_modules/lodash/_getMapData.js +18 -0
  508. package/node_modules/lodash/_getMatchData.js +24 -0
  509. package/node_modules/lodash/_getNative.js +17 -0
  510. package/node_modules/lodash/_getPrototype.js +6 -0
  511. package/node_modules/lodash/_getRawTag.js +46 -0
  512. package/node_modules/lodash/_getSymbols.js +30 -0
  513. package/node_modules/lodash/_getSymbolsIn.js +25 -0
  514. package/node_modules/lodash/_getTag.js +58 -0
  515. package/node_modules/lodash/_getValue.js +13 -0
  516. package/node_modules/lodash/_getView.js +33 -0
  517. package/node_modules/lodash/_getWrapDetails.js +17 -0
  518. package/node_modules/lodash/_hasPath.js +39 -0
  519. package/node_modules/lodash/_hasUnicode.js +26 -0
  520. package/node_modules/lodash/_hasUnicodeWord.js +15 -0
  521. package/node_modules/lodash/_hashClear.js +15 -0
  522. package/node_modules/lodash/_hashDelete.js +17 -0
  523. package/node_modules/lodash/_hashGet.js +30 -0
  524. package/node_modules/lodash/_hashHas.js +23 -0
  525. package/node_modules/lodash/_hashSet.js +23 -0
  526. package/node_modules/lodash/_initCloneArray.js +26 -0
  527. package/node_modules/lodash/_initCloneByTag.js +77 -0
  528. package/node_modules/lodash/_initCloneObject.js +18 -0
  529. package/node_modules/lodash/_insertWrapDetails.js +23 -0
  530. package/node_modules/lodash/_isFlattenable.js +20 -0
  531. package/node_modules/lodash/_isIndex.js +25 -0
  532. package/node_modules/lodash/_isIterateeCall.js +30 -0
  533. package/node_modules/lodash/_isKey.js +29 -0
  534. package/node_modules/lodash/_isKeyable.js +15 -0
  535. package/node_modules/lodash/_isLaziable.js +28 -0
  536. package/node_modules/lodash/_isMaskable.js +14 -0
  537. package/node_modules/lodash/_isMasked.js +20 -0
  538. package/node_modules/lodash/_isPrototype.js +18 -0
  539. package/node_modules/lodash/_isStrictComparable.js +15 -0
  540. package/node_modules/lodash/_iteratorToArray.js +18 -0
  541. package/node_modules/lodash/_lazyClone.js +23 -0
  542. package/node_modules/lodash/_lazyReverse.js +23 -0
  543. package/node_modules/lodash/_lazyValue.js +69 -0
  544. package/node_modules/lodash/_listCacheClear.js +13 -0
  545. package/node_modules/lodash/_listCacheDelete.js +35 -0
  546. package/node_modules/lodash/_listCacheGet.js +19 -0
  547. package/node_modules/lodash/_listCacheHas.js +16 -0
  548. package/node_modules/lodash/_listCacheSet.js +26 -0
  549. package/node_modules/lodash/_mapCacheClear.js +21 -0
  550. package/node_modules/lodash/_mapCacheDelete.js +18 -0
  551. package/node_modules/lodash/_mapCacheGet.js +16 -0
  552. package/node_modules/lodash/_mapCacheHas.js +16 -0
  553. package/node_modules/lodash/_mapCacheSet.js +22 -0
  554. package/node_modules/lodash/_mapToArray.js +18 -0
  555. package/node_modules/lodash/_matchesStrictComparable.js +20 -0
  556. package/node_modules/lodash/_memoizeCapped.js +26 -0
  557. package/node_modules/lodash/_mergeData.js +90 -0
  558. package/node_modules/lodash/_metaMap.js +6 -0
  559. package/node_modules/lodash/_nativeCreate.js +6 -0
  560. package/node_modules/lodash/_nativeKeys.js +6 -0
  561. package/node_modules/lodash/_nativeKeysIn.js +20 -0
  562. package/node_modules/lodash/_nodeUtil.js +30 -0
  563. package/node_modules/lodash/_objectToString.js +22 -0
  564. package/node_modules/lodash/_overArg.js +15 -0
  565. package/node_modules/lodash/_overRest.js +36 -0
  566. package/node_modules/lodash/_parent.js +16 -0
  567. package/node_modules/lodash/_reEscape.js +4 -0
  568. package/node_modules/lodash/_reEvaluate.js +4 -0
  569. package/node_modules/lodash/_reInterpolate.js +4 -0
  570. package/node_modules/lodash/_realNames.js +4 -0
  571. package/node_modules/lodash/_reorder.js +29 -0
  572. package/node_modules/lodash/_replaceHolders.js +29 -0
  573. package/node_modules/lodash/_root.js +9 -0
  574. package/node_modules/lodash/_safeGet.js +21 -0
  575. package/node_modules/lodash/_setCacheAdd.js +19 -0
  576. package/node_modules/lodash/_setCacheHas.js +14 -0
  577. package/node_modules/lodash/_setData.js +20 -0
  578. package/node_modules/lodash/_setToArray.js +18 -0
  579. package/node_modules/lodash/_setToPairs.js +18 -0
  580. package/node_modules/lodash/_setToString.js +14 -0
  581. package/node_modules/lodash/_setWrapToString.js +21 -0
  582. package/node_modules/lodash/_shortOut.js +37 -0
  583. package/node_modules/lodash/_shuffleSelf.js +28 -0
  584. package/node_modules/lodash/_stackClear.js +15 -0
  585. package/node_modules/lodash/_stackDelete.js +18 -0
  586. package/node_modules/lodash/_stackGet.js +14 -0
  587. package/node_modules/lodash/_stackHas.js +14 -0
  588. package/node_modules/lodash/_stackSet.js +34 -0
  589. package/node_modules/lodash/_strictIndexOf.js +23 -0
  590. package/node_modules/lodash/_strictLastIndexOf.js +21 -0
  591. package/node_modules/lodash/_stringSize.js +18 -0
  592. package/node_modules/lodash/_stringToArray.js +18 -0
  593. package/node_modules/lodash/_stringToPath.js +27 -0
  594. package/node_modules/lodash/_toKey.js +21 -0
  595. package/node_modules/lodash/_toSource.js +26 -0
  596. package/node_modules/lodash/_trimmedEndIndex.js +19 -0
  597. package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  598. package/node_modules/lodash/_unicodeSize.js +44 -0
  599. package/node_modules/lodash/_unicodeToArray.js +40 -0
  600. package/node_modules/lodash/_unicodeWords.js +69 -0
  601. package/node_modules/lodash/_updateWrapDetails.js +46 -0
  602. package/node_modules/lodash/_wrapperClone.js +23 -0
  603. package/node_modules/lodash/add.js +22 -0
  604. package/node_modules/lodash/after.js +42 -0
  605. package/node_modules/lodash/array.js +67 -0
  606. package/node_modules/lodash/ary.js +29 -0
  607. package/node_modules/lodash/assign.js +58 -0
  608. package/node_modules/lodash/assignIn.js +40 -0
  609. package/node_modules/lodash/assignInWith.js +38 -0
  610. package/node_modules/lodash/assignWith.js +37 -0
  611. package/node_modules/lodash/at.js +23 -0
  612. package/node_modules/lodash/attempt.js +35 -0
  613. package/node_modules/lodash/before.js +40 -0
  614. package/node_modules/lodash/bind.js +57 -0
  615. package/node_modules/lodash/bindAll.js +41 -0
  616. package/node_modules/lodash/bindKey.js +68 -0
  617. package/node_modules/lodash/camelCase.js +29 -0
  618. package/node_modules/lodash/capitalize.js +23 -0
  619. package/node_modules/lodash/castArray.js +44 -0
  620. package/node_modules/lodash/ceil.js +26 -0
  621. package/node_modules/lodash/chain.js +38 -0
  622. package/node_modules/lodash/chunk.js +50 -0
  623. package/node_modules/lodash/clamp.js +39 -0
  624. package/node_modules/lodash/clone.js +36 -0
  625. package/node_modules/lodash/cloneDeep.js +29 -0
  626. package/node_modules/lodash/cloneDeepWith.js +40 -0
  627. package/node_modules/lodash/cloneWith.js +42 -0
  628. package/node_modules/lodash/collection.js +30 -0
  629. package/node_modules/lodash/commit.js +33 -0
  630. package/node_modules/lodash/compact.js +31 -0
  631. package/node_modules/lodash/concat.js +43 -0
  632. package/node_modules/lodash/cond.js +60 -0
  633. package/node_modules/lodash/conforms.js +35 -0
  634. package/node_modules/lodash/conformsTo.js +32 -0
  635. package/node_modules/lodash/constant.js +26 -0
  636. package/node_modules/lodash/core.js +3877 -0
  637. package/node_modules/lodash/core.min.js +29 -0
  638. package/node_modules/lodash/countBy.js +40 -0
  639. package/node_modules/lodash/create.js +43 -0
  640. package/node_modules/lodash/curry.js +57 -0
  641. package/node_modules/lodash/curryRight.js +54 -0
  642. package/node_modules/lodash/date.js +3 -0
  643. package/node_modules/lodash/debounce.js +191 -0
  644. package/node_modules/lodash/deburr.js +45 -0
  645. package/node_modules/lodash/defaultTo.js +25 -0
  646. package/node_modules/lodash/defaults.js +64 -0
  647. package/node_modules/lodash/defaultsDeep.js +30 -0
  648. package/node_modules/lodash/defer.js +26 -0
  649. package/node_modules/lodash/delay.js +28 -0
  650. package/node_modules/lodash/difference.js +33 -0
  651. package/node_modules/lodash/differenceBy.js +44 -0
  652. package/node_modules/lodash/differenceWith.js +40 -0
  653. package/node_modules/lodash/divide.js +22 -0
  654. package/node_modules/lodash/drop.js +38 -0
  655. package/node_modules/lodash/dropRight.js +39 -0
  656. package/node_modules/lodash/dropRightWhile.js +45 -0
  657. package/node_modules/lodash/dropWhile.js +45 -0
  658. package/node_modules/lodash/each.js +1 -0
  659. package/node_modules/lodash/eachRight.js +1 -0
  660. package/node_modules/lodash/endsWith.js +43 -0
  661. package/node_modules/lodash/entries.js +1 -0
  662. package/node_modules/lodash/entriesIn.js +1 -0
  663. package/node_modules/lodash/eq.js +37 -0
  664. package/node_modules/lodash/escape.js +43 -0
  665. package/node_modules/lodash/escapeRegExp.js +32 -0
  666. package/node_modules/lodash/every.js +56 -0
  667. package/node_modules/lodash/extend.js +1 -0
  668. package/node_modules/lodash/extendWith.js +1 -0
  669. package/node_modules/lodash/fill.js +45 -0
  670. package/node_modules/lodash/filter.js +52 -0
  671. package/node_modules/lodash/find.js +42 -0
  672. package/node_modules/lodash/findIndex.js +55 -0
  673. package/node_modules/lodash/findKey.js +44 -0
  674. package/node_modules/lodash/findLast.js +25 -0
  675. package/node_modules/lodash/findLastIndex.js +59 -0
  676. package/node_modules/lodash/findLastKey.js +44 -0
  677. package/node_modules/lodash/first.js +1 -0
  678. package/node_modules/lodash/flatMap.js +29 -0
  679. package/node_modules/lodash/flatMapDeep.js +31 -0
  680. package/node_modules/lodash/flatMapDepth.js +31 -0
  681. package/node_modules/lodash/flatten.js +22 -0
  682. package/node_modules/lodash/flattenDeep.js +25 -0
  683. package/node_modules/lodash/flattenDepth.js +33 -0
  684. package/node_modules/lodash/flip.js +28 -0
  685. package/node_modules/lodash/floor.js +26 -0
  686. package/node_modules/lodash/flow.js +27 -0
  687. package/node_modules/lodash/flowRight.js +26 -0
  688. package/node_modules/lodash/forEach.js +41 -0
  689. package/node_modules/lodash/forEachRight.js +31 -0
  690. package/node_modules/lodash/forIn.js +39 -0
  691. package/node_modules/lodash/forInRight.js +37 -0
  692. package/node_modules/lodash/forOwn.js +36 -0
  693. package/node_modules/lodash/forOwnRight.js +34 -0
  694. package/node_modules/lodash/fp/F.js +1 -0
  695. package/node_modules/lodash/fp/T.js +1 -0
  696. package/node_modules/lodash/fp/__.js +1 -0
  697. package/node_modules/lodash/fp/_baseConvert.js +569 -0
  698. package/node_modules/lodash/fp/_convertBrowser.js +18 -0
  699. package/node_modules/lodash/fp/_falseOptions.js +7 -0
  700. package/node_modules/lodash/fp/_mapping.js +358 -0
  701. package/node_modules/lodash/fp/_util.js +16 -0
  702. package/node_modules/lodash/fp/add.js +5 -0
  703. package/node_modules/lodash/fp/after.js +5 -0
  704. package/node_modules/lodash/fp/all.js +1 -0
  705. package/node_modules/lodash/fp/allPass.js +1 -0
  706. package/node_modules/lodash/fp/always.js +1 -0
  707. package/node_modules/lodash/fp/any.js +1 -0
  708. package/node_modules/lodash/fp/anyPass.js +1 -0
  709. package/node_modules/lodash/fp/apply.js +1 -0
  710. package/node_modules/lodash/fp/array.js +2 -0
  711. package/node_modules/lodash/fp/ary.js +5 -0
  712. package/node_modules/lodash/fp/assign.js +5 -0
  713. package/node_modules/lodash/fp/assignAll.js +5 -0
  714. package/node_modules/lodash/fp/assignAllWith.js +5 -0
  715. package/node_modules/lodash/fp/assignIn.js +5 -0
  716. package/node_modules/lodash/fp/assignInAll.js +5 -0
  717. package/node_modules/lodash/fp/assignInAllWith.js +5 -0
  718. package/node_modules/lodash/fp/assignInWith.js +5 -0
  719. package/node_modules/lodash/fp/assignWith.js +5 -0
  720. package/node_modules/lodash/fp/assoc.js +1 -0
  721. package/node_modules/lodash/fp/assocPath.js +1 -0
  722. package/node_modules/lodash/fp/at.js +5 -0
  723. package/node_modules/lodash/fp/attempt.js +5 -0
  724. package/node_modules/lodash/fp/before.js +5 -0
  725. package/node_modules/lodash/fp/bind.js +5 -0
  726. package/node_modules/lodash/fp/bindAll.js +5 -0
  727. package/node_modules/lodash/fp/bindKey.js +5 -0
  728. package/node_modules/lodash/fp/camelCase.js +5 -0
  729. package/node_modules/lodash/fp/capitalize.js +5 -0
  730. package/node_modules/lodash/fp/castArray.js +5 -0
  731. package/node_modules/lodash/fp/ceil.js +5 -0
  732. package/node_modules/lodash/fp/chain.js +5 -0
  733. package/node_modules/lodash/fp/chunk.js +5 -0
  734. package/node_modules/lodash/fp/clamp.js +5 -0
  735. package/node_modules/lodash/fp/clone.js +5 -0
  736. package/node_modules/lodash/fp/cloneDeep.js +5 -0
  737. package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  738. package/node_modules/lodash/fp/cloneWith.js +5 -0
  739. package/node_modules/lodash/fp/collection.js +2 -0
  740. package/node_modules/lodash/fp/commit.js +5 -0
  741. package/node_modules/lodash/fp/compact.js +5 -0
  742. package/node_modules/lodash/fp/complement.js +1 -0
  743. package/node_modules/lodash/fp/compose.js +1 -0
  744. package/node_modules/lodash/fp/concat.js +5 -0
  745. package/node_modules/lodash/fp/cond.js +5 -0
  746. package/node_modules/lodash/fp/conforms.js +1 -0
  747. package/node_modules/lodash/fp/conformsTo.js +5 -0
  748. package/node_modules/lodash/fp/constant.js +5 -0
  749. package/node_modules/lodash/fp/contains.js +1 -0
  750. package/node_modules/lodash/fp/convert.js +18 -0
  751. package/node_modules/lodash/fp/countBy.js +5 -0
  752. package/node_modules/lodash/fp/create.js +5 -0
  753. package/node_modules/lodash/fp/curry.js +5 -0
  754. package/node_modules/lodash/fp/curryN.js +5 -0
  755. package/node_modules/lodash/fp/curryRight.js +5 -0
  756. package/node_modules/lodash/fp/curryRightN.js +5 -0
  757. package/node_modules/lodash/fp/date.js +2 -0
  758. package/node_modules/lodash/fp/debounce.js +5 -0
  759. package/node_modules/lodash/fp/deburr.js +5 -0
  760. package/node_modules/lodash/fp/defaultTo.js +5 -0
  761. package/node_modules/lodash/fp/defaults.js +5 -0
  762. package/node_modules/lodash/fp/defaultsAll.js +5 -0
  763. package/node_modules/lodash/fp/defaultsDeep.js +5 -0
  764. package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  765. package/node_modules/lodash/fp/defer.js +5 -0
  766. package/node_modules/lodash/fp/delay.js +5 -0
  767. package/node_modules/lodash/fp/difference.js +5 -0
  768. package/node_modules/lodash/fp/differenceBy.js +5 -0
  769. package/node_modules/lodash/fp/differenceWith.js +5 -0
  770. package/node_modules/lodash/fp/dissoc.js +1 -0
  771. package/node_modules/lodash/fp/dissocPath.js +1 -0
  772. package/node_modules/lodash/fp/divide.js +5 -0
  773. package/node_modules/lodash/fp/drop.js +5 -0
  774. package/node_modules/lodash/fp/dropLast.js +1 -0
  775. package/node_modules/lodash/fp/dropLastWhile.js +1 -0
  776. package/node_modules/lodash/fp/dropRight.js +5 -0
  777. package/node_modules/lodash/fp/dropRightWhile.js +5 -0
  778. package/node_modules/lodash/fp/dropWhile.js +5 -0
  779. package/node_modules/lodash/fp/each.js +1 -0
  780. package/node_modules/lodash/fp/eachRight.js +1 -0
  781. package/node_modules/lodash/fp/endsWith.js +5 -0
  782. package/node_modules/lodash/fp/entries.js +1 -0
  783. package/node_modules/lodash/fp/entriesIn.js +1 -0
  784. package/node_modules/lodash/fp/eq.js +5 -0
  785. package/node_modules/lodash/fp/equals.js +1 -0
  786. package/node_modules/lodash/fp/escape.js +5 -0
  787. package/node_modules/lodash/fp/escapeRegExp.js +5 -0
  788. package/node_modules/lodash/fp/every.js +5 -0
  789. package/node_modules/lodash/fp/extend.js +1 -0
  790. package/node_modules/lodash/fp/extendAll.js +1 -0
  791. package/node_modules/lodash/fp/extendAllWith.js +1 -0
  792. package/node_modules/lodash/fp/extendWith.js +1 -0
  793. package/node_modules/lodash/fp/fill.js +5 -0
  794. package/node_modules/lodash/fp/filter.js +5 -0
  795. package/node_modules/lodash/fp/find.js +5 -0
  796. package/node_modules/lodash/fp/findFrom.js +5 -0
  797. package/node_modules/lodash/fp/findIndex.js +5 -0
  798. package/node_modules/lodash/fp/findIndexFrom.js +5 -0
  799. package/node_modules/lodash/fp/findKey.js +5 -0
  800. package/node_modules/lodash/fp/findLast.js +5 -0
  801. package/node_modules/lodash/fp/findLastFrom.js +5 -0
  802. package/node_modules/lodash/fp/findLastIndex.js +5 -0
  803. package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  804. package/node_modules/lodash/fp/findLastKey.js +5 -0
  805. package/node_modules/lodash/fp/first.js +1 -0
  806. package/node_modules/lodash/fp/flatMap.js +5 -0
  807. package/node_modules/lodash/fp/flatMapDeep.js +5 -0
  808. package/node_modules/lodash/fp/flatMapDepth.js +5 -0
  809. package/node_modules/lodash/fp/flatten.js +5 -0
  810. package/node_modules/lodash/fp/flattenDeep.js +5 -0
  811. package/node_modules/lodash/fp/flattenDepth.js +5 -0
  812. package/node_modules/lodash/fp/flip.js +5 -0
  813. package/node_modules/lodash/fp/floor.js +5 -0
  814. package/node_modules/lodash/fp/flow.js +5 -0
  815. package/node_modules/lodash/fp/flowRight.js +5 -0
  816. package/node_modules/lodash/fp/forEach.js +5 -0
  817. package/node_modules/lodash/fp/forEachRight.js +5 -0
  818. package/node_modules/lodash/fp/forIn.js +5 -0
  819. package/node_modules/lodash/fp/forInRight.js +5 -0
  820. package/node_modules/lodash/fp/forOwn.js +5 -0
  821. package/node_modules/lodash/fp/forOwnRight.js +5 -0
  822. package/node_modules/lodash/fp/fromPairs.js +5 -0
  823. package/node_modules/lodash/fp/function.js +2 -0
  824. package/node_modules/lodash/fp/functions.js +5 -0
  825. package/node_modules/lodash/fp/functionsIn.js +5 -0
  826. package/node_modules/lodash/fp/get.js +5 -0
  827. package/node_modules/lodash/fp/getOr.js +5 -0
  828. package/node_modules/lodash/fp/groupBy.js +5 -0
  829. package/node_modules/lodash/fp/gt.js +5 -0
  830. package/node_modules/lodash/fp/gte.js +5 -0
  831. package/node_modules/lodash/fp/has.js +5 -0
  832. package/node_modules/lodash/fp/hasIn.js +5 -0
  833. package/node_modules/lodash/fp/head.js +5 -0
  834. package/node_modules/lodash/fp/identical.js +1 -0
  835. package/node_modules/lodash/fp/identity.js +5 -0
  836. package/node_modules/lodash/fp/inRange.js +5 -0
  837. package/node_modules/lodash/fp/includes.js +5 -0
  838. package/node_modules/lodash/fp/includesFrom.js +5 -0
  839. package/node_modules/lodash/fp/indexBy.js +1 -0
  840. package/node_modules/lodash/fp/indexOf.js +5 -0
  841. package/node_modules/lodash/fp/indexOfFrom.js +5 -0
  842. package/node_modules/lodash/fp/init.js +1 -0
  843. package/node_modules/lodash/fp/initial.js +5 -0
  844. package/node_modules/lodash/fp/intersection.js +5 -0
  845. package/node_modules/lodash/fp/intersectionBy.js +5 -0
  846. package/node_modules/lodash/fp/intersectionWith.js +5 -0
  847. package/node_modules/lodash/fp/invert.js +5 -0
  848. package/node_modules/lodash/fp/invertBy.js +5 -0
  849. package/node_modules/lodash/fp/invertObj.js +1 -0
  850. package/node_modules/lodash/fp/invoke.js +5 -0
  851. package/node_modules/lodash/fp/invokeArgs.js +5 -0
  852. package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  853. package/node_modules/lodash/fp/invokeMap.js +5 -0
  854. package/node_modules/lodash/fp/isArguments.js +5 -0
  855. package/node_modules/lodash/fp/isArray.js +5 -0
  856. package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  857. package/node_modules/lodash/fp/isArrayLike.js +5 -0
  858. package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  859. package/node_modules/lodash/fp/isBoolean.js +5 -0
  860. package/node_modules/lodash/fp/isBuffer.js +5 -0
  861. package/node_modules/lodash/fp/isDate.js +5 -0
  862. package/node_modules/lodash/fp/isElement.js +5 -0
  863. package/node_modules/lodash/fp/isEmpty.js +5 -0
  864. package/node_modules/lodash/fp/isEqual.js +5 -0
  865. package/node_modules/lodash/fp/isEqualWith.js +5 -0
  866. package/node_modules/lodash/fp/isError.js +5 -0
  867. package/node_modules/lodash/fp/isFinite.js +5 -0
  868. package/node_modules/lodash/fp/isFunction.js +5 -0
  869. package/node_modules/lodash/fp/isInteger.js +5 -0
  870. package/node_modules/lodash/fp/isLength.js +5 -0
  871. package/node_modules/lodash/fp/isMap.js +5 -0
  872. package/node_modules/lodash/fp/isMatch.js +5 -0
  873. package/node_modules/lodash/fp/isMatchWith.js +5 -0
  874. package/node_modules/lodash/fp/isNaN.js +5 -0
  875. package/node_modules/lodash/fp/isNative.js +5 -0
  876. package/node_modules/lodash/fp/isNil.js +5 -0
  877. package/node_modules/lodash/fp/isNull.js +5 -0
  878. package/node_modules/lodash/fp/isNumber.js +5 -0
  879. package/node_modules/lodash/fp/isObject.js +5 -0
  880. package/node_modules/lodash/fp/isObjectLike.js +5 -0
  881. package/node_modules/lodash/fp/isPlainObject.js +5 -0
  882. package/node_modules/lodash/fp/isRegExp.js +5 -0
  883. package/node_modules/lodash/fp/isSafeInteger.js +5 -0
  884. package/node_modules/lodash/fp/isSet.js +5 -0
  885. package/node_modules/lodash/fp/isString.js +5 -0
  886. package/node_modules/lodash/fp/isSymbol.js +5 -0
  887. package/node_modules/lodash/fp/isTypedArray.js +5 -0
  888. package/node_modules/lodash/fp/isUndefined.js +5 -0
  889. package/node_modules/lodash/fp/isWeakMap.js +5 -0
  890. package/node_modules/lodash/fp/isWeakSet.js +5 -0
  891. package/node_modules/lodash/fp/iteratee.js +5 -0
  892. package/node_modules/lodash/fp/join.js +5 -0
  893. package/node_modules/lodash/fp/juxt.js +1 -0
  894. package/node_modules/lodash/fp/kebabCase.js +5 -0
  895. package/node_modules/lodash/fp/keyBy.js +5 -0
  896. package/node_modules/lodash/fp/keys.js +5 -0
  897. package/node_modules/lodash/fp/keysIn.js +5 -0
  898. package/node_modules/lodash/fp/lang.js +2 -0
  899. package/node_modules/lodash/fp/last.js +5 -0
  900. package/node_modules/lodash/fp/lastIndexOf.js +5 -0
  901. package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  902. package/node_modules/lodash/fp/lowerCase.js +5 -0
  903. package/node_modules/lodash/fp/lowerFirst.js +5 -0
  904. package/node_modules/lodash/fp/lt.js +5 -0
  905. package/node_modules/lodash/fp/lte.js +5 -0
  906. package/node_modules/lodash/fp/map.js +5 -0
  907. package/node_modules/lodash/fp/mapKeys.js +5 -0
  908. package/node_modules/lodash/fp/mapValues.js +5 -0
  909. package/node_modules/lodash/fp/matches.js +1 -0
  910. package/node_modules/lodash/fp/matchesProperty.js +5 -0
  911. package/node_modules/lodash/fp/math.js +2 -0
  912. package/node_modules/lodash/fp/max.js +5 -0
  913. package/node_modules/lodash/fp/maxBy.js +5 -0
  914. package/node_modules/lodash/fp/mean.js +5 -0
  915. package/node_modules/lodash/fp/meanBy.js +5 -0
  916. package/node_modules/lodash/fp/memoize.js +5 -0
  917. package/node_modules/lodash/fp/merge.js +5 -0
  918. package/node_modules/lodash/fp/mergeAll.js +5 -0
  919. package/node_modules/lodash/fp/mergeAllWith.js +5 -0
  920. package/node_modules/lodash/fp/mergeWith.js +5 -0
  921. package/node_modules/lodash/fp/method.js +5 -0
  922. package/node_modules/lodash/fp/methodOf.js +5 -0
  923. package/node_modules/lodash/fp/min.js +5 -0
  924. package/node_modules/lodash/fp/minBy.js +5 -0
  925. package/node_modules/lodash/fp/mixin.js +5 -0
  926. package/node_modules/lodash/fp/multiply.js +5 -0
  927. package/node_modules/lodash/fp/nAry.js +1 -0
  928. package/node_modules/lodash/fp/negate.js +5 -0
  929. package/node_modules/lodash/fp/next.js +5 -0
  930. package/node_modules/lodash/fp/noop.js +5 -0
  931. package/node_modules/lodash/fp/now.js +5 -0
  932. package/node_modules/lodash/fp/nth.js +5 -0
  933. package/node_modules/lodash/fp/nthArg.js +5 -0
  934. package/node_modules/lodash/fp/number.js +2 -0
  935. package/node_modules/lodash/fp/object.js +2 -0
  936. package/node_modules/lodash/fp/omit.js +5 -0
  937. package/node_modules/lodash/fp/omitAll.js +1 -0
  938. package/node_modules/lodash/fp/omitBy.js +5 -0
  939. package/node_modules/lodash/fp/once.js +5 -0
  940. package/node_modules/lodash/fp/orderBy.js +5 -0
  941. package/node_modules/lodash/fp/over.js +5 -0
  942. package/node_modules/lodash/fp/overArgs.js +5 -0
  943. package/node_modules/lodash/fp/overEvery.js +5 -0
  944. package/node_modules/lodash/fp/overSome.js +5 -0
  945. package/node_modules/lodash/fp/pad.js +5 -0
  946. package/node_modules/lodash/fp/padChars.js +5 -0
  947. package/node_modules/lodash/fp/padCharsEnd.js +5 -0
  948. package/node_modules/lodash/fp/padCharsStart.js +5 -0
  949. package/node_modules/lodash/fp/padEnd.js +5 -0
  950. package/node_modules/lodash/fp/padStart.js +5 -0
  951. package/node_modules/lodash/fp/parseInt.js +5 -0
  952. package/node_modules/lodash/fp/partial.js +5 -0
  953. package/node_modules/lodash/fp/partialRight.js +5 -0
  954. package/node_modules/lodash/fp/partition.js +5 -0
  955. package/node_modules/lodash/fp/path.js +1 -0
  956. package/node_modules/lodash/fp/pathEq.js +1 -0
  957. package/node_modules/lodash/fp/pathOr.js +1 -0
  958. package/node_modules/lodash/fp/paths.js +1 -0
  959. package/node_modules/lodash/fp/pick.js +5 -0
  960. package/node_modules/lodash/fp/pickAll.js +1 -0
  961. package/node_modules/lodash/fp/pickBy.js +5 -0
  962. package/node_modules/lodash/fp/pipe.js +1 -0
  963. package/node_modules/lodash/fp/placeholder.js +6 -0
  964. package/node_modules/lodash/fp/plant.js +5 -0
  965. package/node_modules/lodash/fp/pluck.js +1 -0
  966. package/node_modules/lodash/fp/prop.js +1 -0
  967. package/node_modules/lodash/fp/propEq.js +1 -0
  968. package/node_modules/lodash/fp/propOr.js +1 -0
  969. package/node_modules/lodash/fp/property.js +1 -0
  970. package/node_modules/lodash/fp/propertyOf.js +5 -0
  971. package/node_modules/lodash/fp/props.js +1 -0
  972. package/node_modules/lodash/fp/pull.js +5 -0
  973. package/node_modules/lodash/fp/pullAll.js +5 -0
  974. package/node_modules/lodash/fp/pullAllBy.js +5 -0
  975. package/node_modules/lodash/fp/pullAllWith.js +5 -0
  976. package/node_modules/lodash/fp/pullAt.js +5 -0
  977. package/node_modules/lodash/fp/random.js +5 -0
  978. package/node_modules/lodash/fp/range.js +5 -0
  979. package/node_modules/lodash/fp/rangeRight.js +5 -0
  980. package/node_modules/lodash/fp/rangeStep.js +5 -0
  981. package/node_modules/lodash/fp/rangeStepRight.js +5 -0
  982. package/node_modules/lodash/fp/rearg.js +5 -0
  983. package/node_modules/lodash/fp/reduce.js +5 -0
  984. package/node_modules/lodash/fp/reduceRight.js +5 -0
  985. package/node_modules/lodash/fp/reject.js +5 -0
  986. package/node_modules/lodash/fp/remove.js +5 -0
  987. package/node_modules/lodash/fp/repeat.js +5 -0
  988. package/node_modules/lodash/fp/replace.js +5 -0
  989. package/node_modules/lodash/fp/rest.js +5 -0
  990. package/node_modules/lodash/fp/restFrom.js +5 -0
  991. package/node_modules/lodash/fp/result.js +5 -0
  992. package/node_modules/lodash/fp/reverse.js +5 -0
  993. package/node_modules/lodash/fp/round.js +5 -0
  994. package/node_modules/lodash/fp/sample.js +5 -0
  995. package/node_modules/lodash/fp/sampleSize.js +5 -0
  996. package/node_modules/lodash/fp/seq.js +2 -0
  997. package/node_modules/lodash/fp/set.js +5 -0
  998. package/node_modules/lodash/fp/setWith.js +5 -0
  999. package/node_modules/lodash/fp/shuffle.js +5 -0
  1000. package/node_modules/lodash/fp/size.js +5 -0
  1001. package/node_modules/lodash/fp/slice.js +5 -0
  1002. package/node_modules/lodash/fp/snakeCase.js +5 -0
  1003. package/node_modules/lodash/fp/some.js +5 -0
  1004. package/node_modules/lodash/fp/sortBy.js +5 -0
  1005. package/node_modules/lodash/fp/sortedIndex.js +5 -0
  1006. package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1007. package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1008. package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1009. package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1010. package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1011. package/node_modules/lodash/fp/sortedUniq.js +5 -0
  1012. package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1013. package/node_modules/lodash/fp/split.js +5 -0
  1014. package/node_modules/lodash/fp/spread.js +5 -0
  1015. package/node_modules/lodash/fp/spreadFrom.js +5 -0
  1016. package/node_modules/lodash/fp/startCase.js +5 -0
  1017. package/node_modules/lodash/fp/startsWith.js +5 -0
  1018. package/node_modules/lodash/fp/string.js +2 -0
  1019. package/node_modules/lodash/fp/stubArray.js +5 -0
  1020. package/node_modules/lodash/fp/stubFalse.js +5 -0
  1021. package/node_modules/lodash/fp/stubObject.js +5 -0
  1022. package/node_modules/lodash/fp/stubString.js +5 -0
  1023. package/node_modules/lodash/fp/stubTrue.js +5 -0
  1024. package/node_modules/lodash/fp/subtract.js +5 -0
  1025. package/node_modules/lodash/fp/sum.js +5 -0
  1026. package/node_modules/lodash/fp/sumBy.js +5 -0
  1027. package/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1028. package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1029. package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1030. package/node_modules/lodash/fp/tail.js +5 -0
  1031. package/node_modules/lodash/fp/take.js +5 -0
  1032. package/node_modules/lodash/fp/takeLast.js +1 -0
  1033. package/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1034. package/node_modules/lodash/fp/takeRight.js +5 -0
  1035. package/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1036. package/node_modules/lodash/fp/takeWhile.js +5 -0
  1037. package/node_modules/lodash/fp/tap.js +5 -0
  1038. package/node_modules/lodash/fp/template.js +5 -0
  1039. package/node_modules/lodash/fp/templateSettings.js +5 -0
  1040. package/node_modules/lodash/fp/throttle.js +5 -0
  1041. package/node_modules/lodash/fp/thru.js +5 -0
  1042. package/node_modules/lodash/fp/times.js +5 -0
  1043. package/node_modules/lodash/fp/toArray.js +5 -0
  1044. package/node_modules/lodash/fp/toFinite.js +5 -0
  1045. package/node_modules/lodash/fp/toInteger.js +5 -0
  1046. package/node_modules/lodash/fp/toIterator.js +5 -0
  1047. package/node_modules/lodash/fp/toJSON.js +5 -0
  1048. package/node_modules/lodash/fp/toLength.js +5 -0
  1049. package/node_modules/lodash/fp/toLower.js +5 -0
  1050. package/node_modules/lodash/fp/toNumber.js +5 -0
  1051. package/node_modules/lodash/fp/toPairs.js +5 -0
  1052. package/node_modules/lodash/fp/toPairsIn.js +5 -0
  1053. package/node_modules/lodash/fp/toPath.js +5 -0
  1054. package/node_modules/lodash/fp/toPlainObject.js +5 -0
  1055. package/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1056. package/node_modules/lodash/fp/toString.js +5 -0
  1057. package/node_modules/lodash/fp/toUpper.js +5 -0
  1058. package/node_modules/lodash/fp/transform.js +5 -0
  1059. package/node_modules/lodash/fp/trim.js +5 -0
  1060. package/node_modules/lodash/fp/trimChars.js +5 -0
  1061. package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1062. package/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1063. package/node_modules/lodash/fp/trimEnd.js +5 -0
  1064. package/node_modules/lodash/fp/trimStart.js +5 -0
  1065. package/node_modules/lodash/fp/truncate.js +5 -0
  1066. package/node_modules/lodash/fp/unapply.js +1 -0
  1067. package/node_modules/lodash/fp/unary.js +5 -0
  1068. package/node_modules/lodash/fp/unescape.js +5 -0
  1069. package/node_modules/lodash/fp/union.js +5 -0
  1070. package/node_modules/lodash/fp/unionBy.js +5 -0
  1071. package/node_modules/lodash/fp/unionWith.js +5 -0
  1072. package/node_modules/lodash/fp/uniq.js +5 -0
  1073. package/node_modules/lodash/fp/uniqBy.js +5 -0
  1074. package/node_modules/lodash/fp/uniqWith.js +5 -0
  1075. package/node_modules/lodash/fp/uniqueId.js +5 -0
  1076. package/node_modules/lodash/fp/unnest.js +1 -0
  1077. package/node_modules/lodash/fp/unset.js +5 -0
  1078. package/node_modules/lodash/fp/unzip.js +5 -0
  1079. package/node_modules/lodash/fp/unzipWith.js +5 -0
  1080. package/node_modules/lodash/fp/update.js +5 -0
  1081. package/node_modules/lodash/fp/updateWith.js +5 -0
  1082. package/node_modules/lodash/fp/upperCase.js +5 -0
  1083. package/node_modules/lodash/fp/upperFirst.js +5 -0
  1084. package/node_modules/lodash/fp/useWith.js +1 -0
  1085. package/node_modules/lodash/fp/util.js +2 -0
  1086. package/node_modules/lodash/fp/value.js +5 -0
  1087. package/node_modules/lodash/fp/valueOf.js +5 -0
  1088. package/node_modules/lodash/fp/values.js +5 -0
  1089. package/node_modules/lodash/fp/valuesIn.js +5 -0
  1090. package/node_modules/lodash/fp/where.js +1 -0
  1091. package/node_modules/lodash/fp/whereEq.js +1 -0
  1092. package/node_modules/lodash/fp/without.js +5 -0
  1093. package/node_modules/lodash/fp/words.js +5 -0
  1094. package/node_modules/lodash/fp/wrap.js +5 -0
  1095. package/node_modules/lodash/fp/wrapperAt.js +5 -0
  1096. package/node_modules/lodash/fp/wrapperChain.js +5 -0
  1097. package/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1098. package/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1099. package/node_modules/lodash/fp/wrapperValue.js +5 -0
  1100. package/node_modules/lodash/fp/xor.js +5 -0
  1101. package/node_modules/lodash/fp/xorBy.js +5 -0
  1102. package/node_modules/lodash/fp/xorWith.js +5 -0
  1103. package/node_modules/lodash/fp/zip.js +5 -0
  1104. package/node_modules/lodash/fp/zipAll.js +5 -0
  1105. package/node_modules/lodash/fp/zipObj.js +1 -0
  1106. package/node_modules/lodash/fp/zipObject.js +5 -0
  1107. package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1108. package/node_modules/lodash/fp/zipWith.js +5 -0
  1109. package/node_modules/lodash/fp.js +2 -0
  1110. package/node_modules/lodash/fromPairs.js +28 -0
  1111. package/node_modules/lodash/function.js +25 -0
  1112. package/node_modules/lodash/functions.js +31 -0
  1113. package/node_modules/lodash/functionsIn.js +31 -0
  1114. package/node_modules/lodash/get.js +33 -0
  1115. package/node_modules/lodash/groupBy.js +41 -0
  1116. package/node_modules/lodash/gt.js +29 -0
  1117. package/node_modules/lodash/gte.js +30 -0
  1118. package/node_modules/lodash/has.js +35 -0
  1119. package/node_modules/lodash/hasIn.js +34 -0
  1120. package/node_modules/lodash/head.js +23 -0
  1121. package/node_modules/lodash/identity.js +21 -0
  1122. package/node_modules/lodash/inRange.js +55 -0
  1123. package/node_modules/lodash/includes.js +53 -0
  1124. package/node_modules/lodash/index.js +1 -0
  1125. package/node_modules/lodash/indexOf.js +42 -0
  1126. package/node_modules/lodash/initial.js +22 -0
  1127. package/node_modules/lodash/intersection.js +30 -0
  1128. package/node_modules/lodash/intersectionBy.js +45 -0
  1129. package/node_modules/lodash/intersectionWith.js +41 -0
  1130. package/node_modules/lodash/invert.js +42 -0
  1131. package/node_modules/lodash/invertBy.js +56 -0
  1132. package/node_modules/lodash/invoke.js +24 -0
  1133. package/node_modules/lodash/invokeMap.js +41 -0
  1134. package/node_modules/lodash/isArguments.js +36 -0
  1135. package/node_modules/lodash/isArray.js +26 -0
  1136. package/node_modules/lodash/isArrayBuffer.js +27 -0
  1137. package/node_modules/lodash/isArrayLike.js +33 -0
  1138. package/node_modules/lodash/isArrayLikeObject.js +33 -0
  1139. package/node_modules/lodash/isBoolean.js +29 -0
  1140. package/node_modules/lodash/isBuffer.js +38 -0
  1141. package/node_modules/lodash/isDate.js +27 -0
  1142. package/node_modules/lodash/isElement.js +25 -0
  1143. package/node_modules/lodash/isEmpty.js +77 -0
  1144. package/node_modules/lodash/isEqual.js +35 -0
  1145. package/node_modules/lodash/isEqualWith.js +41 -0
  1146. package/node_modules/lodash/isError.js +36 -0
  1147. package/node_modules/lodash/isFinite.js +36 -0
  1148. package/node_modules/lodash/isFunction.js +37 -0
  1149. package/node_modules/lodash/isInteger.js +33 -0
  1150. package/node_modules/lodash/isLength.js +35 -0
  1151. package/node_modules/lodash/isMap.js +27 -0
  1152. package/node_modules/lodash/isMatch.js +36 -0
  1153. package/node_modules/lodash/isMatchWith.js +41 -0
  1154. package/node_modules/lodash/isNaN.js +38 -0
  1155. package/node_modules/lodash/isNative.js +40 -0
  1156. package/node_modules/lodash/isNil.js +25 -0
  1157. package/node_modules/lodash/isNull.js +22 -0
  1158. package/node_modules/lodash/isNumber.js +38 -0
  1159. package/node_modules/lodash/isObject.js +31 -0
  1160. package/node_modules/lodash/isObjectLike.js +29 -0
  1161. package/node_modules/lodash/isPlainObject.js +62 -0
  1162. package/node_modules/lodash/isRegExp.js +27 -0
  1163. package/node_modules/lodash/isSafeInteger.js +37 -0
  1164. package/node_modules/lodash/isSet.js +27 -0
  1165. package/node_modules/lodash/isString.js +30 -0
  1166. package/node_modules/lodash/isSymbol.js +29 -0
  1167. package/node_modules/lodash/isTypedArray.js +27 -0
  1168. package/node_modules/lodash/isUndefined.js +22 -0
  1169. package/node_modules/lodash/isWeakMap.js +28 -0
  1170. package/node_modules/lodash/isWeakSet.js +28 -0
  1171. package/node_modules/lodash/iteratee.js +53 -0
  1172. package/node_modules/lodash/join.js +26 -0
  1173. package/node_modules/lodash/kebabCase.js +28 -0
  1174. package/node_modules/lodash/keyBy.js +36 -0
  1175. package/node_modules/lodash/keys.js +37 -0
  1176. package/node_modules/lodash/keysIn.js +32 -0
  1177. package/node_modules/lodash/lang.js +58 -0
  1178. package/node_modules/lodash/last.js +20 -0
  1179. package/node_modules/lodash/lastIndexOf.js +46 -0
  1180. package/node_modules/lodash/lodash.js +17248 -0
  1181. package/node_modules/lodash/lodash.min.js +140 -0
  1182. package/node_modules/lodash/lowerCase.js +27 -0
  1183. package/node_modules/lodash/lowerFirst.js +22 -0
  1184. package/node_modules/lodash/lt.js +29 -0
  1185. package/node_modules/lodash/lte.js +30 -0
  1186. package/node_modules/lodash/map.js +53 -0
  1187. package/node_modules/lodash/mapKeys.js +36 -0
  1188. package/node_modules/lodash/mapValues.js +43 -0
  1189. package/node_modules/lodash/matches.js +46 -0
  1190. package/node_modules/lodash/matchesProperty.js +44 -0
  1191. package/node_modules/lodash/math.js +17 -0
  1192. package/node_modules/lodash/max.js +29 -0
  1193. package/node_modules/lodash/maxBy.js +34 -0
  1194. package/node_modules/lodash/mean.js +22 -0
  1195. package/node_modules/lodash/meanBy.js +31 -0
  1196. package/node_modules/lodash/memoize.js +73 -0
  1197. package/node_modules/lodash/merge.js +39 -0
  1198. package/node_modules/lodash/mergeWith.js +39 -0
  1199. package/node_modules/lodash/method.js +34 -0
  1200. package/node_modules/lodash/methodOf.js +33 -0
  1201. package/node_modules/lodash/min.js +29 -0
  1202. package/node_modules/lodash/minBy.js +34 -0
  1203. package/node_modules/lodash/mixin.js +74 -0
  1204. package/node_modules/lodash/multiply.js +22 -0
  1205. package/node_modules/lodash/negate.js +40 -0
  1206. package/node_modules/lodash/next.js +35 -0
  1207. package/node_modules/lodash/noop.js +17 -0
  1208. package/node_modules/lodash/now.js +23 -0
  1209. package/node_modules/lodash/nth.js +29 -0
  1210. package/node_modules/lodash/nthArg.js +32 -0
  1211. package/node_modules/lodash/number.js +5 -0
  1212. package/node_modules/lodash/object.js +49 -0
  1213. package/node_modules/lodash/omit.js +57 -0
  1214. package/node_modules/lodash/omitBy.js +29 -0
  1215. package/node_modules/lodash/once.js +25 -0
  1216. package/node_modules/lodash/orderBy.js +47 -0
  1217. package/node_modules/lodash/over.js +24 -0
  1218. package/node_modules/lodash/overArgs.js +61 -0
  1219. package/node_modules/lodash/overEvery.js +34 -0
  1220. package/node_modules/lodash/overSome.js +37 -0
  1221. package/node_modules/lodash/package.json +17 -0
  1222. package/node_modules/lodash/pad.js +49 -0
  1223. package/node_modules/lodash/padEnd.js +39 -0
  1224. package/node_modules/lodash/padStart.js +39 -0
  1225. package/node_modules/lodash/parseInt.js +43 -0
  1226. package/node_modules/lodash/partial.js +50 -0
  1227. package/node_modules/lodash/partialRight.js +49 -0
  1228. package/node_modules/lodash/partition.js +43 -0
  1229. package/node_modules/lodash/pick.js +25 -0
  1230. package/node_modules/lodash/pickBy.js +37 -0
  1231. package/node_modules/lodash/plant.js +48 -0
  1232. package/node_modules/lodash/property.js +32 -0
  1233. package/node_modules/lodash/propertyOf.js +30 -0
  1234. package/node_modules/lodash/pull.js +29 -0
  1235. package/node_modules/lodash/pullAll.js +29 -0
  1236. package/node_modules/lodash/pullAllBy.js +33 -0
  1237. package/node_modules/lodash/pullAllWith.js +32 -0
  1238. package/node_modules/lodash/pullAt.js +43 -0
  1239. package/node_modules/lodash/random.js +82 -0
  1240. package/node_modules/lodash/range.js +46 -0
  1241. package/node_modules/lodash/rangeRight.js +41 -0
  1242. package/node_modules/lodash/rearg.js +33 -0
  1243. package/node_modules/lodash/reduce.js +51 -0
  1244. package/node_modules/lodash/reduceRight.js +36 -0
  1245. package/node_modules/lodash/reject.js +46 -0
  1246. package/node_modules/lodash/remove.js +53 -0
  1247. package/node_modules/lodash/repeat.js +37 -0
  1248. package/node_modules/lodash/replace.js +29 -0
  1249. package/node_modules/lodash/rest.js +40 -0
  1250. package/node_modules/lodash/result.js +56 -0
  1251. package/node_modules/lodash/reverse.js +34 -0
  1252. package/node_modules/lodash/round.js +26 -0
  1253. package/node_modules/lodash/sample.js +24 -0
  1254. package/node_modules/lodash/sampleSize.js +37 -0
  1255. package/node_modules/lodash/seq.js +16 -0
  1256. package/node_modules/lodash/set.js +35 -0
  1257. package/node_modules/lodash/setWith.js +32 -0
  1258. package/node_modules/lodash/shuffle.js +25 -0
  1259. package/node_modules/lodash/size.js +46 -0
  1260. package/node_modules/lodash/slice.js +37 -0
  1261. package/node_modules/lodash/snakeCase.js +28 -0
  1262. package/node_modules/lodash/some.js +51 -0
  1263. package/node_modules/lodash/sortBy.js +48 -0
  1264. package/node_modules/lodash/sortedIndex.js +24 -0
  1265. package/node_modules/lodash/sortedIndexBy.js +33 -0
  1266. package/node_modules/lodash/sortedIndexOf.js +31 -0
  1267. package/node_modules/lodash/sortedLastIndex.js +25 -0
  1268. package/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1269. package/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1270. package/node_modules/lodash/sortedUniq.js +24 -0
  1271. package/node_modules/lodash/sortedUniqBy.js +26 -0
  1272. package/node_modules/lodash/split.js +52 -0
  1273. package/node_modules/lodash/spread.js +63 -0
  1274. package/node_modules/lodash/startCase.js +29 -0
  1275. package/node_modules/lodash/startsWith.js +39 -0
  1276. package/node_modules/lodash/string.js +33 -0
  1277. package/node_modules/lodash/stubArray.js +23 -0
  1278. package/node_modules/lodash/stubFalse.js +18 -0
  1279. package/node_modules/lodash/stubObject.js +23 -0
  1280. package/node_modules/lodash/stubString.js +18 -0
  1281. package/node_modules/lodash/stubTrue.js +18 -0
  1282. package/node_modules/lodash/subtract.js +22 -0
  1283. package/node_modules/lodash/sum.js +24 -0
  1284. package/node_modules/lodash/sumBy.js +33 -0
  1285. package/node_modules/lodash/tail.js +22 -0
  1286. package/node_modules/lodash/take.js +37 -0
  1287. package/node_modules/lodash/takeRight.js +39 -0
  1288. package/node_modules/lodash/takeRightWhile.js +45 -0
  1289. package/node_modules/lodash/takeWhile.js +45 -0
  1290. package/node_modules/lodash/tap.js +29 -0
  1291. package/node_modules/lodash/template.js +272 -0
  1292. package/node_modules/lodash/templateSettings.js +67 -0
  1293. package/node_modules/lodash/throttle.js +69 -0
  1294. package/node_modules/lodash/thru.js +28 -0
  1295. package/node_modules/lodash/times.js +51 -0
  1296. package/node_modules/lodash/toArray.js +58 -0
  1297. package/node_modules/lodash/toFinite.js +42 -0
  1298. package/node_modules/lodash/toInteger.js +36 -0
  1299. package/node_modules/lodash/toIterator.js +23 -0
  1300. package/node_modules/lodash/toJSON.js +1 -0
  1301. package/node_modules/lodash/toLength.js +38 -0
  1302. package/node_modules/lodash/toLower.js +28 -0
  1303. package/node_modules/lodash/toNumber.js +64 -0
  1304. package/node_modules/lodash/toPairs.js +30 -0
  1305. package/node_modules/lodash/toPairsIn.js +30 -0
  1306. package/node_modules/lodash/toPath.js +33 -0
  1307. package/node_modules/lodash/toPlainObject.js +32 -0
  1308. package/node_modules/lodash/toSafeInteger.js +37 -0
  1309. package/node_modules/lodash/toString.js +28 -0
  1310. package/node_modules/lodash/toUpper.js +28 -0
  1311. package/node_modules/lodash/transform.js +65 -0
  1312. package/node_modules/lodash/trim.js +47 -0
  1313. package/node_modules/lodash/trimEnd.js +41 -0
  1314. package/node_modules/lodash/trimStart.js +43 -0
  1315. package/node_modules/lodash/truncate.js +111 -0
  1316. package/node_modules/lodash/unary.js +22 -0
  1317. package/node_modules/lodash/unescape.js +34 -0
  1318. package/node_modules/lodash/union.js +26 -0
  1319. package/node_modules/lodash/unionBy.js +39 -0
  1320. package/node_modules/lodash/unionWith.js +34 -0
  1321. package/node_modules/lodash/uniq.js +25 -0
  1322. package/node_modules/lodash/uniqBy.js +31 -0
  1323. package/node_modules/lodash/uniqWith.js +28 -0
  1324. package/node_modules/lodash/uniqueId.js +28 -0
  1325. package/node_modules/lodash/unset.js +34 -0
  1326. package/node_modules/lodash/unzip.js +45 -0
  1327. package/node_modules/lodash/unzipWith.js +39 -0
  1328. package/node_modules/lodash/update.js +35 -0
  1329. package/node_modules/lodash/updateWith.js +33 -0
  1330. package/node_modules/lodash/upperCase.js +27 -0
  1331. package/node_modules/lodash/upperFirst.js +22 -0
  1332. package/node_modules/lodash/util.js +34 -0
  1333. package/node_modules/lodash/value.js +1 -0
  1334. package/node_modules/lodash/valueOf.js +1 -0
  1335. package/node_modules/lodash/values.js +34 -0
  1336. package/node_modules/lodash/valuesIn.js +32 -0
  1337. package/node_modules/lodash/without.js +31 -0
  1338. package/node_modules/lodash/words.js +35 -0
  1339. package/node_modules/lodash/wrap.js +30 -0
  1340. package/node_modules/lodash/wrapperAt.js +48 -0
  1341. package/node_modules/lodash/wrapperChain.js +34 -0
  1342. package/node_modules/lodash/wrapperLodash.js +147 -0
  1343. package/node_modules/lodash/wrapperReverse.js +44 -0
  1344. package/node_modules/lodash/wrapperValue.js +21 -0
  1345. package/node_modules/lodash/xor.js +28 -0
  1346. package/node_modules/lodash/xorBy.js +39 -0
  1347. package/node_modules/lodash/xorWith.js +34 -0
  1348. package/node_modules/lodash/zip.js +22 -0
  1349. package/node_modules/lodash/zipObject.js +24 -0
  1350. package/node_modules/lodash/zipObjectDeep.js +23 -0
  1351. package/node_modules/lodash/zipWith.js +32 -0
  1352. package/node_modules/loose-envify/LICENSE +21 -0
  1353. package/node_modules/loose-envify/README.md +45 -0
  1354. package/node_modules/loose-envify/cli.js +16 -0
  1355. package/node_modules/loose-envify/custom.js +4 -0
  1356. package/node_modules/loose-envify/index.js +3 -0
  1357. package/node_modules/loose-envify/loose-envify.js +36 -0
  1358. package/node_modules/loose-envify/package.json +36 -0
  1359. package/node_modules/loose-envify/replace.js +65 -0
  1360. package/node_modules/mimic-fn/index.d.ts +54 -0
  1361. package/node_modules/mimic-fn/index.js +13 -0
  1362. package/node_modules/mimic-fn/license +9 -0
  1363. package/node_modules/mimic-fn/package.json +42 -0
  1364. package/node_modules/mimic-fn/readme.md +69 -0
  1365. package/node_modules/object-assign/index.js +90 -0
  1366. package/node_modules/object-assign/license +21 -0
  1367. package/node_modules/object-assign/package.json +42 -0
  1368. package/node_modules/object-assign/readme.md +61 -0
  1369. package/node_modules/onetime/index.d.ts +64 -0
  1370. package/node_modules/onetime/index.js +44 -0
  1371. package/node_modules/onetime/license +9 -0
  1372. package/node_modules/onetime/package.json +43 -0
  1373. package/node_modules/onetime/readme.md +94 -0
  1374. package/node_modules/patch-console/build/index.d.ts +4 -0
  1375. package/node_modules/patch-console/build/index.js +42 -0
  1376. package/node_modules/patch-console/build/index.js.map +1 -0
  1377. package/node_modules/patch-console/package.json +56 -0
  1378. package/node_modules/patch-console/readme.md +62 -0
  1379. package/node_modules/react-devtools-core/README.md +131 -0
  1380. package/node_modules/react-devtools-core/backend.js +1 -0
  1381. package/node_modules/react-devtools-core/dist/backend.js +16888 -0
  1382. package/node_modules/react-devtools-core/dist/backend.js.map +1 -0
  1383. package/node_modules/react-devtools-core/dist/importFile.worker.worker.js +2 -0
  1384. package/node_modules/react-devtools-core/dist/importFile.worker.worker.js.map +1 -0
  1385. package/node_modules/react-devtools-core/dist/parseHookNames.chunk.js +2 -0
  1386. package/node_modules/react-devtools-core/dist/parseHookNames.chunk.js.map +1 -0
  1387. package/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js +2 -0
  1388. package/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js.map +1 -0
  1389. package/node_modules/react-devtools-core/dist/standalone.js +3 -0
  1390. package/node_modules/react-devtools-core/dist/standalone.js.LICENSE.txt +41 -0
  1391. package/node_modules/react-devtools-core/dist/standalone.js.map +1 -0
  1392. package/node_modules/react-devtools-core/package.json +38 -0
  1393. package/node_modules/react-devtools-core/standalone.js +1 -0
  1394. package/node_modules/restore-cursor/index.d.ts +13 -0
  1395. package/node_modules/restore-cursor/index.js +9 -0
  1396. package/node_modules/restore-cursor/license +9 -0
  1397. package/node_modules/restore-cursor/package.json +52 -0
  1398. package/node_modules/restore-cursor/readme.md +26 -0
  1399. package/node_modules/scheduler/LICENSE +21 -0
  1400. package/node_modules/scheduler/README.md +9 -0
  1401. package/node_modules/scheduler/build-info.json +8 -0
  1402. package/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
  1403. package/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
  1404. package/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
  1405. package/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
  1406. package/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
  1407. package/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
  1408. package/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
  1409. package/node_modules/scheduler/cjs/scheduler.development.js +646 -0
  1410. package/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
  1411. package/node_modules/scheduler/index.js +7 -0
  1412. package/node_modules/scheduler/package.json +40 -0
  1413. package/node_modules/scheduler/tracing-profiling.js +7 -0
  1414. package/node_modules/scheduler/tracing.js +7 -0
  1415. package/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
  1416. package/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
  1417. package/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
  1418. package/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
  1419. package/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
  1420. package/node_modules/scheduler/umd/scheduler.development.js +152 -0
  1421. package/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
  1422. package/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
  1423. package/node_modules/scheduler/unstable_mock.js +7 -0
  1424. package/node_modules/scheduler/unstable_post_task.js +7 -0
  1425. package/node_modules/shell-quote/.eslintrc +30 -0
  1426. package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
  1427. package/node_modules/shell-quote/.nycrc +14 -0
  1428. package/node_modules/shell-quote/LICENSE +24 -0
  1429. package/node_modules/shell-quote/README.md +161 -0
  1430. package/node_modules/shell-quote/index.js +4 -0
  1431. package/node_modules/shell-quote/package.json +72 -0
  1432. package/node_modules/shell-quote/parse.js +226 -0
  1433. package/node_modules/shell-quote/print.py +3 -0
  1434. package/node_modules/shell-quote/quote.js +19 -0
  1435. package/node_modules/shell-quote/security.md +11 -0
  1436. package/node_modules/shell-quote/test/comment.js +16 -0
  1437. package/node_modules/shell-quote/test/env.js +52 -0
  1438. package/node_modules/shell-quote/test/env_fn.js +21 -0
  1439. package/node_modules/shell-quote/test/op.js +102 -0
  1440. package/node_modules/shell-quote/test/parse.js +44 -0
  1441. package/node_modules/shell-quote/test/quote.js +60 -0
  1442. package/node_modules/shell-quote/test/set.js +31 -0
  1443. package/node_modules/signal-exit/LICENSE.txt +16 -0
  1444. package/node_modules/signal-exit/README.md +39 -0
  1445. package/node_modules/signal-exit/index.js +202 -0
  1446. package/node_modules/signal-exit/package.json +38 -0
  1447. package/node_modules/signal-exit/signals.js +53 -0
  1448. package/node_modules/slice-ansi/index.js +97 -0
  1449. package/node_modules/slice-ansi/license +9 -0
  1450. package/node_modules/slice-ansi/package.json +51 -0
  1451. package/node_modules/slice-ansi/readme.md +72 -0
  1452. package/node_modules/stack-utils/LICENSE.md +21 -0
  1453. package/node_modules/stack-utils/index.js +344 -0
  1454. package/node_modules/stack-utils/package.json +39 -0
  1455. package/node_modules/stack-utils/readme.md +143 -0
  1456. package/node_modules/string-width/index.d.ts +29 -0
  1457. package/node_modules/string-width/index.js +47 -0
  1458. package/node_modules/string-width/license +9 -0
  1459. package/node_modules/string-width/package.json +56 -0
  1460. package/node_modules/string-width/readme.md +50 -0
  1461. package/node_modules/strip-ansi/index.d.ts +17 -0
  1462. package/node_modules/strip-ansi/index.js +4 -0
  1463. package/node_modules/strip-ansi/license +9 -0
  1464. package/node_modules/strip-ansi/package.json +54 -0
  1465. package/node_modules/strip-ansi/readme.md +46 -0
  1466. package/node_modules/supports-color/browser.js +5 -0
  1467. package/node_modules/supports-color/index.js +135 -0
  1468. package/node_modules/supports-color/license +9 -0
  1469. package/node_modules/supports-color/package.json +53 -0
  1470. package/node_modules/supports-color/readme.md +76 -0
  1471. package/node_modules/type-fest/index.d.ts +27 -0
  1472. package/node_modules/type-fest/license +9 -0
  1473. package/node_modules/type-fest/package.json +49 -0
  1474. package/node_modules/type-fest/readme.md +640 -0
  1475. package/node_modules/type-fest/source/async-return-type.d.ts +23 -0
  1476. package/node_modules/type-fest/source/basic.d.ts +67 -0
  1477. package/node_modules/type-fest/source/conditional-except.d.ts +43 -0
  1478. package/node_modules/type-fest/source/conditional-keys.d.ts +43 -0
  1479. package/node_modules/type-fest/source/conditional-pick.d.ts +42 -0
  1480. package/node_modules/type-fest/source/except.d.ts +22 -0
  1481. package/node_modules/type-fest/source/literal-union.d.ts +33 -0
  1482. package/node_modules/type-fest/source/merge-exclusive.d.ts +39 -0
  1483. package/node_modules/type-fest/source/merge.d.ts +22 -0
  1484. package/node_modules/type-fest/source/mutable.d.ts +22 -0
  1485. package/node_modules/type-fest/source/opaque.d.ts +65 -0
  1486. package/node_modules/type-fest/source/package-json.d.ts +585 -0
  1487. package/node_modules/type-fest/source/partial-deep.d.ts +72 -0
  1488. package/node_modules/type-fest/source/promisable.d.ts +23 -0
  1489. package/node_modules/type-fest/source/promise-value.d.ts +20 -0
  1490. package/node_modules/type-fest/source/readonly-deep.d.ts +59 -0
  1491. package/node_modules/type-fest/source/require-at-least-one.d.ts +32 -0
  1492. package/node_modules/type-fest/source/require-exactly-one.d.ts +35 -0
  1493. package/node_modules/type-fest/source/set-optional.d.ts +34 -0
  1494. package/node_modules/type-fest/source/set-required.d.ts +34 -0
  1495. package/node_modules/type-fest/source/tsconfig-json.d.ts +872 -0
  1496. package/node_modules/type-fest/source/union-to-intersection.d.ts +58 -0
  1497. package/node_modules/widest-line/index.d.ts +21 -0
  1498. package/node_modules/widest-line/index.js +16 -0
  1499. package/node_modules/widest-line/license +9 -0
  1500. package/node_modules/widest-line/package.json +54 -0
  1501. package/node_modules/widest-line/readme.md +34 -0
  1502. package/node_modules/wrap-ansi/index.js +186 -0
  1503. package/node_modules/wrap-ansi/license +9 -0
  1504. package/node_modules/wrap-ansi/package.json +61 -0
  1505. package/node_modules/wrap-ansi/readme.md +97 -0
  1506. package/node_modules/ws/LICENSE +21 -0
  1507. package/node_modules/ws/README.md +495 -0
  1508. package/node_modules/ws/browser.js +8 -0
  1509. package/node_modules/ws/index.js +10 -0
  1510. package/node_modules/ws/lib/buffer-util.js +129 -0
  1511. package/node_modules/ws/lib/constants.js +10 -0
  1512. package/node_modules/ws/lib/event-target.js +184 -0
  1513. package/node_modules/ws/lib/extension.js +223 -0
  1514. package/node_modules/ws/lib/limiter.js +55 -0
  1515. package/node_modules/ws/lib/permessage-deflate.js +518 -0
  1516. package/node_modules/ws/lib/receiver.js +607 -0
  1517. package/node_modules/ws/lib/sender.js +409 -0
  1518. package/node_modules/ws/lib/stream.js +180 -0
  1519. package/node_modules/ws/lib/validation.js +104 -0
  1520. package/node_modules/ws/lib/websocket-server.js +449 -0
  1521. package/node_modules/ws/lib/websocket.js +1197 -0
  1522. package/node_modules/ws/package.json +56 -0
  1523. package/node_modules/yoga-layout-prebuilt/index.d.ts +3 -0
  1524. package/node_modules/yoga-layout-prebuilt/license +9 -0
  1525. package/node_modules/yoga-layout-prebuilt/package.json +42 -0
  1526. package/node_modules/yoga-layout-prebuilt/readme.md +23 -0
  1527. package/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js +9820 -0
  1528. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/YGEnums.js +110 -0
  1529. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/YGEnums.js.flow +175 -0
  1530. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-browser.js +40 -0
  1531. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-browser.js.flow +56 -0
  1532. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-common.js +247 -0
  1533. package/node_modules/yoga-layout-prebuilt/yoga-layout/dist/entry-common.js.flow +360 -0
  1534. package/package.json +8 -4
@@ -0,0 +1,1810 @@
1
+ <h1 align="center">
2
+ <br>
3
+ <br>
4
+ <img width="200" alt="Ink" src="media/logo.png">
5
+ <br>
6
+ <br>
7
+ <br>
8
+ </h1>
9
+
10
+ > React for CLIs. Build and test your CLI output using components.
11
+
12
+ [![Build Status](https://github.com/vadimdemedes/ink/workflows/test/badge.svg)](https://github.com/vadimdemedes/ink/actions)
13
+ [![npm](https://img.shields.io/npm/dm/ink?logo=npm)](https://npmjs.com/package/ink)
14
+
15
+ Ink provides the same component-based UI building experience that React offers in the browser, but for command-line apps.
16
+ It uses [Yoga](https://github.com/facebook/yoga) to build Flexbox layouts in the terminal, so most CSS-like props are available in Ink as well.
17
+ If you are already familiar with React, you already know Ink.
18
+
19
+ Since Ink is a React renderer, it means that all features of React are supported.
20
+ Head over to [React](https://reactjs.org) website for documentation on how to use it.
21
+ Only Ink's methods will be documented in this readme.
22
+
23
+ **Note:** This is documentation for Ink 3. If you're looking for docs on Ink 2, check out [this release](https://github.com/vadimdemedes/ink/tree/v2.7.1). There's also a [migration guide](migrate.md) from Ink 2 available.
24
+
25
+ ## Install
26
+
27
+ ```
28
+ $ npm install ink react
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```jsx
34
+ import React, {useState, useEffect} from 'react';
35
+ import {render, Text} from 'ink';
36
+
37
+ const Counter = () => {
38
+ const [counter, setCounter] = useState(0);
39
+
40
+ useEffect(() => {
41
+ const timer = setInterval(() => {
42
+ setCounter(previousCounter => previousCounter + 1);
43
+ }, 100);
44
+
45
+ return () => {
46
+ clearInterval(timer);
47
+ };
48
+ }, []);
49
+
50
+ return <Text color="green">{counter} tests passed</Text>;
51
+ };
52
+
53
+ render(<Counter />);
54
+ ```
55
+
56
+ <img src="media/demo.svg" width="600">
57
+
58
+ You can also check it out live on [repl.it sandbox](https://ink-counter-demo.vadimdemedes.repl.run/).
59
+ Feel free to play around with the code and fork this repl at [https://repl.it/@vadimdemedes/ink-counter-demo](https://repl.it/@vadimdemedes/ink-counter-demo).
60
+
61
+ ## Who's Using Ink?
62
+
63
+ - [Gatsby](https://www.gatsbyjs.org) - Gatsby is a modern web framework for blazing fast websites.
64
+ - [tap](https://node-tap.org) - A Test-Anything-Protocol library for JavaScript.
65
+ - [Terraform CDK](https://github.com/hashicorp/terraform-cdk) - CDK (Cloud Development Kit) for HashiCorp Terraform.
66
+ - [Twilio's SIGNAL](https://github.com/twilio-labs/plugin-signal2020) - CLI for Twilio's SIGNAL conference. [Blog post](https://www.twilio.com/blog/building-conference-cli-in-react).
67
+ - [Typewriter](https://github.com/segmentio/typewriter) - Generates strongly-typed [Segment](https://segment.com) analytics clients from arbitrary JSON Schema.
68
+ - [Prisma](https://www.prisma.io) - The unified data layer for modern applications.
69
+ - [Wallace](https://www.projectwallace.com) - Pretty CSS analytics on the CLI.
70
+ - [Blitz](https://blitzjs.com) - The Fullstack React Framework.
71
+ - [New York Times](https://github.com/nytimes/kyt) - NYT uses Ink `kyt` - a toolkit that encapsulates and manages the configuration for web apps.
72
+ - [tink](https://github.com/npm/tink) - Next-generation runtime and package manager.
73
+ - [loki](https://github.com/oblador/loki) - Visual Regression Testing for Storybook.
74
+ - [Bit](https://github.com/teambit/bit) - Build, distribute and collaborate on components.
75
+ - [Remirror](https://github.com/remirror/remirror) - Your friendly, world-class editor toolkit.
76
+ - [Prime](https://github.com/birkir/prime) - Open source GraphQL CMS.
77
+ - [Splash](https://github.com/Shopify/polaris-react/tree/master/scripts/splash) - Observe the splash zone of a change across the Shopify's [Polaris](https://polaris.shopify.com) component library.
78
+ - [emoj](https://github.com/sindresorhus/emoj) - Find relevant emoji on the command-line.
79
+ - [emma](https://github.com/maticzav/emma-cli) - Terminal assistant to find and install npm packages.
80
+ - [swiff](https://github.com/simple-integrated-marketing/swiff) - Multi-environment command line tools for time-saving web developers.
81
+ - [share](https://github.com/marionebl/share-cli) - Quickly share files from your command line.
82
+ - [Kubelive](https://github.com/ameerthehacker/kubelive) - CLI for Kubernetes to provide live data about the cluster and its resources.
83
+ - [changelog-view](https://github.com/jdeniau/changelog-view) - Tool view changelog in console.
84
+ - [cfpush](https://github.com/mamachanko/cfpush) - An interactive Cloud Foundry tutorial in your terminal.
85
+ - [startd](https://github.com/mgrip/startd) - Turn your React component into a web app from the command-line.
86
+ - [wiki-cli](https://github.com/hexrcs/wiki-cli) - Search Wikipedia and read summaries directly in your terminal.
87
+ - [garson](https://github.com/goliney/garson) - Build interactive config-based command-line interfaces.
88
+ - [git-contrib-calendar](https://github.com/giannisp/git-contrib-calendar) - Display a contributions calendar for any git repository.
89
+ - [gitgud](https://github.com/GitGud-org/GitGud) - An interactive command-line GUI for Git.
90
+ - [Autarky](https://github.com/pranshuchittora/autarky) - An interactive CLI to find and delete old `node_modules` directories in order to free up disk space.
91
+ - [fast-cli](https://github.com/sindresorhus/fast-cli) - Test your download and upload speed.
92
+ - [tasuku](https://github.com/privatenumber/tasuku) - Minimal task runner.
93
+
94
+ ## Contents
95
+
96
+ - [Getting Started](#getting-started)
97
+ - [Components](#components)
98
+ - [`<Text>`](#text)
99
+ - [`<Box>`](#box)
100
+ - [`<Newline>`](#newline)
101
+ - [`<Spacer>`](#spacer)
102
+ - [`<Static>`](#static)
103
+ - [`<Transform>`](#transform)
104
+ - [Hooks](#hooks)
105
+ - [`useInput`](#useinputinputhandler-options)
106
+ - [`useApp`](#useapp)
107
+ - [`useStdin`](#usestdin)
108
+ - [`useStdout`](#usestdout)
109
+ - [`useStderr`](#usestderr)
110
+ - [`useFocus`](#usefocusoptions)
111
+ - [`useFocusManager`](#usefocusmanager)
112
+ - [API](#api)
113
+ - [Testing](#testing)
114
+ - [Using React Devtools](#using-react-devtools)
115
+ - [Useful Components](#useful-components)
116
+ - [Useful Hooks](#useful-hooks)
117
+ - [Examples](#examples)
118
+
119
+ ## Getting Started
120
+
121
+ Use [create-ink-app](https://github.com/vadimdemedes/create-ink-app) to quickly scaffold a new Ink-based CLI.
122
+
123
+ ```
124
+ $ mkdir my-ink-cli
125
+ $ cd my-ink-cli
126
+ $ npx create-ink-app
127
+ ```
128
+
129
+ Alternatively, create a TypeScript project:
130
+
131
+ ```
132
+ $ npx create-ink-app --typescript
133
+ ```
134
+
135
+ <details><summary>Manual setup</summary>
136
+ <p>
137
+ Ink requires the same Babel setup as you would do for regular React-based apps in the browser.
138
+
139
+ Set up Babel with a React preset to ensure all examples in this readme work as expected.
140
+ After [installing Babel](https://babeljs.io/docs/en/usage), install `@babel/preset-react` and insert the following configuration in `babel.config.json`:
141
+
142
+ ```
143
+ $ npm install --save-dev @babel/preset-react
144
+ ```
145
+
146
+ ```json
147
+ {
148
+ "presets": [
149
+ "@babel/preset-react",
150
+ [
151
+ "@babel/preset-env",
152
+ {
153
+ "targets": {
154
+ "node": true
155
+ }
156
+ }
157
+ ]
158
+ ]
159
+ }
160
+ ```
161
+
162
+ Next, create a file `source.js`, where you'll type code that uses Ink:
163
+
164
+ ```jsx
165
+ import React from 'react';
166
+ import {render, Text} from 'ink';
167
+
168
+ const Demo = () => <Text>Hello World</Text>;
169
+
170
+ render(<Demo />);
171
+ ```
172
+
173
+ Then, transpile this file with Babel:
174
+
175
+ ```
176
+ $ npx babel source.js -o cli.js
177
+ ```
178
+
179
+ Now you can run `cli.js` with Node.js:
180
+
181
+ ```
182
+ $ node cli
183
+ ```
184
+
185
+ If you don't like transpiling files during development, you can use [import-jsx](https://github.com/vadimdemedes/import-jsx) to `require()` a JSX file and transpile it on the fly.
186
+
187
+ </p>
188
+ </details>
189
+
190
+ Ink uses [Yoga](https://github.com/facebook/yoga) - a Flexbox layout engine to build great user interfaces for your CLIs using familiar CSS-like props you've used when building apps for the browser.
191
+ It's important to remember that each element is a Flexbox container.
192
+ Think of it as if each `<div>` in the browser had `display: flex`.
193
+ See [`<Box>`](#box) built-in component below for documentation on how to use Flexbox layouts in Ink.
194
+ Note that all text must be wrapped in a [`<Text>`](#text) component.
195
+
196
+ ## Components
197
+
198
+ ### `<Text>`
199
+
200
+ This component can display text, and change its style to make it bold, underline, italic or strikethrough.
201
+
202
+ ```jsx
203
+ import {render, Text} from 'ink';
204
+
205
+ const Example = () => (
206
+ <>
207
+ <Text color="green">I am green</Text>
208
+ <Text color="black" backgroundColor="white">
209
+ I am black on white
210
+ </Text>
211
+ <Text color="#ffffff">I am white</Text>
212
+ <Text bold>I am bold</Text>
213
+ <Text italic>I am italic</Text>
214
+ <Text underline>I am underline</Text>
215
+ <Text strikethrough>I am strikethrough</Text>
216
+ <Text inverse>I am inversed</Text>
217
+ </>
218
+ );
219
+
220
+ render(<Example />);
221
+ ```
222
+
223
+ **Note:** `<Text>` allows only text nodes and nested `<Text>` components inside of it. For example, `<Box>` component can't be used inside `<Text>`.
224
+
225
+ #### color
226
+
227
+ Type: `string`
228
+
229
+ Change text color.
230
+ Ink uses [chalk](https://github.com/chalk/chalk) under the hood, so all its functionality is supported.
231
+
232
+ ```jsx
233
+ <Text color="green">Green</Text>
234
+ <Text color="#005cc5">Blue</Text>
235
+ <Text color="rgb(232, 131, 136)">Red</Text>
236
+ ```
237
+
238
+ <img src="media/text-color.jpg" width="247">
239
+
240
+ #### backgroundColor
241
+
242
+ Type: `string`
243
+
244
+ Same as `color` above, but for background.
245
+
246
+ ```jsx
247
+ <Text backgroundColor="green" color="white">Green</Text>
248
+ <Text backgroundColor="#005cc5" color="white">Blue</Text>
249
+ <Text backgroundColor="rgb(232, 131, 136)" color="white">Red</Text>
250
+ ```
251
+
252
+ <img src="media/text-backgroundColor.jpg" width="226">
253
+
254
+ #### dimColor
255
+
256
+ Type: `boolean`\
257
+ Default: `false`
258
+
259
+ Dim the color (emit a small amount of light).
260
+
261
+ ```jsx
262
+ <Text color="red" dimColor>
263
+ Dimmed Red
264
+ </Text>
265
+ ```
266
+
267
+ <img src="media/text-dimColor.jpg" width="138">
268
+
269
+ #### bold
270
+
271
+ Type: `boolean`\
272
+ Default: `false`
273
+
274
+ Make the text bold.
275
+
276
+ #### italic
277
+
278
+ Type: `boolean`\
279
+ Default: `false`
280
+
281
+ Make the text italic.
282
+
283
+ #### underline
284
+
285
+ Type: `boolean`\
286
+ Default: `false`
287
+
288
+ Make the text underlined.
289
+
290
+ #### strikethrough
291
+
292
+ Type: `boolean`\
293
+ Default: `false`
294
+
295
+ Make the text crossed with a line.
296
+
297
+ #### inverse
298
+
299
+ Type: `boolean`\
300
+ Default: `false`
301
+
302
+ Inverse background and foreground colors.
303
+
304
+ ```jsx
305
+ <Text inverse color="yellow">
306
+ Inversed Yellow
307
+ </Text>
308
+ ```
309
+
310
+ <img src="media/text-inverse.jpg" width="138">
311
+
312
+ #### wrap
313
+
314
+ Type: `string`\
315
+ Allowed values: `wrap` `truncate` `truncate-start` `truncate-middle` `truncate-end`\
316
+ Default: `wrap`
317
+
318
+ This property tells Ink to wrap or truncate text if its width is larger than container.
319
+ If `wrap` is passed (by default), Ink will wrap text and split it into multiple lines.
320
+ If `truncate-*` is passed, Ink will truncate text instead, which will result in one line of text with the rest cut off.
321
+
322
+ ```jsx
323
+ <Box width={7}>
324
+ <Text>Hello World</Text>
325
+ </Box>
326
+ //=> 'Hello\nWorld'
327
+
328
+ // `truncate` is an alias to `truncate-end`
329
+ <Box width={7}>
330
+ <Text wrap="truncate">Hello World</Text>
331
+ </Box>
332
+ //=> 'Hello…'
333
+
334
+ <Box width={7}>
335
+ <Text wrap="truncate-middle">Hello World</Text>
336
+ </Box>
337
+ //=> 'He…ld'
338
+
339
+ <Box width={7}>
340
+ <Text wrap="truncate-start">Hello World</Text>
341
+ </Box>
342
+ //=> '…World'
343
+ ```
344
+
345
+ ### `<Box>`
346
+
347
+ `<Box>` is an essential Ink component to build your layout.
348
+ It's like `<div style="display: flex">` in the browser.
349
+
350
+ ```jsx
351
+ import {render, Box, Text} from 'ink';
352
+
353
+ const Example = () => (
354
+ <Box margin={2}>
355
+ <Text>This is a box with margin</Text>
356
+ </Box>
357
+ );
358
+
359
+ render(<Example />);
360
+ ```
361
+
362
+ #### Dimensions
363
+
364
+ ##### width
365
+
366
+ Type: `number` `string`
367
+
368
+ Width of the element in spaces.
369
+ You can also set it in percent, which will calculate the width based on the width of parent element.
370
+
371
+ ```jsx
372
+ <Box width={4}>
373
+ <Text>X</Text>
374
+ </Box>
375
+ //=> 'X '
376
+ ```
377
+
378
+ ```jsx
379
+ <Box width={10}>
380
+ <Box width="50%">
381
+ <Text>X</Text>
382
+ </Box>
383
+ <Text>Y</Text>
384
+ </Box>
385
+ //=> 'X Y'
386
+ ```
387
+
388
+ ##### height
389
+
390
+ Type: `number` `string`
391
+
392
+ Height of the element in lines (rows).
393
+ You can also set it in percent, which will calculate the height based on the height of parent element.
394
+
395
+ ```jsx
396
+ <Box height={4}>
397
+ <Text>X</Text>
398
+ </Box>
399
+ //=> 'X\n\n\n'
400
+ ```
401
+
402
+ ```jsx
403
+ <Box height={6} flexDirection="column">
404
+ <Box height="50%">
405
+ <Text>X</Text>
406
+ </Box>
407
+ <Text>Y</Text>
408
+ </Box>
409
+ //=> 'X\n\n\nY\n\n'
410
+ ```
411
+
412
+ ##### minWidth
413
+
414
+ Type: `number`
415
+
416
+ Sets a minimum width of the element.
417
+ Percentages aren't supported yet, see https://github.com/facebook/yoga/issues/872.
418
+
419
+ ##### minHeight
420
+
421
+ Type: `number`
422
+
423
+ Sets a minimum height of the element.
424
+ Percentages aren't supported yet, see https://github.com/facebook/yoga/issues/872.
425
+
426
+ #### Padding
427
+
428
+ ##### paddingTop
429
+
430
+ Type: `number`\
431
+ Default: `0`
432
+
433
+ Top padding.
434
+
435
+ ##### paddingBottom
436
+
437
+ Type: `number`\
438
+ Default: `0`
439
+
440
+ Bottom padding.
441
+
442
+ ##### paddingLeft
443
+
444
+ Type: `number`\
445
+ Default: `0`
446
+
447
+ Left padding.
448
+
449
+ ##### paddingRight
450
+
451
+ Type: `number`\
452
+ Default: `0`
453
+
454
+ Right padding.
455
+
456
+ ##### paddingX
457
+
458
+ Type: `number`\
459
+ Default: `0`
460
+
461
+ Horizontal padding. Equivalent to setting `paddingLeft` and `paddingRight`.
462
+
463
+ ##### paddingY
464
+
465
+ Type: `number`\
466
+ Default: `0`
467
+
468
+ Vertical padding. Equivalent to setting `paddingTop` and `paddingBottom`.
469
+
470
+ ##### padding
471
+
472
+ Type: `number`\
473
+ Default: `0`
474
+
475
+ Padding on all sides. Equivalent to setting `paddingTop`, `paddingBottom`, `paddingLeft` and `paddingRight`.
476
+
477
+ ```jsx
478
+ <Box paddingTop={2}>Top</Box>
479
+ <Box paddingBottom={2}>Bottom</Box>
480
+ <Box paddingLeft={2}>Left</Box>
481
+ <Box paddingRight={2}>Right</Box>
482
+ <Box paddingX={2}>Left and right</Box>
483
+ <Box paddingY={2}>Top and bottom</Box>
484
+ <Box padding={2}>Top, bottom, left and right</Box>
485
+ ```
486
+
487
+ #### Margin
488
+
489
+ ##### marginTop
490
+
491
+ Type: `number`\
492
+ Default: `0`
493
+
494
+ Top margin.
495
+
496
+ ##### marginBottom
497
+
498
+ Type: `number`\
499
+ Default: `0`
500
+
501
+ Bottom margin.
502
+
503
+ ##### marginLeft
504
+
505
+ Type: `number`\
506
+ Default: `0`
507
+
508
+ Left margin.
509
+
510
+ ##### marginRight
511
+
512
+ Type: `number`\
513
+ Default: `0`
514
+
515
+ Right margin.
516
+
517
+ ##### marginX
518
+
519
+ Type: `number`\
520
+ Default: `0`
521
+
522
+ Horizontal margin. Equivalent to setting `marginLeft` and `marginRight`.
523
+
524
+ ##### marginY
525
+
526
+ Type: `number`\
527
+ Default: `0`
528
+
529
+ Vertical margin. Equivalent to setting `marginTop` and `marginBottom`.
530
+
531
+ ##### margin
532
+
533
+ Type: `number`\
534
+ Default: `0`
535
+
536
+ Margin on all sides. Equivalent to setting `marginTop`, `marginBottom`, `marginLeft` and `marginRight`.
537
+
538
+ ```jsx
539
+ <Box marginTop={2}>Top</Box>
540
+ <Box marginBottom={2}>Bottom</Box>
541
+ <Box marginLeft={2}>Left</Box>
542
+ <Box marginRight={2}>Right</Box>
543
+ <Box marginX={2}>Left and right</Box>
544
+ <Box marginY={2}>Top and bottom</Box>
545
+ <Box margin={2}>Top, bottom, left and right</Box>
546
+ ```
547
+
548
+ #### Flex
549
+
550
+ ##### flexGrow
551
+
552
+ Type: `number`\
553
+ Default: `0`
554
+
555
+ See [flex-grow](https://css-tricks.com/almanac/properties/f/flex-grow/).
556
+
557
+ ```jsx
558
+ <Box>
559
+ <Text>Label:</Text>
560
+ <Box flexGrow={1}>
561
+ <Text>Fills all remaining space</Text>
562
+ </Box>
563
+ </Box>
564
+ ```
565
+
566
+ ##### flexShrink
567
+
568
+ Type: `number`\
569
+ Default: `1`
570
+
571
+ See [flex-shrink](https://css-tricks.com/almanac/properties/f/flex-shrink/).
572
+
573
+ ```jsx
574
+ <Box width={20}>
575
+ <Box flexShrink={2} width={10}>
576
+ <Text>Will be 1/4</Text>
577
+ </Box>
578
+ <Box width={10}>
579
+ <Text>Will be 3/4</Text>
580
+ </Box>
581
+ </Box>
582
+ ```
583
+
584
+ ##### flexBasis
585
+
586
+ Type: `number` `string`
587
+
588
+ See [flex-basis](https://css-tricks.com/almanac/properties/f/flex-basis/).
589
+
590
+ ```jsx
591
+ <Box width={6}>
592
+ <Box flexBasis={3}>
593
+ <Text>X</Text>
594
+ </Box>
595
+ <Text>Y</Text>
596
+ </Box>
597
+ //=> 'X Y'
598
+ ```
599
+
600
+ ```jsx
601
+ <Box width={6}>
602
+ <Box flexBasis="50%">
603
+ <Text>X</Text>
604
+ </Box>
605
+ <Text>Y</Text>
606
+ </Box>
607
+ //=> 'X Y'
608
+ ```
609
+
610
+ ##### flexDirection
611
+
612
+ Type: `string`\
613
+ Allowed values: `row` `row-reverse` `column` `column-reverse`
614
+
615
+ See [flex-direction](https://css-tricks.com/almanac/properties/f/flex-direction/).
616
+
617
+ ```jsx
618
+ <Box>
619
+ <Box marginRight={1}>
620
+ <Text>X</Text>
621
+ </Box>
622
+ <Text>Y</Text>
623
+ </Box>
624
+ // X Y
625
+
626
+ <Box flexDirection="row-reverse">
627
+ <Text>X</Text>
628
+ <Box marginRight={1}>
629
+ <Text>Y</Text>
630
+ </Box>
631
+ </Box>
632
+ // Y X
633
+
634
+ <Box flexDirection="column">
635
+ <Text>X</Text>
636
+ <Text>Y</Text>
637
+ </Box>
638
+ // X
639
+ // Y
640
+
641
+ <Box flexDirection="column-reverse">
642
+ <Text>X</Text>
643
+ <Text>Y</Text>
644
+ </Box>
645
+ // Y
646
+ // X
647
+ ```
648
+
649
+ ##### alignItems
650
+
651
+ Type: `string`\
652
+ Allowed values: `flex-start` `center` `flex-end`
653
+
654
+ See [align-items](https://css-tricks.com/almanac/properties/a/align-items/).
655
+
656
+ ```jsx
657
+ <Box alignItems="flex-start">
658
+ <Box marginRight={1}>
659
+ <Text>X</Text>
660
+ </Box>
661
+ <Text>
662
+ A
663
+ <Newline/>
664
+ B
665
+ <Newline/>
666
+ C
667
+ </Text>
668
+ </Box>
669
+ // X A
670
+ // B
671
+ // C
672
+
673
+ <Box alignItems="center">
674
+ <Box marginRight={1}>
675
+ <Text>X</Text>
676
+ </Box>
677
+ <Text>
678
+ A
679
+ <Newline/>
680
+ B
681
+ <Newline/>
682
+ C
683
+ </Text>
684
+ </Box>
685
+ // A
686
+ // X B
687
+ // C
688
+
689
+ <Box alignItems="flex-end">
690
+ <Box marginRight={1}>
691
+ <Text>X</Text>
692
+ </Box>
693
+ <Text>
694
+ A
695
+ <Newline/>
696
+ B
697
+ <Newline/>
698
+ C
699
+ </Text>
700
+ </Box>
701
+ // A
702
+ // B
703
+ // X C
704
+ ```
705
+
706
+ ##### alignSelf
707
+
708
+ Type: `string`\
709
+ Default: `auto`\
710
+ Allowed vales: `auto` `flex-start` `center` `flex-end`
711
+
712
+ See [align-self](https://css-tricks.com/almanac/properties/a/align-self/).
713
+
714
+ ```jsx
715
+ <Box height={3}>
716
+ <Box alignSelf="flex-start">
717
+ <Text>X</Text>
718
+ </Box>
719
+ </Box>
720
+ // X
721
+ //
722
+ //
723
+
724
+ <Box height={3}>
725
+ <Box alignSelf="center">
726
+ <Text>X</Text>
727
+ </Box>
728
+ </Box>
729
+ //
730
+ // X
731
+ //
732
+
733
+ <Box height={3}>
734
+ <Box alignSelf="flex-end">
735
+ <Text>X</Text>
736
+ </Box>
737
+ </Box>
738
+ //
739
+ //
740
+ // X
741
+ ```
742
+
743
+ ##### justifyContent
744
+
745
+ Type: `string`\
746
+ Allowed values: `flex-start` `center` `flex-end` `space-between` `space-around`
747
+
748
+ See [justify-content](https://css-tricks.com/almanac/properties/j/justify-content/).
749
+
750
+ ```jsx
751
+ <Box justifyContent="flex-start">
752
+ <Text>X</Text>
753
+ </Box>
754
+ // [X ]
755
+
756
+ <Box justifyContent="center">
757
+ <Text>X</Text>
758
+ </Box>
759
+ // [ X ]
760
+
761
+ <Box justifyContent="flex-end">
762
+ <Text>X</Text>
763
+ </Box>
764
+ // [ X]
765
+
766
+ <Box justifyContent="space-between">
767
+ <Text>X</Text>
768
+ <Text>Y</Text>
769
+ </Box>
770
+ // [X Y]
771
+
772
+ <Box justifyContent="space-around">
773
+ <Text>X</Text>
774
+ <Text>Y</Text>
775
+ </Box>
776
+ // [ X Y ]
777
+ ```
778
+
779
+ #### Visibility
780
+
781
+ ##### display
782
+
783
+ Type: `string`\
784
+ Allowed values: `flex` `none`\
785
+ Default: `flex`
786
+
787
+ Set this property to `none` to hide the element.
788
+
789
+ #### Borders
790
+
791
+ ##### borderStyle
792
+
793
+ Type: `string`\
794
+ Allowed values: `single` `double` `round` `bold` `singleDouble` `doubleSingle` `classic`
795
+
796
+ Add a border with a specified style.
797
+ If `borderStyle` is `undefined` (which it is by default), no border will be added.
798
+ Ink uses border styles from [`cli-boxes`](https://github.com/sindresorhus/cli-boxes) module.
799
+
800
+ ```jsx
801
+ <Box flexDirection="column">
802
+ <Box>
803
+ <Box borderStyle="single" marginRight={2}>
804
+ <Text>single</Text>
805
+ </Box>
806
+
807
+ <Box borderStyle="double" marginRight={2}>
808
+ <Text>double</Text>
809
+ </Box>
810
+
811
+ <Box borderStyle="round" marginRight={2}>
812
+ <Text>round</Text>
813
+ </Box>
814
+
815
+ <Box borderStyle="bold">
816
+ <Text>bold</Text>
817
+ </Box>
818
+ </Box>
819
+
820
+ <Box marginTop={1}>
821
+ <Box borderStyle="singleDouble" marginRight={2}>
822
+ <Text>singleDouble</Text>
823
+ </Box>
824
+
825
+ <Box borderStyle="doubleSingle" marginRight={2}>
826
+ <Text>doubleSingle</Text>
827
+ </Box>
828
+
829
+ <Box borderStyle="classic">
830
+ <Text>classic</Text>
831
+ </Box>
832
+ </Box>
833
+ </Box>
834
+ ```
835
+
836
+ <img src="media/box-borderStyle.jpg" width="521">
837
+
838
+ See example in [examples/borders](examples/borders/borders.js).
839
+
840
+ ##### borderColor
841
+
842
+ Type: `string`
843
+
844
+ Change border color.
845
+ Accepts the same values as [`color`](#color) in `<Text>` component.
846
+
847
+ ```jsx
848
+ <Box borderStyle="round" borderColor="green">
849
+ <Text>Green Rounded Box</Text>
850
+ </Box>
851
+ ```
852
+
853
+ <img src="media/box-borderColor.jpg" width="228">
854
+
855
+ ### `<Newline>`
856
+
857
+ Adds one or more newline (`\n`) characters.
858
+ Must be used within `<Text>` components.
859
+
860
+ #### count
861
+
862
+ Type: `number`\
863
+ Default: `1`
864
+
865
+ Number of newlines to insert.
866
+
867
+ ```jsx
868
+ import {render, Text, Newline} from 'ink';
869
+
870
+ const Example = () => (
871
+ <Text>
872
+ <Text color="green">Hello</Text>
873
+ <Newline />
874
+ <Text color="red">World</Text>
875
+ </Text>
876
+ );
877
+
878
+ render(<Example />);
879
+ ```
880
+
881
+ Output:
882
+
883
+ ```
884
+ Hello
885
+ World
886
+ ```
887
+
888
+ ### `<Spacer>`
889
+
890
+ A flexible space that expands along the major axis of its containing layout.
891
+ It's useful as a shortcut for filling all the available spaces between elements.
892
+
893
+ For example, using `<Spacer>` in a `<Box>` with default flex direction (`row`) will position "Left" on the left side and will push "Right" to the right side.
894
+
895
+ ```jsx
896
+ import {render, Box, Text, Spacer} from 'ink';
897
+
898
+ const Example = () => (
899
+ <Box>
900
+ <Text>Left</Text>
901
+ <Spacer />
902
+ <Text>Right</Text>
903
+ </Box>
904
+ );
905
+
906
+ render(<Example />);
907
+ ```
908
+
909
+ In a vertical flex direction (`column`), it will position "Top" to the top of the container and push "Bottom" to the bottom of it.
910
+ Note, that container needs to be tall to enough to see this in effect.
911
+
912
+ ```jsx
913
+ import {render, Box, Text, Spacer} from 'ink';
914
+
915
+ const Example = () => (
916
+ <Box flexDirection="column" height={10}>
917
+ <Text>Top</Text>
918
+ <Spacer />
919
+ <Text>Bottom</Text>
920
+ </Box>
921
+ );
922
+
923
+ render(<Example />);
924
+ ```
925
+
926
+ ### `<Static>`
927
+
928
+ `<Static>` component permanently renders its output above everything else.
929
+ It's useful for displaying activity like completed tasks or logs - things that
930
+ are not changing after they're rendered (hence the name "Static").
931
+
932
+ It's preferred to use `<Static>` for use cases like these, when you can't know
933
+ or control the amount of items that need to be rendered.
934
+
935
+ For example, [Tap](https://github.com/tapjs/node-tap) uses `<Static>` to display
936
+ a list of completed tests. [Gatsby](https://github.com/gatsbyjs/gatsby) uses it
937
+ to display a list of generated pages, while still displaying a live progress bar.
938
+
939
+ ```jsx
940
+ import React, {useState, useEffect} from 'react';
941
+ import {render, Static, Box, Text} from 'ink';
942
+
943
+ const Example = () => {
944
+ const [tests, setTests] = useState([]);
945
+
946
+ useEffect(() => {
947
+ let completedTests = 0;
948
+ let timer;
949
+
950
+ const run = () => {
951
+ // Fake 10 completed tests
952
+ if (completedTests++ < 10) {
953
+ setTests(previousTests => [
954
+ ...previousTests,
955
+ {
956
+ id: previousTests.length,
957
+ title: `Test #${previousTests.length + 1}`
958
+ }
959
+ ]);
960
+
961
+ setTimeout(run, 100);
962
+ }
963
+ };
964
+
965
+ run();
966
+
967
+ return () => {
968
+ clearTimeout(timer);
969
+ };
970
+ }, []);
971
+
972
+ return (
973
+ <>
974
+ {/* This part will be rendered once to the terminal */}
975
+ <Static items={tests}>
976
+ {test => (
977
+ <Box key={test.id}>
978
+ <Text color="green">✔ {test.title}</Text>
979
+ </Box>
980
+ )}
981
+ </Static>
982
+
983
+ {/* This part keeps updating as state changes */}
984
+ <Box marginTop={1}>
985
+ <Text dimColor>Completed tests: {tests.length}</Text>
986
+ </Box>
987
+ </>
988
+ );
989
+ };
990
+
991
+ render(<Example />);
992
+ ```
993
+
994
+ **Note:** `<Static>` only renders new items in `items` prop and ignores items
995
+ that were previously rendered. This means that when you add new items to `items`
996
+ array, changes you make to previous items will not trigger a rerender.
997
+
998
+ See [examples/static](examples/static/static.js) for an example usage of `<Static>` component.
999
+
1000
+ #### items
1001
+
1002
+ Type: `Array`
1003
+
1004
+ Array of items of any type to render using a function you pass as a component child.
1005
+
1006
+ #### style
1007
+
1008
+ Type: `object`
1009
+
1010
+ Styles to apply to a container of child elements.
1011
+ See [`<Box>`](#box) for supported properties.
1012
+
1013
+ ```jsx
1014
+ <Static items={...} style={{padding: 1}}>
1015
+ {...}
1016
+ </Static>
1017
+ ```
1018
+
1019
+ #### children(item)
1020
+
1021
+ Type: `Function`
1022
+
1023
+ Function that is called to render every item in `items` array.
1024
+ First argument is an item itself and second argument is index of that item in
1025
+ `items` array.
1026
+
1027
+ Note that `key` must be assigned to the root component.
1028
+
1029
+ ```jsx
1030
+ <Static items={['a', 'b', 'c']}>
1031
+ {(item, index) => {
1032
+ // This function is called for every item in ['a', 'b', 'c']
1033
+ // `item` is 'a', 'b', 'c'
1034
+ // `index` is 0, 1, 2
1035
+ return (
1036
+ <Box key={index}>
1037
+ <Text>Item: {item}</Text>
1038
+ </Box>
1039
+ );
1040
+ }}
1041
+ </Static>
1042
+ ```
1043
+
1044
+ ### `<Transform>`
1045
+
1046
+ Transform a string representation of React components before they are written to output.
1047
+ For example, you might want to apply a [gradient to text](https://github.com/sindresorhus/ink-gradient), [add a clickable link](https://github.com/sindresorhus/ink-link) or [create some text effects](https://github.com/sindresorhus/ink-big-text).
1048
+ These use cases can't accept React nodes as input, they are expecting a string.
1049
+ That's what `<Transform>` component does, it gives you an output string of its child components and lets you transform it in any way.
1050
+
1051
+ **Note:** `<Transform>` must be applied only to `<Text>` children components and shouldn't change the dimensions of the output, otherwise layout will be incorrect.
1052
+
1053
+ ```jsx
1054
+ import {render, Transform} from 'ink';
1055
+
1056
+ const Example = () => (
1057
+ <Transform transform={output => output.toUpperCase()}>
1058
+ <Text>Hello World</Text>
1059
+ </Transform>
1060
+ );
1061
+
1062
+ render(<Example />);
1063
+ ```
1064
+
1065
+ Since `transform` function converts all characters to upper case, final output that's rendered to the terminal will be "HELLO WORLD", not "Hello World".
1066
+
1067
+ #### transform(children)
1068
+
1069
+ Type: `Function`
1070
+
1071
+ Function which transforms children output.
1072
+ It accepts children and must return transformed children too.
1073
+
1074
+ ##### children
1075
+
1076
+ Type: `string`
1077
+
1078
+ Output of child components.
1079
+
1080
+ ## Hooks
1081
+
1082
+ ### useInput(inputHandler, options?)
1083
+
1084
+ This hook is used for handling user input.
1085
+ It's a more convenient alternative to using `useStdin` and listening to `data` events.
1086
+ The callback you pass to `useInput` is called for each character when user enters any input.
1087
+ However, if user pastes text and it's more than one character, the callback will be called only once and the whole string will be passed as `input`.
1088
+ You can find a full example of using `useInput` at [examples/use-input](examples/use-input/use-input.js).
1089
+
1090
+ ```jsx
1091
+ import {useInput} from 'ink';
1092
+
1093
+ const UserInput = () => {
1094
+ useInput((input, key) => {
1095
+ if (input === 'q') {
1096
+ // Exit program
1097
+ }
1098
+
1099
+ if (key.leftArrow) {
1100
+ // Left arrow key pressed
1101
+ }
1102
+ });
1103
+
1104
+ return …
1105
+ };
1106
+ ```
1107
+
1108
+ #### inputHandler(input, key)
1109
+
1110
+ Type: `Function`
1111
+
1112
+ The handler function that you pass to `useInput` receives two arguments:
1113
+
1114
+ ##### input
1115
+
1116
+ Type: `string`
1117
+
1118
+ The input that the program received.
1119
+
1120
+ ##### key
1121
+
1122
+ Type: `object`
1123
+
1124
+ Handy information about a key that was pressed.
1125
+
1126
+ ###### key.leftArrow
1127
+
1128
+ ###### key.rightArrow
1129
+
1130
+ ###### key.upArrow
1131
+
1132
+ ###### key.downArrow
1133
+
1134
+ Type: `boolean`\
1135
+ Default: `false`
1136
+
1137
+ If an arrow key was pressed, the corresponding property will be `true`.
1138
+ For example, if user presses left arrow key, `key.leftArrow` equals `true`.
1139
+
1140
+ ###### key.return
1141
+
1142
+ Type: `boolean`\
1143
+ Default: `false`
1144
+
1145
+ Return (Enter) key was pressed.
1146
+
1147
+ ###### key.escape
1148
+
1149
+ Type: `boolean`\
1150
+ Default: `false`
1151
+
1152
+ Escape key was pressed.
1153
+
1154
+ ###### key.ctrl
1155
+
1156
+ Type: `boolean`\
1157
+ Default: `false`
1158
+
1159
+ Ctrl key was pressed.
1160
+
1161
+ ###### key.shift
1162
+
1163
+ Type: `boolean`\
1164
+ Default: `false`
1165
+
1166
+ Shift key was pressed.
1167
+
1168
+ ###### key.tab
1169
+
1170
+ Type: `boolean`\
1171
+ Default: `false`
1172
+
1173
+ Tab key was pressed.
1174
+
1175
+ ###### key.backspace
1176
+
1177
+ Type: `boolean`\
1178
+ Default: `false`
1179
+
1180
+ Backspace key was pressed.
1181
+
1182
+ ###### key.delete
1183
+
1184
+ Type: `boolean`\
1185
+ Default: `false`
1186
+
1187
+ Delete key was pressed.
1188
+
1189
+ ###### key.pageDown
1190
+
1191
+ ###### key.pageUp
1192
+
1193
+ Type: `boolean`\
1194
+ Default: `false`
1195
+
1196
+ If Page Up or Page Down key was pressed, the corresponding property will be `true`.
1197
+ For example, if user presses Page Down, `key.pageDown` equals `true`.
1198
+
1199
+ ###### key.meta
1200
+
1201
+ Type: `boolean`\
1202
+ Default: `false`
1203
+
1204
+ [Meta key](https://en.wikipedia.org/wiki/Meta_key) was pressed.
1205
+
1206
+ #### options
1207
+
1208
+ Type: `object`
1209
+
1210
+ ##### isActive
1211
+
1212
+ Type: `boolean`\
1213
+ Default: `true`
1214
+
1215
+ Enable or disable capturing of user input.
1216
+ Useful when there are multiple `useInput` hooks used at once to avoid handling the same input several times.
1217
+
1218
+ ### useApp()
1219
+
1220
+ `useApp` is a React hook, which exposes a method to manually exit the app (unmount).
1221
+
1222
+ #### exit(error?)
1223
+
1224
+ Type: `Function`
1225
+
1226
+ Exit (unmount) the whole Ink app.
1227
+
1228
+ ##### error
1229
+
1230
+ Type: `Error`
1231
+
1232
+ Optional error. If passed, [`waitUntilExit`](waituntilexit) will reject with that error.
1233
+
1234
+ ```js
1235
+ import {useApp} from 'ink';
1236
+
1237
+ const Example = () => {
1238
+ const {exit} = useApp();
1239
+
1240
+ // Exit the app after 5 seconds
1241
+ useEffect(() => {
1242
+ setTimeout(() => {
1243
+ exit();
1244
+ }, 5000);
1245
+ }, []);
1246
+
1247
+ return …
1248
+ };
1249
+ ```
1250
+
1251
+ ### useStdin()
1252
+
1253
+ `useStdin` is a React hook, which exposes stdin stream.
1254
+
1255
+ #### stdin
1256
+
1257
+ Type: `stream.Readable`\
1258
+ Default: `process.stdin`
1259
+
1260
+ Stdin stream passed to `render()` in `options.stdin` or `process.stdin` by default.
1261
+ Useful if your app needs to handle user input.
1262
+
1263
+ ```js
1264
+ import {useStdin} from 'ink';
1265
+
1266
+ const Example = () => {
1267
+ const {stdin} = useStdin();
1268
+
1269
+ return …
1270
+ };
1271
+ ```
1272
+
1273
+ #### isRawModeSupported
1274
+
1275
+ Type: `boolean`
1276
+
1277
+ A boolean flag determining if the current `stdin` supports `setRawMode`.
1278
+ A component using `setRawMode` might want to use `isRawModeSupported` to nicely fall back in environments where raw mode is not supported.
1279
+
1280
+ ```jsx
1281
+ import {useStdin} from 'ink';
1282
+
1283
+ const Example = () => {
1284
+ const {isRawModeSupported} = useStdin();
1285
+
1286
+ return isRawModeSupported ? (
1287
+ <MyInputComponent />
1288
+ ) : (
1289
+ <MyComponentThatDoesntUseInput />
1290
+ );
1291
+ };
1292
+ ```
1293
+
1294
+ #### setRawMode(isRawModeEnabled)
1295
+
1296
+ Type: `function`
1297
+
1298
+ ##### isRawModeEnabled
1299
+
1300
+ Type: `boolean`
1301
+
1302
+ See [`setRawMode`](https://nodejs.org/api/tty.html#tty_readstream_setrawmode_mode).
1303
+ Ink exposes this function to be able to handle <kbd>Ctrl</kbd>+<kbd>C</kbd>, that's why you should use Ink's `setRawMode` instead of `process.stdin.setRawMode`.
1304
+
1305
+ **Warning:** This function will throw unless the current `stdin` supports `setRawMode`. Use [`isRawModeSupported`](#israwmodesupported) to detect `setRawMode` support.
1306
+
1307
+ ```js
1308
+ import {useStdin} from 'ink';
1309
+
1310
+ const Example = () => {
1311
+ const {setRawMode} = useStdin();
1312
+
1313
+ useEffect(() => {
1314
+ setRawMode(true);
1315
+
1316
+ return () => {
1317
+ setRawMode(false);
1318
+ };
1319
+ });
1320
+
1321
+ return …
1322
+ };
1323
+ ```
1324
+
1325
+ ### useStdout()
1326
+
1327
+ `useStdout` is a React hook, which exposes stdout stream, where Ink renders your app.
1328
+
1329
+ #### stdout
1330
+
1331
+ Type: `stream.Writable`\
1332
+ Default: `process.stdout`
1333
+
1334
+ ```js
1335
+ import {useStdout} from 'ink';
1336
+
1337
+ const Example = () => {
1338
+ const {stdout} = useStdout;
1339
+
1340
+ return …
1341
+ };
1342
+ ```
1343
+
1344
+ #### write(data)
1345
+
1346
+ Write any string to stdout, while preserving Ink's output.
1347
+ It's useful when you want to display some external information outside of Ink's rendering and ensure there's no conflict between the two.
1348
+ It's similar to `<Static>`, except it can't accept components, it only works with strings.
1349
+
1350
+ ##### data
1351
+
1352
+ Type: `string`
1353
+
1354
+ Data to write to stdout.
1355
+
1356
+ ```js
1357
+ import {useStdout} from 'ink';
1358
+
1359
+ const Example = () => {
1360
+ const {write} = useStdout();
1361
+
1362
+ useEffect(() => {
1363
+ // Write a single message to stdout, above Ink's output
1364
+ write('Hello from Ink to stdout\n');
1365
+ }, []);
1366
+
1367
+ return …
1368
+ };
1369
+ ```
1370
+
1371
+ See additional usage example in [examples/use-stdout](examples/use-stdout/use-stdout.js).
1372
+
1373
+ ### useStderr()
1374
+
1375
+ `useStderr` is a React hook, which exposes stderr stream.
1376
+
1377
+ #### stderr
1378
+
1379
+ Type: `stream.Writable`\
1380
+ Default: `process.stderr`
1381
+
1382
+ Stderr stream.
1383
+
1384
+ ```js
1385
+ import {useStderr} from 'ink';
1386
+
1387
+ const Example = () => {
1388
+ const {stderr} = useStderr();
1389
+
1390
+ return …
1391
+ };
1392
+ ```
1393
+
1394
+ #### write(data)
1395
+
1396
+ Write any string to stderr, while preserving Ink's output.
1397
+
1398
+ It's useful when you want to display some external information outside of Ink's rendering and ensure there's no conflict between the two.
1399
+ It's similar to `<Static>`, except it can't accept components, it only works with strings.
1400
+
1401
+ ##### data
1402
+
1403
+ Type: `string`
1404
+
1405
+ Data to write to stderr.
1406
+
1407
+ ```js
1408
+ import {useStderr} from 'ink';
1409
+
1410
+ const Example = () => {
1411
+ const {write} = useStderr();
1412
+
1413
+ useEffect(() => {
1414
+ // Write a single message to stderr, above Ink's output
1415
+ write('Hello from Ink to stderr\n');
1416
+ }, []);
1417
+
1418
+ return …
1419
+ };
1420
+ ```
1421
+
1422
+ ### useFocus(options?)
1423
+
1424
+ Component that uses `useFocus` hook becomes "focusable" to Ink, so when user presses <kbd>Tab</kbd>, Ink will switch focus to this component.
1425
+ If there are multiple components that execute `useFocus` hook, focus will be given to them in the order that these components are rendered in.
1426
+ This hook returns an object with `isFocused` boolean property, which determines if this component is focused or not.
1427
+
1428
+ #### options
1429
+
1430
+ ##### autoFocus
1431
+
1432
+ Type: `boolean`\
1433
+ Default: `false`
1434
+
1435
+ Auto focus this component, if there's no active (focused) component right now.
1436
+
1437
+ ##### isActive
1438
+
1439
+ Type: `boolean`\
1440
+ Default: `true`
1441
+
1442
+ Enable or disable this component's focus, while still maintaining its position in the list of focusable components.
1443
+ This is useful for inputs that are temporarily disabled.
1444
+
1445
+ ##### id
1446
+
1447
+ Type: `string`\
1448
+ Required: `false`
1449
+
1450
+ Set a component's focus ID, which can be used to programmatically focus the component. This is useful for large interfaces with many focusable elements, to avoid having to cycle through all of them.
1451
+
1452
+ ```jsx
1453
+ import {render, useFocus, Text} from 'ink';
1454
+
1455
+ const Example = () => {
1456
+ const {isFocused} = useFocus();
1457
+
1458
+ return <Text>{isFocused ? 'I am focused' : 'I am not focused'}</Text>;
1459
+ };
1460
+
1461
+ render(<Example />);
1462
+ ```
1463
+
1464
+ See example in [examples/use-focus](examples/use-focus/use-focus.js) and [examples/use-focus-with-id](examples/use-focus/use-focus-with-id.js).
1465
+
1466
+ ### useFocusManager()
1467
+
1468
+ This hook exposes methods to enable or disable focus management for all components or manually switch focus to next or previous components.
1469
+
1470
+ #### enableFocus()
1471
+
1472
+ Enable focus management for all components.
1473
+
1474
+ **Note:** You don't need to call this method manually, unless you've disabled focus management. Focus management is enabled by default.
1475
+
1476
+ ```js
1477
+ import {useFocusManager} from 'ink';
1478
+
1479
+ const Example = () => {
1480
+ const {enableFocus} = useFocusManager();
1481
+
1482
+ useEffect(() => {
1483
+ enableFocus();
1484
+ }, []);
1485
+
1486
+ return …
1487
+ };
1488
+ ```
1489
+
1490
+ #### disableFocus()
1491
+
1492
+ Disable focus management for all components.
1493
+ Currently active component (if there's one) will lose its focus.
1494
+
1495
+ ```js
1496
+ import {useFocusManager} from 'ink';
1497
+
1498
+ const Example = () => {
1499
+ const {disableFocus} = useFocusManager();
1500
+
1501
+ useEffect(() => {
1502
+ disableFocus();
1503
+ }, []);
1504
+
1505
+ return …
1506
+ };
1507
+ ```
1508
+
1509
+ #### focusNext()
1510
+
1511
+ Switch focus to the next focusable component.
1512
+ If there's no active component right now, focus will be given to the first focusable component.
1513
+ If active component is the last in the list of focusable components, focus will be switched to the first component.
1514
+
1515
+ **Note:** Ink calls this method when user presses <kbd>Tab</kbd>.
1516
+
1517
+ ```js
1518
+ import {useFocusManager} from 'ink';
1519
+
1520
+ const Example = () => {
1521
+ const {focusNext} = useFocusManager();
1522
+
1523
+ useEffect(() => {
1524
+ focusNext();
1525
+ }, []);
1526
+
1527
+ return …
1528
+ };
1529
+ ```
1530
+
1531
+ #### focusPrevious()
1532
+
1533
+ Switch focus to the previous focusable component.
1534
+ If there's no active component right now, focus will be given to the first focusable component.
1535
+ If active component is the first in the list of focusable components, focus will be switched to the last component.
1536
+
1537
+ **Note:** Ink calls this method when user presses <kbd>Shift</kbd>+<kbd>Tab</kbd>.
1538
+
1539
+ ```js
1540
+ import {useFocusManager} from 'ink';
1541
+
1542
+ const Example = () => {
1543
+ const {focusPrevious} = useFocusManager();
1544
+
1545
+ useEffect(() => {
1546
+ focusPrevious();
1547
+ }, []);
1548
+
1549
+ return …
1550
+ };
1551
+ ```
1552
+
1553
+ #### focus(id)
1554
+
1555
+ ##### id
1556
+
1557
+ Type: `string`
1558
+
1559
+ Switch focus to the component with the given [`id`](#id).
1560
+ If there's no component with that ID, focus will be given to the next focusable component.
1561
+
1562
+ ```js
1563
+ import {useFocusManager, useInput} from 'ink';
1564
+
1565
+ const Example = () => {
1566
+ const {focus} = useFocusManager();
1567
+
1568
+ useInput(input => {
1569
+ if (input === 's') {
1570
+ // Focus the component with focus ID 'someId'
1571
+ focus('someId');
1572
+ }
1573
+ });
1574
+
1575
+ return …
1576
+ };
1577
+ ```
1578
+
1579
+ ## API
1580
+
1581
+ #### render(tree, options?)
1582
+
1583
+ Returns: [`Instance`](#instance)
1584
+
1585
+ Mount a component and render the output.
1586
+
1587
+ ##### tree
1588
+
1589
+ Type: `ReactElement`
1590
+
1591
+ ##### options
1592
+
1593
+ Type: `object`
1594
+
1595
+ ###### stdout
1596
+
1597
+ Type: `stream.Writable`\
1598
+ Default: `process.stdout`
1599
+
1600
+ Output stream where app will be rendered.
1601
+
1602
+ ###### stdin
1603
+
1604
+ Type: `stream.Readable`\
1605
+ Default: `process.stdin`
1606
+
1607
+ Input stream where app will listen for input.
1608
+
1609
+ ###### exitOnCtrlC
1610
+
1611
+ Type: `boolean`\
1612
+ Default: `true`
1613
+
1614
+ Configure whether Ink should listen to Ctrl+C keyboard input and exit the app.
1615
+ This is needed in case `process.stdin` is in [raw mode](https://nodejs.org/api/tty.html#tty_readstream_setrawmode_mode), because then Ctrl+C is ignored by default and process is expected to handle it manually.
1616
+
1617
+ ###### patchConsole
1618
+
1619
+ Type: `boolean`\
1620
+ Default: `true`
1621
+
1622
+ Patch console methods to ensure console output doesn't mix with Ink output.
1623
+ When any of `console.*` methods are called (like `console.log()`), Ink intercepts their output, clears main output, renders output from the console method and then rerenders main output again.
1624
+ That way both are visible and are not overlapping each other.
1625
+
1626
+ This functionality is powered by [patch-console](https://github.com/vadimdemedes/patch-console), so if you need to disable Ink's interception of output but want to build something custom, you can use it.
1627
+
1628
+ ###### debug
1629
+
1630
+ Type: `boolean`\
1631
+ Default: `false`
1632
+
1633
+ If `true`, each update will be rendered as a separate output, without replacing the previous one.
1634
+
1635
+ #### Instance
1636
+
1637
+ This is the object that `render()` returns.
1638
+
1639
+ ##### rerender(tree)
1640
+
1641
+ Replace previous root node with a new one or update props of the current root node.
1642
+
1643
+ ###### tree
1644
+
1645
+ Type: `ReactElement`
1646
+
1647
+ ```jsx
1648
+ // Update props of the root node
1649
+ const {rerender} = render(<Counter count={1} />);
1650
+ rerender(<Counter count={2} />);
1651
+
1652
+ // Replace root node
1653
+ const {rerender} = render(<OldCounter />);
1654
+ rerender(<NewCounter />);
1655
+ ```
1656
+
1657
+ ##### unmount()
1658
+
1659
+ Manually unmount the whole Ink app.
1660
+
1661
+ ```jsx
1662
+ const {unmount} = render(<MyApp />);
1663
+ unmount();
1664
+ ```
1665
+
1666
+ ##### waitUntilExit()
1667
+
1668
+ Returns a promise, which resolves when app is unmounted.
1669
+
1670
+ ```jsx
1671
+ const {unmount, waitUntilExit} = render(<MyApp />);
1672
+
1673
+ setTimeout(unmount, 1000);
1674
+
1675
+ await waitUntilExit(); // resolves after `unmount()` is called
1676
+ ```
1677
+
1678
+ ##### clear()
1679
+
1680
+ Clear output.
1681
+
1682
+ ```jsx
1683
+ const {clear} = render(<MyApp />);
1684
+ clear();
1685
+ ```
1686
+
1687
+ #### measureElement(ref)
1688
+
1689
+ Measure the dimensions of a particular `<Box>` element.
1690
+ It returns an object with `width` and `height` properties.
1691
+ This function is useful when your component needs to know the amount of available space it has. You could use it when you need to change the layout based on the length of its content.
1692
+
1693
+ **Note:** `measureElement()` returns correct results only after the initial render, when layout has been calculated. Until then, `width` and `height` equal to zero. It's recommended to call `measureElement()` in a `useEffect` hook, which fires after the component has rendered.
1694
+
1695
+ ##### ref
1696
+
1697
+ Type: `MutableRef`
1698
+
1699
+ A reference to a `<Box>` element captured with a `ref` property.
1700
+ See [Refs](https://reactjs.org/docs/refs-and-the-dom.html) for more information on how to capture references.
1701
+
1702
+ ```jsx
1703
+ import {render, measureElement, Box, Text} from 'ink';
1704
+
1705
+ const Example = () => {
1706
+ const ref = useRef();
1707
+
1708
+ useEffect(() => {
1709
+ const {width, height} = measureElement(ref.current);
1710
+ // width = 100, height = 1
1711
+ }, []);
1712
+
1713
+ return (
1714
+ <Box width={100}>
1715
+ <Box ref={ref}>
1716
+ <Text>This box will stretch to 100 width</Text>
1717
+ </Box>
1718
+ </Box>
1719
+ );
1720
+ };
1721
+
1722
+ render(<Example />);
1723
+ ```
1724
+
1725
+ ## Testing
1726
+
1727
+ Ink components are simple to test with [ink-testing-library](https://github.com/vadimdemedes/ink-testing-library).
1728
+ Here's a simple example that checks how component is rendered:
1729
+
1730
+ ```jsx
1731
+ import React from 'react';
1732
+ import {Text} from 'ink';
1733
+ import {render} from 'ink-testing-library';
1734
+
1735
+ const Test = () => <Text>Hello World</Text>;
1736
+ const {lastFrame} = render(<Test />);
1737
+
1738
+ lastFrame() === 'Hello World'; //=> true
1739
+ ```
1740
+
1741
+ Check out [ink-testing-library](https://github.com/vadimdemedes/ink-testing-library) for more examples and full documentation.
1742
+
1743
+ ## Using React Devtools
1744
+
1745
+ ![](media/devtools.jpg)
1746
+
1747
+ Ink supports [React Devtools](https://github.com/facebook/react/tree/master/packages/react-devtools) out-of-the-box.
1748
+ To enable integration with React Devtools in your Ink-based CLI, run it with `DEV=true` environment variable:
1749
+
1750
+ ```
1751
+ $ DEV=true my-cli
1752
+ ```
1753
+
1754
+ Then, start React Devtools itself:
1755
+
1756
+ ```
1757
+ $ npx react-devtools
1758
+ ```
1759
+
1760
+ After it starts up, you should see the component tree of your CLI.
1761
+ You can even inspect and change the props of components, and see the results immediatelly in the CLI, without restarting it.
1762
+
1763
+ **Note**: You must manually quit your CLI via <kbd>Ctrl</kbd>+<kbd>C</kbd> after you're done testing.
1764
+
1765
+ ## Useful Components
1766
+
1767
+ - [ink-text-input](https://github.com/vadimdemedes/ink-text-input) - Text input.
1768
+ - [ink-spinner](https://github.com/vadimdemedes/ink-spinner) - Spinner.
1769
+ - [ink-select-input](https://github.com/vadimdemedes/ink-select-input) - Select (dropdown) input.
1770
+ - [ink-link](https://github.com/sindresorhus/ink-link) - Link component.
1771
+ - [ink-gradient](https://github.com/sindresorhus/ink-gradient) - Gradient color component.
1772
+ - [ink-big-text](https://github.com/sindresorhus/ink-big-text) - Awesome text component.
1773
+ - [ink-image](https://github.com/kevva/ink-image) - Display images inside the terminal.
1774
+ - [ink-tab](https://github.com/jdeniau/ink-tab) - Tab component.
1775
+ - [ink-color-pipe](https://github.com/LitoMore/ink-color-pipe) - Create color text with simpler style strings in Ink.
1776
+ - [ink-multi-select](https://github.com/karaggeorge/ink-multi-select) - Select one or more values from a list
1777
+ - [ink-divider](https://github.com/JureSotosek/ink-divider) - A divider component.
1778
+ - [ink-progress-bar](https://github.com/brigand/ink-progress-bar) - Configurable component for rendering progress bars.
1779
+ - [ink-table](https://github.com/maticzav/ink-table) - Table component.
1780
+ - [ink-ascii](https://github.com/hexrcs/ink-ascii) - Awesome text component with more font choices, based on Figlet.
1781
+ - [ink-markdown](https://github.com/cameronhunter/ink-markdown) - Render syntax highlighted Markdown.
1782
+ - [ink-quicksearch-input](https://github.com/Eximchain/ink-quicksearch-input) - Select component with fast quicksearch-like navigation.
1783
+ - [ink-confirm-input](https://github.com/kevva/ink-confirm-input) - Yes/No confirmation input.
1784
+ - [ink-syntax-highlight](https://github.com/vsashyn/ink-syntax-highlight) - Code syntax highlighting.
1785
+ - [ink-form](https://github.com/lukasbach/ink-form) - Form component.
1786
+ - [ink-task-list](https://github.com/privatenumber/ink-task-list) - Task list component.
1787
+
1788
+ ## Useful Hooks
1789
+
1790
+ - [ink-use-stdout-dimensions](https://github.com/cameronhunter/ink-monorepo/tree/master/packages/ink-use-stdout-dimensions) - Subscribe to stdout dimensions.
1791
+
1792
+ ## Examples
1793
+
1794
+ - [Jest](examples/jest/jest.js) - Implementation of basic Jest UI [(live demo)](https://ink-jest-demo.vadimdemedes.repl.run/).
1795
+ - [Counter](examples/counter/counter.js) - Simple counter that increments every 100ms [(live demo)](https://ink-counter-demo.vadimdemedes.repl.run/).
1796
+ - [Form with Validation](https://github.com/final-form/rff-cli-example) - Manage form state using [Final Form](https://github.com/final-form/final-form#-final-form).
1797
+ - [Borders](examples/borders/borders.js) - Add borders to `<Box>` component.
1798
+ - [Suspense](examples/suspense/suspense.js) - Use React Suspense.
1799
+ - [Table](examples/table/table.js) - Render a table with multiple columns and rows.
1800
+ - [Focus Management](examples/use-focus/use-focus.js) - Use `useFocus` hook to manage focus between components.
1801
+ - [User Input](examples/use-input/use-input.js) - Listen to user input.
1802
+ - [Write to stdout](examples/use-stdout/use-stdout.js) - Write to stdout bypassing main Ink output.
1803
+ - [Write to stderr](examples/use-stderr/use-stderr.js) - Write to stderr bypassing main Ink output.
1804
+ - [Static](examples/static/static.js) - Use `<Static>` to render permanent output.
1805
+ - [Child process](examples/subprocess-output) - Render output from a child process.
1806
+
1807
+ ## Maintainers
1808
+
1809
+ - [Vadim Demedes](https://github.com/vadimdemedes)
1810
+ - [Sindre Sorhus](https://github.com/sindresorhus)