1.1.0 • Published 8 years ago

contracting-cookbook v1.1.0

Weekly downloads
2
License
CC0
Repository
github
Last release
8 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.

Installation

npm install contracting-cookbook

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