# grapesjs-signature-pad

> GrapesJS Signature Pad Plugin

Latest version **1.0.3** (published 2023-03-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install grapesjs-signature-pad
pnpm add grapesjs-signature-pad
yarn add grapesjs-signature-pad
bun add grapesjs-signature-pad
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-03-10 |
| First published | 2022-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | evomedia |
| Keywords | grapesjs, plugin, signature |

## Links

- npm: https://www.npmjs.com/package/grapesjs-signature-pad
- Repository: https://github.com/AdamTorma/grapesjs-signature-pad
- Homepage: https://github.com/AdamTorma/grapesjs-signature-pad#readme
- Issues: https://github.com/AdamTorma/grapesjs-signature-pad/issues
- npm.io page: https://npm.io/package/grapesjs-signature-pad

## Recent versions

- 1.0.3 (latest) — 2023-03-10
- 1.0.2 — 2022-11-19

## README

# GrapesJS Signature Plugin

[DEMO](https://codepen.io/askyy/pen/PoaJBgE)

## Summary

* Plugin name: `grapesjs-signature-pad`



## Download

* CDN
  * `https://unpkg.com/grapesjs-signature-pad`
* NPM
  * `npm i grapesjs-signature-pad`
* GIT
  * `git clone https://github.com/AdamTorma/grapesjs-signature-pad.git`



## Usage

Directly in the browser
```html
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-signature-pad.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container: '#gjs',
      // ...
      plugins: ['grapesjs-signature-pad'],
      pluginsOpts: {
        'grapesjs-signature-pad': { /* options */ }
      }
  });
</script>
```

Modern javascript
```js
import grapesjs from 'grapesjs';
import plugin from 'grapesjs-signature-pad';
import 'grapesjs/dist/css/grapes.min.css';

const editor = grapesjs.init({
  container : '#gjs',
  // ...
  plugins: [plugin],
  pluginsOpts: {
    [plugin]: { /* options */ }
  }
  // or
  plugins: [
    editor => plugin(editor, { /* options */ }),
  ],
});
```



## Development

Clone the repository

```sh
$ git clone https://github.com/AdamTorma/grapesjs-signature-pad.git
$ cd grapesjs-signature-pad
```

Install dependencies

```sh
$ npm i
```

Start the dev server

```sh
$ npm start
```

Build the source

```sh
$ npm run build
```



## License

MIT

---
_Source: https://npm.io/package/grapesjs-signature-pad · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
