0.1.5 • Published 7 years ago

bodybuilding-nutrientfull v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

cmd-bodybuilding-nutrientfull

NPM

Get JSON Nutrient Data from Bodybuilding.com.

# using as command line application
node index <start> <stop> <step>

# get nutrient info of food id 1001
node index 1001

# get nutrient info of food id 1001 to 2000 (excluding)
node index 1001 2000

# get nutrient info of food id 1001 to 2002, 20 parallel connections
node index 1001 2000 20
// using as a javascript module
var nutrientfull = require('bodybuilding-nutrientfull');
// nutrientfull(<id>)

nutrientfull(1001).then((ans) => console.log(ans));
// {"Butter, with salt - 100 Grams":{ ... }}
0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago