1.0.9 • Published 3 months ago

@orago/status v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

@orago/status

Usage:

import { success, err } from '@orago/status';

success('Everything works!', { cat: 'meow' });
// Result =>
{
	response: 'Everything works!',
	status: true,
	cat: 'meow'
}



err('Something went wrong!', { userID: 5 }); 
// Result =>
{
	response: 'Something went wrong!',
	status: false,
	userID: 5
}

success({ something: 'random' }, { dog: 'woof' });
// Result =>
{
	response: { something: 'random' },
	status: true,
	dog: 'woof'
}
1.0.9

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

9 months ago

1.0.4

9 months ago