Ghost/ghost/html-to-plaintext
Daniel Lockyer 464b5ca426 Extracted html-to-plaintext shared lib into package
refs https://github.com/TryGhost/Toolbox/issues/363

- this shared library is standalone, and it used in various places of
  Ghost core, so we can pull it out to keep it easier to reason about
- we also use the `html-to-text` dependency in another package but it's
  outdated and could now switch to this new package
2022-08-03 16:51:56 +02:00
..
lib Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
test Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
.eslintrc.js Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
index.js Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
package.json Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00
README.md Extracted html-to-plaintext shared lib into package 2022-08-03 16:51:56 +02:00

Html To Plaintext

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests