typogr.js

Software Screenshot:
typogr.js
Software Details:
Version: 0.6.5
Upload Date: 13 Apr 15
Developer: Eugene Kalinin
Distribution Type: Freeware
Downloads: 43

Rating: nan/5 (Total Votes: 0)

The library works with Node on the server side, or as a stand-alone library in the browser (client side).

For Node.js environments, typogr.js is available through npm for installation.

A demo page is included with the typogr.js download package to help designers see how its rules are applied on a page's text.

Features:

  • Wraps ampersands in HTML with so they can be styled with CSS
  • Wraps initial quotes in for double quotes or for single quotes
  • Wraps number suffix's in so they can be styled
  • Paragraph widowing protection
  • Dashes ("--" and "---") into n-dash and m-dash entities (- | -)
  • Three consecutive dots ("...") into an ellipsis entity (...)
  • Straight quotes ( " and ' '") into "curly" quote HTML entities (‘ | ' | " | ")
  • Backticks-style quotes (``like this''') into "curly" quote HTML entities (‘ | ' | " | ")

What is new in this release:

  • Used the "scripts" block in the package.json (npm test works properly).
  • Speed up widont regex.

Requirements:

  • JafavScript enabled on client side

Similar Software

Other Software of Developer Eugene Kalinin

sitemap.js
sitemap.js

10 Feb 16

robots.js
robots.js

12 May 15

Comments to typogr.js

Comments not found
Add Comment
Turn on images!