docuseal-svelte
v0.1.1
Published
Docuseal Svelte component library for document signing and management.
Downloads
1,908
Maintainers
Readme
DocuSeal Svelte
A Svelte component library for integrating DocuSeal electronic signatures into your Svelte applications.
Installation
npm install docuseal-svelteUsage
<script lang="ts">
import { DocuSealForm, DocuSealFormBuilder } from 'docuseal-svelte';
</script>
<DocuSealForm src="<YOUR_DOCUSEAL_FORM_SRC>" />
<DocuSealFormBuilder src="<YOUR_DOCUSEAL_FORM_SRC>" token="<YOUR_DOCUSEAL_TOKEN>" />Compatibility
This package supports:
- Svelte 4.x
- Svelte 5.x
Development
npm test # run the test suite once
npm run test:watch # re-run tests as you edit
npm run check # type-check the library and the testsTests live in the top-level tests/ directory rather than beside the source, because
svelte-package copies everything under src/lib into dist. npm run prepack fails if a
test file ever reaches the built package.
How to Contribute
Contributions are welcome! Please fork the repository and create a pull request with your changes. Make sure to create a changeset for any significant updates.
License
This project is licensed under the MIT License. See the LICENSE file for details.
