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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cubekit-cloud/cubekit-sdk-js

v1.0.51

Published

@cubekit-cloud/cubekit-sdk-js - the library for working with auto generated API from cubekit.com

Readme

Cubekit Client SDK

@cubekit-cloud/cubekit-sdk-js - the library for working with auto generated API from cubekit.com. This SDK uses axios to send requests.

Table of Contents

CubekitOrmClient

	// CubekitOrmClient is needed for working with auto generated ORM API
	import { IOrmClientConfig, CubekitOrmClient } from '@cubekit-cloud/cubekit-sdk-js';
	// You can get your configuration from your application page.
	const config: IOrmClientConfig = {
		baseUrl: 'url';
		serviceKey: 'key';
	};
	const ormClient = new CubekitOrmClient(config);
	ormClient.send({...});

Kind: global class

CubekitOrmClient~setConfig(config)

Set new configuration

Kind: inner method of CubekitOrmClient

| Param | Type | Description | | --- | --- | --- | | config | IOrmClientConfig | an object with new configuration |

Example

const config: IOrmClientConfig = {
 baseUrl: '/';
 serviceKey: 'xxxx-xxxx-xxxx-xxxx';
}

ormClient.setConfig(config);

CubekitOrmClient~setAuthorizationHeader(value)

Set authorization header

Kind: inner method of CubekitOrmClient

| Param | Type | Description | | --- | --- | --- | | value | string | a string with auth data |

Example

ormClient.setAuthorizationHeader('Basic YWxhZGRpbjpvcGVuc2VzYW1l');

CubekitOrmClient~send(params) ⇒ Promise.<AxiosResponse.<IResponse.<T2>, any>>

Send request to API cubkit.com with params.

Kind: inner method of CubekitOrmClient

| Param | Type | Description | | --- | --- | --- | | params | IOrmRequestParameter.<T> | A generic object containing all the necessary parameters for successful request. | | params.path | string | Path to a exactly model in your application. It can be got from documentation on main page of your application. | | params.method | RequestOrmMethodsEnum | Request type. | | params.options | ISearchOptions.<T> | IGetByIdOptions.<T> | ICreateOptions.<T> | IUpdateOptions.<T> | IDeleteOptions | Data to be sent. |

Example

interface A {
	id: string;
}
interface B extends A {
	name: string;
}
ormClient.send<A, A>({
}).then((response) => {...}) //response.data.data can be able to string | A | A[]
ormClient.send<A, B>({
}).then((response) => {...}) //response.data.data can be able to string | B | B[]

CubekitStorageClient

	// CubekitStorageClient is needed for working with auto generated Storage API
	import { IStorageClientConfig, CubekitStorageClient } from '@cubekit-cloud/cubekit-sdk-js';
	// You can get your configuration from your application page.
	const config: IStorageClientConfig = {
		baseUrl: 'url';
		serviceKey: 'key';
		storageId: 'id';
	};
	const storageClient = new CubekitStorageClient(config);
	storageClient.upload({...});

Kind: global class

CubekitStorageClient.setConfig(config)

Set new configuration

Kind: static method of CubekitStorageClient

| Param | Type | Description | | --- | --- | --- | | config | IStorageClientConfig | an object with new configuration |

Example

const config: IStorageClientConfig = {
 baseUrl: '/';
 serviceKey: 'xxxx-xxxx-xxxx-xxxx';
 storageId: 'xxxx-xxxx-xxxx-xxxx';
}

storageClient.setConfig(config);