1.0.0 • Published 9 years ago

contracting-cookbook-client v1.0.0

Weekly downloads
-
License
CC0
Repository
-
Last release
9 years ago

Contracting Cookbook Client

18F has created a Contracting Cookbook with "recipes" for acquisitions. This client accesses the underlying data from the Contracting Cookbook for easy use, either using the command line or in the browser.

Usage

var c = new Cookbook();
c.getRecipes().then(function (d){
  console.log(d);
})

API

getRecipes

Get an array of the recipe objects in the contracting cookbook.

var c = new Cookbook();
c.getRecipes().then(function (d){
  console.log(d);
})

getRecipe

Get a single snippet from a particular recipe.

c.getRecipe('agile').then(function (d){
  console.log(d);
})

License

Public Domain