bartholomew-js

1.0.0 • Public • Published

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!

Support

Get in touch with me using one of the following means:

Authors

License

The code base is licensed under the MIT license.

Package Sidebar

Install

npm i bartholomew-js

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

4.87 kB

Total Files

5

Last publish

Collaborators

  • paperties