@xyo-network/client-xyo-nodejs

A workspace to aggregated nodejs XYO projects

Usage no npm install needed!

<script type="module">
  import xyoNetworkClientXyoNodejs from 'https://cdn.skypack.dev/@xyo-network/client-xyo-nodejs';
</script>

README

logo

client-xyo-nodejs

NPM

BCH compliance Codacy Badge Sonarcloud Status Maintainability Known Vulnerabilities

The XYO Foundation provides this source code available in our efforts to advance the understanding of the XYO Procotol and its possible uses. We continue to maintain this software in the interest of developer education. Usage of this source code is not intended for production.

Table of Contents

Project Overview

Getting started

import { XyoContext, IXyoCollectorStatsSummary } from '@xyo-network/client-xyo-nodejs'

const main = async() => {
  const context =  await XyoContext.fetch('http://contexts.xyo.network/dataOcean.context.json')
  const result = await context.preform<IXyoCollectorStatsSummary>('collectorStatsSummary')
  console.log(result)
}

main()

Developer Guide

Maintainers

  • Carter Harrison

License

See the LICENSE.md file for license details.

Credits

Made with 🔥and ❄️ by XY - The Persistent Company