1.0.0 • Published 6 years ago
bartholomew-js v1.0.0
Bartholomew JS
Library with basic Bart functionalities.
Installation
With npm:
npm install bartholomew-js
With yarn:
yarn add bartholomew-js
API
eatMyShorts
You can pass any value and returns it multiply by 0!!
Params
value: number
callback: Function(err: string, value: number)
returns: Promise
Callback Example
const Bart = require('bartholomew-js');
Bart.eatMyShorts(1231778278917387213, (err, val) => {
if (err) {
throw Error(err);
}
console.log(err); // 0
});
Promise Example
const Bart = require('bartholomew-js');
Bart.eatMyShorts(1231778278917387213)
.then(value => console.log(value) // 0)
.catch(err => console.log(err) // show an error!)
Contribute
Contributions to the package are always welcome!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at the package's Git repository.
Support
Get in touch with me using one of the following means:
- Emailing us at papertiesteam@gmail.com
Authors
- Paperties Team
- The Community Contributors
License
The code base is licensed under the MIT license.
1.0.0
6 years ago