New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aglfn

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aglfn

Adobe Glyph List For New Fonts as JSON

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
360
decreased by-31.82%
Maintainers
1
Weekly downloads
 
Created
Source

aglfn

This package provides the Adobe Glyph List For New Fonts parsed as a JSON array.

Installation

npm install --save aglfn

Details

Adobe’s AGLFN text file contains 3 fields for each glyph:

  1. a unicode value as four uppercase hexadecimal digits, e.g. 00C1
  2. a glyph name, e.g. Aacute
  3. a character name, e.g. LATIN CAPITAL LETTER A WITH ACUTE

In the provided JSON file, each glyph is encoded as an object containing unicodeValue, glyphName and charName properties. For example:

{
  "unicodeValue": "0030",
  "glyphName": "zero",
  "charName": "DIGIT ZERO"
}

Usage

const AGLFN = require('aglfn')

AGLFN.find((glyph) => glyph.unicodeValue === '2203')
// => { unicodeValue: '2203',
//      glyphName: 'existential',
//      charName: 'THERE EXISTS' }

AGLFN.filter((glyph) => glyph.charName.includes('TRIANGLE'))
// => [ { unicodeValue: '25BC',
//        glyphName: 'triagdn',
//        charName: 'BLACK DOWN-POINTING TRIANGLE' },
//      { unicodeValue: '25B2',
//        glyphName: 'triagup',
//        charName: 'BLACK UP-POINTING TRIANGLE' } ]

License

Keywords

FAQs

Package last updated on 17 Jun 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc