camshaft-reference

0.34.0 • Public • Published

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.

Package Sidebar

Install

npm i camshaft-reference

Weekly Downloads

49

Version

0.34.0

License

BSD-3-Clause

Last publish

Collaborators

  • cartodb