Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 651 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 651 Bytes

ScPL

ScPL is a text based language for creating shortcuts in the iOS shortcuts app.

View Documentation

Getting Started Guide

Try Shortcutslang Online

const {parse, inverse} = require("scpl");

const {shortcutjson, shortcutplist} = parse("text 'hello scpl'", {make: ["shortcutjson", "shortcutplist"]});
// shortcutjson is a json object containing the shortcut file
// shortcutplist is a buffer plist containing the shortcut file

const inverted = inverse(shortcutplist);
// text "hello scpl"