1.2.1 • Published 7 years ago

weight-program-schema v1.2.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

weight-program-schema

An open-source JSON schema for defining workout programs. The idea is that a common standard would enable websites/blogs to define workouts in a format that can be read by multiple workout apps.

Usage

const WPS = require('weight-program-schema')
// The raw JSON schema definition:
console.log(WPS._schema)

// A method for calculating a day-by-day schedule based on a given program definition
console.log(WPS.schedule_calculator(program))

Schema File

The schema is located at src/weight-program-schema.json and uses the standard JSON Schema.

Schema Tests

npm test

1.2.1

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.2

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago