shortcut-value-viewer
v1.0.0
Published
A RunKit value viewer for Shortcuts.js shortcuts.
Downloads
1
Readme
Shortcut Value Viewer
A RunKit value viewer for Shortcuts.js shortcuts.
Installation
npm install shortcut-value-viewer
Usage
The module exports a single function. Pass a Shortcuts.js shortcut into the function to assign a value viewer that is viewable on RunKit.
const { getShortcutDetails } = require("shortcuts.js");
const shortcut = await getShortcutDetails("ccae9c09c70d4319a553415e692a8420");
const svv = require("shortcut-value-viewer");
console.log(svv(shortcut));