@extendscript/modules.init
v2.4.0
Published
This module creates the shared `Sky` object. A peer-dependency for all ExtendScript Modules.
Downloads
5
Readme
modules.init
This module creates the shared Sky
object. A peer-dependency for most ExtendScript Modules.
Install
npm install @extendscript/modules.init
Include
#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
Sky
object:
#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
Sky
to complete the setup:
Sky.init();
The
init
function 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 myTarget
We keep a log of test results
Contributers
More info
Read the docs