Framework for integrating the [Webform](https://www.drupal.org/project/webform)
module with Next.js applications. This library is capable of rendering simple
Webforms out-of-the-box. The functionality can be extended to support advanced
features of Webform.
## Setup
1. Install the [Webform](https://www.drupal.org/project/webform)
and [Webform REST](https://www.drupal.org/project/webform_rest) modules.
2. Apply [patch from this issue](https://www.drupal.org/project/webform_rest/issues/3317762) on Webform REST to add Webform Autocomplete Options endpoint (not needed if you are not using autocomplete fields)
4. Set permissions `/admin/people/permissions#module-rest` for RESTful Web Services. Note: you may want to use an authorized client instead of exposing the Webform data for anonymous users.
5. Create a new webform if you have not already `/admin/structure/webform`.
6. Render Webform in your Next.js application using this framework. Example Next.js implementation can be found [here](https://github.com/lauriii/next-acms-webform).
## Example
```
const drupal = new DrupalClient('http://localhost');