description |
---|
Ocean Protocol's JavaScript library to manipulate with DDO and Asset fields and to validate DDO structures depending on version. |
Welcome to the DDO.js! Your utility library for working with DDOs and Assets like a pro. 🚀
The DDO.js offers a wide range of functionalities, enabling you to:
- Instantiate DDO 📤 by
DDOManager
depending on version. - Retrieve 📥 DDO data together with Asset fields using defined helper methods.
- Validate DDO 📤 using SHACL schemas.
- Edit ✏️ existing fields of DDO and Asset.
It is available as npm
package, therefore to install in your js
project, simply run in the console:
npm install @oceanprotocol/ddo-js
Let's dive into the DDO.js's capabilities together! If you're ready to explore each functionality in detail, simply go through the next pages.