1.0.0 • Published 5 years ago

shortcut-value-viewer v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Shortcut Value Viewer

GitHub release npm Travis (.com)

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));