char-thumb
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

What is this

This is character thumbnail. It is used to create a thumbnail for initial words.

Installation

npm i char-thumbnail

Usage

   import charThumb from 'char-thumb'; 

   const name = charThumb('aashika',{size: 3});

   // => A00

   const name = charThumb('aashika lakshmanan',{size: 2});

   // => AL

   const name = charThumb('aashika lakshmanan m',{size: 3});

   // => ALM

   const name = charThumb('aashika',{size: 1});

   // => A

Package Sidebar

Install

npm i char-thumb

Weekly Downloads

0

Version

1.0.3

License

none

Unpacked Size

25.3 kB

Total Files

16

Last publish

Collaborators

  • aashika