Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bodybuilding-nutrientfull

wolfram775MITdeprecated0.1.5

You have reached a dead end!

Get JSON Nutrient Data from Bodybuilding.com.

bodybuilding, nutrient, full

readme

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":{ ... }}