Please use https://github.com/frictionlessdata/datapackage-js
An API wrapper for a Data Package registry.
Polyfills have been used: es6-promise