Socket
Socket
Sign inDemoInstall

text-cache

Package Overview
Dependencies
48
Maintainers
18
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    text-cache

Internal module - vectorized text pooling for gl-vis


Version published
Weekly downloads
82K
increased by13.44%
Maintainers
18
Install size
2.56 MB
Created
Weekly downloads
 

Readme

Source

text-cache

A cache of generated vector font meshes. This is an internal module used to share generated fonts/glyphs across gl-vis packages.

API

require('text-cache')(font, str)

Generates a vectorized text mesh.

  • font is the font to use
  • str is the string to generate

Returns A triangulation encoding the vectorized text string.

License

(c) 2015 Mikola Lysenko. MIT License

Keywords

FAQs

Last updated on 23 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc