svg-text-split
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

svg-text-wrap

Install

npm install svg-text-wrap

Usage

import splitText from 'svg-text-wrap'

Arguments

txt: string,
maxWidth: number,
fontSize: number,
fontFamily: string = 'inherit',

returns an array of strings

Readme

Keywords

none

Package Sidebar

Install

npm i svg-text-split

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

11.2 kB

Total Files

6

Last publish

Collaborators

  • idris-maps