@floss/yolo
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@floss/yolo

Checklist to see if this is for you:

  1. I want to run some code
  2. I give no less than zero nasty words about any errors
  3. Give me whatever is returned or keep quiet
import yolo from "@floss/yolo";
const response = yolo(function () {
  let result;
  // here lies some dark stuff...
  return result
});
console.log(response); 
// Alt 1. undefined (if an error was thrown)
// Alt 2. anything (if your code was somehow error-free)

Package Sidebar

Install

npm i @floss/yolo

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Unpacked Size

2.45 kB

Total Files

4

Last publish

Collaborators

  • viktorsvensson