@extendscript/modules.init
v2.4.0
Published
This module creates the shared `Sky` object. A peer-dependency for all ExtendScript Modules.
Downloads
21
Readme
modules.init
This module creates the shared Sky object. A peer-dependency for most ExtendScript Modules.
Install
npm install @extendscript/modules.initInclude
#include 'node_modules/@extendscript/modules.init/init.js' Use
Import this init module and any other module you'd like to use for your project:
- Load the init module which creates the
Skyobject:
#include 'node_modules/@extendscript/modules.init/init.js'- Add any other modules you'd like to use:
#include 'node_modules/@extendscript/aes.bundle.array/array.js'
#include 'node_modules/@extendscript/ind.util.rulers/rulers.js'- Init the
Skyto complete the setup:
Sky.init();The
initfunction is used to load any initialisation processes of loaded modules. Meaning this module does not make use of it and is not specifically required.
Test
We can test the code against a range of targets:
npm run test myTargetWe keep a log of test results
Contributers
More info
Read the docs
