0.1.2 • Published 2 years ago
hotbrains-docs v0.1.2
HotBrains docs and examples
Installation
Install with yarn or npm:
yarn
ornpm
:
# yarn
yarn add hotbrains-docs
# npm
npm i hotbrains-docs --save
Import the lib with es6 or cjs
// es6
import docs from 'hotbrains-docs';
// cjs
const docs = require('hotbrains-docs');
Usage examples
Helpers
getTutorial
#!/usr/bin/env node
import { getTutorial } = require("hotbrains-docs");
Utils
noThrow
#!/usr/bin/env node
import { noThrow } from 'hotbrains-docs';
(async () => {
const promise = Promise.resolve("resolved");
const result = await noThrow(promise);
console.log(result); // "resolved"
})();
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
Or buy me a coffee 🙌🏾
📝 License
Copyright © 2022 Hebert F Barros. This project is MIT licensed.