canvas-hypertxt
Advanced tools
Comparing version 1.0.1 to 1.0.3
{ | ||
"name": "canvas-hypertxt", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "The fastest way to layout wrapped text on a HTML5 canvas", | ||
@@ -14,6 +14,7 @@ "sideEffects": false, | ||
"module": "dist/js/index.js", | ||
"types": "dist/ts/index.d.ts", | ||
"types": "dist/ts/src/index.d.ts", | ||
"exports": { | ||
"import": "./dist/js/index.js", | ||
"require": "./dist/cjs/index.cjs" | ||
"require": "./dist/cjs/index.cjs", | ||
"types": "./dist/ts/src/index.d.ts" | ||
}, | ||
@@ -20,0 +21,0 @@ "scripts": { |
@@ -7,3 +7,3 @@ # Canvas HyperTxt 🚀📐✍ | ||
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/canvas-hypertxt?color=success&label=bundle&style=for-the-badge)](https://bundlephobia.com/package/canvas-hypertxt) | ||
[![Code Coverage](https://img.shields.io/coveralls/github/glideapps/canvas-hypertxt?color=457aba&label=Cover&style=for-the-badge)](https://coveralls.io/github/glideapps/canvas-hypertxt) | ||
[![Code Coverage](https://img.shields.io/coverallsCoverage/github/glideapps/canvas-hypertxt?color=457aba&label=Cover&style=for-the-badge)](https://coveralls.io/github/glideapps/canvas-hypertxt) | ||
[![License](https://img.shields.io/github/license/glideapps/canvas-hypertxt?color=red&style=for-the-badge)](https://github.com/glideapps/canvas-hypertxt/blob/main/LICENSE) | ||
@@ -97,3 +97,3 @@ [![Made By Glide](https://img.shields.io/badge/❤_Made_by-Glide-11CCE5?style=for-the-badge&logo=none)](https://www.glideapps.com/jobs) | ||
canvas-txt is intended to be used as part of larger libraries which need wrapping text. In these cases text-alignment or actual text rendering is handled by existing functions which may provide additional functionality. By not rendering the text for the consumer, more flexibility is granted, however it comes at the cost of simplicity. | ||
canvas-hypertxt is intended to be used as part of larger libraries which need wrapping text. In these cases text-alignment or actual text rendering is handled by existing functions which may provide additional functionality. By not rendering the text for the consumer, more flexibility is granted, however it comes at the cost of simplicity. | ||
@@ -100,0 +100,0 @@ ## Usage |
47091