# rp-esign

> Create your digital signature

Latest version **1.2.2** (published 2019-06-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install rp-esign
pnpm add rp-esign
yarn add rp-esign
bun add rp-esign
```

## 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.2.2 |
| Published | 2019-06-27 |
| First published | 2019-06-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Anish Rajendran |
| Maintainers | anishrp |

## Links

- npm: https://www.npmjs.com/package/rp-esign
- npm.io page: https://npm.io/package/rp-esign

## Recent versions

- 1.2.2 (latest) — 2019-06-27
- 1.2.1 — 2019-06-26
- 1.2.0 — 2019-06-26
- 1.1.6 — 2019-06-26
- 1.1.5 — 2019-06-26
- 1.1.4 — 2019-06-26
- 1.1.3 — 2019-06-26
- 1.1.2 — 2019-06-26
- 1.1.1 — 2019-06-26
- 1.1.0 — 2019-06-26
- 1.0.6 — 2019-06-26
- 1.0.5 — 2019-06-26
- 1.0.4 — 2019-06-26
- 1.0.3 — 2019-06-26
- 1.0.2 — 2019-06-26
- … 2 more at https://npm.io/package/rp-esign/versions

## README

Intro
=======
This module provides an easy and simple way to esignature.


Installation
=======
	$ npm i rp-esign

Usage
=======
	var package = require('rp-esign'); // contains package.json data.

Example
=======

HTML
```html
<!DOCTYPE html>
<html>
    <head>
        <mate charest="utf-8" />
        <title>RP Sign</title>
    </head>
    <body>
        <div id="signature_dIv"></div>
		<button id="saveBtn">Save</button>
		<button id="clearbtn">Clear</button>
    </body>
</html>
```

	Script
	'let objSign = new rpSignature({
		signaturePad 	 : 'signature_dIv', //div name
		penColor	 	 :  '#000',         //Sign color
		pointSize		 :  2,				//Sign Size
		canvasbordercolor: 	'#c3c3c3',		//canvas border color
		canvasbordersize : 	'1',			//canvas border size
		canvaswidth 	 : 	'400',			//canvas  width
		canvasheight	 : 	'200',			//canvas  size
		imageformat      :	'image/png'		//image format
	});

	document.getElementById('saveBtn').onclick = function(){
		getresp = objSign.getSign();
		console.log(getresp);
	}
	document.getElementById('clearbtn').onclick = function(){
		objSign.clearSign();
	}'

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