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
Map of non-ASCII characters to Groff commands: '≠' > '!=' (which you’ll
need to wrap like so \[!=] to use in Groff).
Install
This package is ESM only: Node 12+ is needed to use it and it must be imported
instead of required.
npm:
npm install groff-escapeUse
import {groffEscape} from 'groff-escape'
console.log(groffEscape)Yields:
{ '≠': '!=',
'À': '`A',
'Á': '\'A',
'Â': '^A',
'Ã': '~A',
// …
'♥': 'HE',
'♦': 'DI',
'✓': 'OK',
'⟨': 'la',
'⟩': 'ra' }API
This package exports the following identifiers: groffEscape.
There is no default export.
groffEscape
Object.<string, string> — Map of non-ASCII characters to Groff commands