Get unlimited public & private packages + team-based management with npm Teams.Learn more »

wrap-chars

1.0.2 • Public • Published

WrapChars.js

About

Tiny script containing just one, static method that takes any element and wraps each inline character in a given tag, with an optional class.

This is alpha. The plan is to make it behave more politely.

Demo

Install

npm i wrap-chars

Use

WrapChars.wrap(Element:elementRef, 'letter'|'word', String:elementName, String:className);

Install

npm i wrap-chars

DownloadsWeekly Downloads

7

Version

1.0.2

License

LGPL-3.0

Unpacked Size

23.5 kB

Total Files

12

Last publish

Collaborators

  • avatar