This package has been deprecated

Author message:

This package has been renamed to domojs (unscoped). Please uninstall the current, scoped version (<=1.0.111) and reinstall the unscoped version (^1.0.112): npm i domojs

@jkreitzman/domojs
TypeScript icon, indicating that this package has built-in type declarations

1.0.111 • Public • Published

DomoJs

This module use of Domo's API (ryuu.js) by providing both typescript types and functions for common API actions. This library uses ryuu.js version 2.6.5.

Installation & Usage

This package is hosted on NPM. To install: npm i @jkreitzman\domojs

To use this library in node: import domo = require("@jkreitzman\domojs");

The library also includes TypeScript definitions, to allow for use in a TS project. If using TypeScript, we recommend you create an interface that extends AppDb.Document and override the content property to allow strong-typing to your database. For example, if storing user preferences, your interface might look like this:

interface MyDocument extends AppDb.Document {
    content: {
        userId: number;
        preferences: string;
    }
}

Project Structure

  • src: Source typescript.
  • dist: Bundled output, ready for distribution.
  • scripts: Build scripts.
  • types: Type definitions for Domo's Javascript library, ryuu.js (domo.js)

Readme

Keywords

Package Sidebar

Install

npm i @jkreitzman/domojs

Weekly Downloads

0

Version

1.0.111

License

GPL-3.0-only

Unpacked Size

52.2 kB

Total Files

11

Last publish

Collaborators

  • jkreitzman