camshaft-reference is a JSON specification for camshaft analyses.
The structure of the file is as such:
version: the version of camshaft targeted.
analyses: named analyses supported by camshaft, with information about their parameters.
This is a valid npm module and therefore can easily be consumed as any other package:
npm install camshaft-reference
After installed within your project you can:
var reference = ;var ref = reference;
Or list all available versions:
var reference = ;referenceversions;'0.1.0'
This is inspired by mapnik-reference, it is useful for building parsers, tests, compilers, and syntax highlighting/checking for languages.