Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.
/ npm-scriptable Public archive

A project to convert npm packages to Scriptable modules.

License

Notifications You must be signed in to change notification settings

Rhinozz/npm-scriptable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

npm-scriptable

A project to convert npm packages to Scriptable modules.

Made by Rhinozz.

Contributions by FifiTheBulldog.

Usage

To use these with the npm package format, add a line at the top of your script:

const require = importModule;

Then, whenever you want to use a module, you can add:

const [module name] = require('[module name]')

Module Installation

To install a module, click on the [module name].js file and download it. Move it to your Scriptable folder in iCloud.

Alternatively, you can copy the file's text contents and paste it into a new script.

Each module should be as close as possible to the original. Some functions may not work due to the limitations of Scriptable - see the non-minified version of each module for a guide on each function.

Minified Files

Each module comes with a minified version, called [module name]-min.js. If you want to use it instead of the non-minified version, you can do the steps above, but you will need to rename the script to remove the -min at the end.

About

A project to convert npm packages to Scriptable modules.

Resources

License

Stars

Watchers

Forks

Packages

No packages published