pygments-lexers
A JSON array of the 350+ languages supported by the pygments syntax highlighter.
The array is generated by parsing the pygments/lexers/_mapping.py file in the pygments source.
Installation
npm install pygments-lexers --save
Usage
The module exports an array. Each item in the array has the following properties:
name: "CoffeeScript" category: "javascript" aliases: "coffee-script" "coffeescript" "coffee" filenames: "*.coffee" mimetypes: "text/coffeescript"
'CoffeeScript' 'Dart' 'JavaScript' 'Kal' 'Lasso' 'LiveScript' 'Mask' 'Objective-J' 'TypeScript'
Tests
npm installnpm test
License
MIT