Skip to content

Instantly share code, notes, and snippets.

@hwangbible
hwangbible / example.js
Last active May 19, 2021
Scriptablify - lets you require('modules') in Scriptable app!
View example.js
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: gray; icon-glyph: magic;
// Defaults to the latest version and no automatic update; if the file exists, just use it
const moment = await require('moment');
// Use any SemVer options to specify a version you want
// Refer to the calculator here: https://semver.npmjs.com/
const lodash = await require('lodash@^3.9.1');