# \#faq

**URL:** https://forums.creativeclouddeveloper.com/tag/faq/107.md

[Latest](https://forums.creativeclouddeveloper.com/latest.md) · [Categories](https://forums.creativeclouddeveloper.com/categories.md) · [Tags](https://forums.creativeclouddeveloper.com/tags.md)

---

## [Can I use npm packages or Node.js APIs?](https://forums.creativeclouddeveloper.com/t/can-i-use-npm-packages-or-node-js-apis/118)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 4\
**Last updated:** [March 9, 2023, 8:53am UTC](https://forums.creativeclouddeveloper.com/t/can-i-use-npm-packages-or-node-js-apis/118 "2023-03-09T08:53:41Z")

</div>

You may be able to use some npm packages without modification, but chances are good that you’ll need to use webpack or rollup in order to generate a bundle. Node.js APIs themselves are not supported.

---

## [Cant export text as svg file with presentation attribute style](https://forums.creativeclouddeveloper.com/t/cant-export-text-as-svg-file-with-presentation-attribute-style/4341)

<div class="topic-metadata">

**Author:** [@siam009](https://forums.creativeclouddeveloper.com/u/siam009)\
**Replies:** 4\
**Last updated:** [February 28, 2022, 5:54pm UTC](https://forums.creativeclouddeveloper.com/t/cant-export-text-as-svg-file-with-presentation-attribute-style/4341 "2022-02-28T17:54:45Z")

</div>

I am trying to export a text as svg file. But the problem is it is exporting in internal css styling. I want to export svg as “presentation attribute” stying. But I dont see any option for defining styling in documentat…

---

## [Can I read or write to persistent storage?](https://forums.creativeclouddeveloper.com/t/can-i-read-or-write-to-persistent-storage/115)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 2\
**Last updated:** [May 30, 2019, 1:31am UTC](https://forums.creativeclouddeveloper.com/t/can-i-read-or-write-to-persistent-storage/115 "2019-05-30T01:31:03Z")

</div>

You can write to temporary storage or to user-picked files and folders. You can also write to your plugin’s data folder without user mediation.

---

## [Can I use \`eval\` or similar functions?](https://forums.creativeclouddeveloper.com/t/can-i-use-eval-or-similar-functions/40)

<div class="topic-metadata">

**Author:** [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Replies:** 6\
**Last updated:** [April 2, 2019, 7:14am UTC](https://forums.creativeclouddeveloper.com/t/can-i-use-eval-or-similar-functions/40 "2019-04-02T07:14:06Z")

</div>

No. eval and similar methods of executing code are disabled. This is for a variety of reasons, including security-related concerns. This doesn’t, however, prevent you from running arbitrary code – it just means you have…

---

## [Can I store any user preferences?](https://forums.creativeclouddeveloper.com/t/can-i-store-any-user-preferences/116)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 1\
**Last updated:** [October 26, 2018, 9:43am UTC](https://forums.creativeclouddeveloper.com/t/can-i-store-any-user-preferences/116 "2018-10-26T09:43:10Z")

</div>

You can use the plugin data folder to store files, including user preferences.

---

## [Encountering issues with plugin submission? Read this!](https://forums.creativeclouddeveloper.com/t/encountering-issues-with-plugin-submission-read-this/188)

<div class="topic-metadata">

**Author:** [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Replies:** 6\
**Last updated:** [October 10, 2018, 4:08pm UTC](https://forums.creativeclouddeveloper.com/t/encountering-issues-with-plugin-submission-read-this/188 "2018-10-10T16:08:51Z")

</div>

For those who are having issues with submitting plugins, here’s some tips that should hopefully help ensure a smooth process: • ensure the plugin ID in your manifest.json is the same one as your assigned plugin ID; fail…

---

## [I added a new plugin to Adobe XD, but it doesn't show in the Plugins menu](https://forums.creativeclouddeveloper.com/t/i-added-a-new-plugin-to-adobe-xd-but-it-doesnt-show-in-the-plugins-menu/127)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:43pm UTC](https://forums.creativeclouddeveloper.com/t/i-added-a-new-plugin-to-adobe-xd-but-it-doesnt-show-in-the-plugins-menu/127 "2018-09-25T19:43:31Z")

</div>

Check the Developer Console to ensure there aren’t any errors in your plugin’s manifest.

---

## [My plugin doesn't seem to be making any changes to the document](https://forums.creativeclouddeveloper.com/t/my-plugin-doesnt-seem-to-be-making-any-changes-to-the-document/126)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:42pm UTC](https://forums.creativeclouddeveloper.com/t/my-plugin-doesnt-seem-to-be-making-any-changes-to-the-document/126 "2018-09-25T19:42:15Z")

</div>

When plugins cause an error, any changes made during that edit operation are rolled back. Plugin actions are atomic – failure will revert the entire operation. Check the Developer Console for errors.

---

## [What ES2015+ (ES6) features can I use?](https://forums.creativeclouddeveloper.com/t/what-es2015-es6-features-can-i-use/125)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:39pm UTC](https://forums.creativeclouddeveloper.com/t/what-es2015-es6-features-can-i-use/125 "2018-09-25T19:39:59Z")

</div>

The JavaScript VM does support most of ES2015 and beyond. You can use features such as: Template literals Classes Block-scoped variables ( let , const ) Object destructuring Default parameters Spread and Rest ( ... ) A…

---

## [Can I use ES5 features?](https://forums.creativeclouddeveloper.com/t/can-i-use-es5-features/124)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:39pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-use-es5-features/124 "2018-09-25T19:39:19Z")

</div>

Yes. This means you can use Array#map , Array#reduce , and numerous other language features introduced with ES5.

---

## [Can I use require to import additional files?](https://forums.creativeclouddeveloper.com/t/can-i-use-require-to-import-additional-files/123)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:38pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-use-require-to-import-additional-files/123 "2018-09-25T19:38:44Z")

</div>

Yes. Note that require file resolution does not align with Node.js-style resolution. You can only require files in your plugin directory, and there’s no lookup in a package.json should it exist.

---

## [Can I perform animations on the canvas?](https://forums.creativeclouddeveloper.com/t/can-i-perform-animations-on-the-canvas/122)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:37pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-perform-animations-on-the-canvas/122 "2018-09-25T19:37:52Z")

</div>

No; plugins execute synchronously, so only the final state of the document is visible to the user when the plugin finishes executing.

---

## [Can my plugin be notified whenever content in the document is changed?](https://forums.creativeclouddeveloper.com/t/can-my-plugin-be-notified-whenever-content-in-the-document-is-changed/121)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:37pm UTC](https://forums.creativeclouddeveloper.com/t/can-my-plugin-be-notified-whenever-content-in-the-document-is-changed/121 "2018-09-25T19:37:23Z")

</div>

Not currently – your plugin can only execute whenever the user invokes it from the Plugins menu.

---

## [Can I globally replace content across the document?](https://forums.creativeclouddeveloper.com/t/can-i-globally-replace-content-across-the-document/120)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:36pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-globally-replace-content-across-the-document/120 "2018-09-25T19:36:47Z")

</div>

Not at this time. A feature such as a global search and replace would require editing objects outside the current edit context, and so will currently fail.

---

## [Can I modify the document outside the current edit context?](https://forums.creativeclouddeveloper.com/t/can-i-modify-the-document-outside-the-current-edit-context/119)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:36pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-modify-the-document-outside-the-current-edit-context/119 "2018-09-25T19:36:12Z")

</div>

Not at this time. You can read the entire document, but only those objects in the current edit context can be modified. If you try, an error will be raised.

---

## [Can I communicate with remote servers?](https://forums.creativeclouddeveloper.com/t/can-i-communicate-with-remote-servers/117)

<div class="topic-metadata">

**Author:** [@ashryan](https://forums.creativeclouddeveloper.com/u/ashryan)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 7:34pm UTC](https://forums.creativeclouddeveloper.com/t/can-i-communicate-with-remote-servers/117 "2018-09-25T19:34:29Z")

</div>

Yes! XMLHttpRequest , Websocket s, and fetch are available on both macOS and Windows (UWP).
