Skip to content

Manage script libraries and packages in Scriptable for iOS

Notifications You must be signed in to change notification settings

kraigparkinson/spm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scriptable Package Manager (SPM) is a tool for managing Scriptable packages build in the spirit of node/nodejs.

Why SPM?

Scriptable is great for building and running simple scripts, but at the point you want to build something more complex, you'll have other script library requirements, a need to test effectively, and a willingness to share with others.

How to use SPM

SPM has two modes of running:

  • Direct (run SPM from Scriptable)
  • Share sheet (Run Script from another Scriptable script)

Direct mode commands:

  • Doctor: Check configuration and execute unit tests of SPM.
  • Install: Install new packages by name, starting from https://unpkg.com.

Share sheet commands:

  • Init: Initialize a new Scriptable package from the Script. Creates directories for libraries and tests.
  • Test: Runs tests found at {package}/test/index.js
  • (Coming) Publish: Adds package to local SPM instance as a module.

About

Manage script libraries and packages in Scriptable for iOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published