npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ionos-cloud/sdk-nodejs-dbaas-mariadb

v1.0.1

Published

NodeJS SDK for MariaDB DBaaS

Downloads

1

Readme

Node API Client For IONOS Cloud Dbaas MariaDB

[ CI ] DBaaS MariaDB / Node

Overview

An enterprise-grade Database is provided as a Service (DBaaS) solution that can be managed through a browser-based "Data Center Designer" (DCD) tool or via an easy to use API.

The API allows you to create additional database clusters or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.

Installation

Install the following dependencies:

npm i --save @ionos-cloud/sdk-nodejs-dbaas-mariadb

Usage

Import the SDK using:

const sdk = require('@ionos-cloud/sdk-nodejs-dbaas-mariadb')

Or, if the import is done from an ES module, use:

import * as sdk from '@ionos-cloud/sdk-nodejs-dbaas-mariadb';

Usage example:

const sdk = require('@ionos-cloud/sdk-nodejs-dbaas-mariadb')

const config = new sdk.Configuration({username: 'username_here', password: 'password_here'});
const clustersApi = new sdk.ClustersApi(config);

clustersApi.clustersGet().then((response) => console.log(response));

Authentication

The username and password or the authentication token can be manually specified when initializing the SDK client:

const config = new sdk.Configuration({username: 'username_here', password: 'password_here'});
const clustersApi = new sdk.ClustersApi(config);

Environment variables can also be used; the SDK uses the following variables:

  • IONOS_USERNAME - to specify the username used to login
  • IONOS_PASSWORD - to specify the password
  • IONOS_TOKEN - if an authentication token is being used

In this case, the client configuration must be initialized using fromEnv():

const client = new sdk.ClustersApi(sdk.Configuration.fromEnv());

{% hint style="danger" %} Warning: Make sure to follow the Information Security Best Practices when using credentials within your code or storing them in a file. {% endhint %}

Feature Reference

The IONOS Cloud SDK for Nodejs DBaaS MariaDB aims to offer access to all resources in the IONOS DBaaS MariaDB API, and has additional features to make integration easier:

  • Authentication for API calls
  • Asynchronous request handling

FAQ

  1. How can I open a bug report/feature request?

Bug reports and feature requests can be opened in the Issues repository: https://github.com/ionos-cloud/sdk-nodejs-dbaas-mariadb/issues/new/choose

  1. Can I contribute to the NodeJS DBaaS MariaDB SDK?

Our SDKs are automatically generated using OpenAPI Generator and don’t support manual changes. If you require changes, please open an issue and we will try to address it.