@shark0f/frog
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@shark0f/frog

The shark0.com SDK for Node.js.

Usage

/**
 * apiKey: string;
 * The key used to identify your project.
 * You can find this key in the project settings.
 *
 * password: string;
 * The password used for the encryption.
 */
const frog = new Frog({ apiKey: 'abc...', password: 'abc...' });
const log = new frog.Area('sign_up');

try {
	await insertUserIntoDatabase(user);
	log.info('A new user signed up! Their email is', user.email);
} catch (error) {
	log.error('An error occured :(', error);
}

Readme

Keywords

Package Sidebar

Install

npm i @shark0f/frog

Weekly Downloads

1

Version

0.1.0

License

GPLv3

Unpacked Size

44.9 kB

Total Files

11

Last publish

Collaborators

  • l2ig