This package has been deprecated

Author message:

You have reached a dead end!

bodybuilding-nutrientfull

0.1.5 • Public • Published

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

Package Sidebar

Install

npm i bodybuilding-nutrientfull

Weekly Downloads

1

Version

0.1.5

License

MIT

Last publish

Collaborators

  • wolfram77