Model of any offered product.
$ npm install mcax-product --save
var Product = require('mcax-product');
var data = {
name: 'Star',
description: 'A star is a luminous sphere of plasma.',
sameAs: 'https://en.wikipedia.org/wiki/Star'
};
var product = new Product(data);
Run tests with Mocha
$ make test
- https://schema.org/Product
- https://schema.org/ProductModel
- https://schema.org/IndividualProduct
- https://schema.org/SomeProducts
The MIT License