UNPKG

smallcaps-js

Version:

A package that converts any string to smallcaps.

27 lines (18 loc) 510 B
# smallcaps.js A smallcaps package that converts any string to smallcaps. ## Usage ```js // Our Code const { smallcaps, smallcapsWithNumbers } = require("smallcaps-js"); const text1 = "Assembly #1" const text2 = "Assembly #2" console.log(smallcaps(text1)) console.log(smallcapsWithNumbers(text2)) // Output should be: // ᴀꜱꜱᴇᴍʙʟʏ #1 // ᴀꜱꜱᴇᴍʙʟʏ #₂ ``` ## License [ISC](https://choosealicense.com/licenses/isc/) ## E-mail bures.jiri@zak.zs1maje.cz