Détail du package

camshaft-reference

CartoDB6.8kBSD-3-Clause0.34.0

Analyses reference for Camshaft Analysis library

cartodb, analysis, framework, workflow

readme

camshaft-reference

camshaft-reference is a JSON specification for camshaft analyses.

Meaning

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.

Using

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 = require('camshaft-reference');
var ref = reference.getVersion('latest');

Or list all available versions:

var reference = require('camshaft-reference');
reference.versions;
[ '0.1.0' ]

Thanks

This is inspired by mapnik-reference, it is useful for building parsers, tests, compilers, and syntax highlighting/checking for languages.