0.3.1 • Published 3 years ago

@u32e1/frog v0.3.1

Weekly downloads
-
License
GPLv3
Repository
github
Last release
3 years ago

@u32e1/frog

The u32e1 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);
}
0.3.0

3 years ago

0.3.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago