JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17951
  • Score
    100M100P100Q142898F
  • License MIT

Unicode characters to Groff commands

Package Exports

  • groff-escape

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (groff-escape) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

groff-escape

Build Downloads Size

Map of non-ASCII characters to Groff commands: '≠' > '!=' (which you’ll need to wrap like so \[!=] to use in Groff).

Install

npm:

npm install groff-escape

Use

var escape = require('groff-escape')

console.log(escape)

Yields:

{ '≠': '!=',
  'À': '`A',
  'Á': '\'A',
  'Â': '^A',
  'Ã': '~A',
  // …
  '♥': 'HE',
  '♦': 'DI',
  '✓': 'OK',
  '⟨': 'la',
  '⟩': 'ra' }

License

MIT © Titus Wormer