mcax-product
v0.0.2
Published
Model of any offered product.
Downloads
1
Readme
Product
Model of any offered product.
Installation
$ npm install mcax-product --save
Usage
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);
Tests
Run tests with Mocha
$ make test
Check
- https://schema.org/Product
- https://schema.org/ProductModel
- https://schema.org/IndividualProduct
- https://schema.org/SomeProducts
License
The MIT License