puppeteer-render-text
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -30,3 +30,3 @@ 'use strict' | ||
* @param {string} opts.text - HTML content to render | ||
* @param {string} opts.output - Path of image file to output result | ||
* @param {string} opts.output - Path of image file to store result | ||
* @param {number} [opts.width] - Optional max width for word-wrap | ||
@@ -33,0 +33,0 @@ * @param {number} [opts.height] - Optional max height to clip overflow |
{ | ||
"name": "puppeteer-render-text", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Robust text renderer using headless chrome.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,2 +11,4 @@ # puppeteer-render-text | ||
This module is also available as a [CLI](https://github.com/transitive-bullshit/puppeteer-render-text-cli). | ||
## Why? | ||
@@ -25,6 +27,7 @@ | ||
- optional word-wrap | ||
- main context is just **html** | ||
- main content is just **html** | ||
- styling is done via [**css**](https://www.w3schools.com/jsref/dom_obj_style.asp) | ||
- handles multiple fonts | ||
- thoroughly tested | ||
- includes a [CLI](https://github.com/transitive-bullshit/puppeteer-render-text-cli) | ||
@@ -110,3 +113,5 @@ ## Install | ||
- [puppeteer-render-text-cli](https://github.com/transitive-bullshit/puppeteer-render-text-cli) - CLI for this module. | ||
- [puppeteer](https://github.com/GoogleChrome/puppeteer) - Headless Chrome Node API. | ||
- [awesome-puppeteer](https://github.com/transitive-bullshit/awesome-puppeteer) - Curated list of awesome puppeteer resources. | ||
@@ -113,0 +118,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35615
118