#1004551 ITP: node-ink -- command-line utility to test react.js component

#1004551#5
Date:
2022-01-30 12:14:04 UTC
From:
To:
* Package name    : node-ink
  Version         : 3.2.0
  Upstream Author : Vadim Demedes <vdemedes@gmail.com>
* URL             : https://github.com/vadimdemedes/ink
* License         : Expat
  Programming Lang: JavaScript
  Description     : command-line utility to test react.js component

Ink provides the same component-based UI building experience that React offers
in the browser, but for command-line apps. It uses Yoga to build Flexbox
layouts in the terminal, so most CSS-like props are available in Ink as well.
If you are already familiar with React, you already know Ink.

Since Ink is a React renderer, it means that all features of React are
supported. Head over to React website for documentation on how to use it. Only
Ink's methods will be documented in this readme.

This package is a dependency of node-tap 15. It will be maintained under
JS team umbrella

#1004551#10
Date:
2022-01-30 12:38:15 UTC
From:
To:
Quoting Yadd (2022-01-30 13:14:04)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Remember to adjust the text to better fit package long description :-)


 - Jonas

#1004551#15
Date:
2022-01-30 17:52:39 UTC
From:
To:
ink requires yoga-layout-prebuilt which is hard to rebuild: I got a lot
of error when trying to `node-gyp build` yoga-layout. It seems at least
that it requires a newer nodejs.

For now, I'll try to update node-tap without ink. It will be able to
test many things except react components (AFAIK...)