Using Server Code libraries.
A Server Code library allows you to create a re-usable component (library). A library can be added to one or more scripts.
There are a number of out-of-the-box libraries. These libraries are marked with a small system label:
Library code editor
The library editor works the same way as the script editor. You also get the same keyboard shortcuts.
The library page provides a test function to check the library for any syntax errors. Click the Test button below the editor to run a syntax check.
A library can depend on other libraries. Go to the Dependencies page to set any dependencies.
The following access permissions can be granted:
In the Settings tab, you can delete a library. You can also clone (copy) a library.
Updated about 1 year ago