# iinkJS
**Repository Path**: macqueen/iinkJS
## Basic Information
- **Project Name**: iinkJS
- **Description**: https://github.com/MyScript/iinkJS.git
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-06-07
- **Last Updated**: 2024-06-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# iinkJS
[](https://badge.fury.io/js/iink-js)
[](https://myscript.github.io/iinkJS/examples/)
[](https://developer.myscript.com/docs/interactive-ink/latest/web/iinkjs/)
> The fastest way to integrate rich **handwriting** features in your webapp.
iinkJS is a JavaScript library that can be used in every web application to bring handwriting recognition.
It integrates all you need:
* Signal capture for all devices,
* Digital ink rendering,
* Link to MyScript Cloud to bring handwriting recognition.
## Table of contents
* [Examples](https://github.com/MyScript/iinkJS#examples)
* [Features](https://github.com/MyScript/iinkJS#features)
* [Requirements](https://github.com/MyScript/iinkJS#requirements)
* [Installation](https://github.com/MyScript/iinkJS#installation)
* [Usage](https://github.com/MyScript/iinkJS#usage)
* [Documentation](https://github.com/MyScript/iinkJS#documentation)
* [Development](https://github.com/MyScript/iinkJS#development)
* [Support](https://github.com/MyScript/iinkJS#support)
* [Feedback](https://github.com/MyScript/iinkJS#sharing-your-feedback)
* [Contributing](https://github.com/MyScript/iinkJS#contributing)
## Examples
Discover Interactive Ink with iinkJS and its major features with our [text demo and tutorial](http://webdemo.myscript.com/views/text.html).
Try our two basic examples featuring [the text recognition](https://myscript.github.io/iinkJS/examples/v4/websocket_text_iink.html) and [the math recognition](https://myscript.github.io/iinkJS/examples/v4/websocket_math_iink.html).
[All our examples](https://myscript.github.io/iinkJS/examples/) with the source codes in [this directory](https://github.com/MyScript/iinkJS/tree/master/examples).
We also provide examples of integration with the major JavaScript frameworks:
| Framework | Link |
| --- | --- |
| | [Example of React integration](https://github.com/MyScript/web-integration-samples/tree/master/react-integration-examples) |
| | [Example of Angular integration](https://github.com/MyScript/web-integration-samples/tree/master/angular-integration-examples) |
| | [Example of Vue integration](https://github.com/MyScript/web-integration-samples/tree/master/vue-integration-examples) |
## Features
* Text and Math support,
* Easy to integrate,
* Digital ink capture and rendering,
* Rich editing gestures,
* Import and export content,
* Styling,
* Typeset support,
* More than 200 mathematical symbols supported,
* 65 supported languages.
You can discover all the features on our Developer website for [Text](https://developer.myscript.com/text) and [Math](https://developer.myscript.com/math).
## Requirements
1. Have [npm](https://www.npmjs.com/get-npm), [yarn](https://yarnpkg.com/en/docs/install).
2. Have a MyScript developer account. You can create one [here](https://developer.myscript.com/support/account/registering-myscript-cloud/).
3. Get your keys and the free monthly quota to access MyScript Cloud at [developer.myscript.com](https://developer.myscript.com/getting-started/web)
## Installation
iinkJS can be installed with the well known package managers `npm`, `yarn`.
If you want to use `npm` or `yarn` you first have to init a project (or use an existing one).
```shell
npm init
OR
yarn init
```
You can then install iinkJS and use it as showed in the [Usage](https://github.com/MyScript/iinkJS#usage) section.
```shell
npm install iink-js
OR
yarn add iink-js
```
## Usage
1. Create an `index.html` file in the same directory.
2. Add the following lines in the `head` section of your file to use iinkJS and the css. We use [PEP](https://github.com/jquery/PEP) to ensure better browsers compatibilities. Note that you can also use it using dependencies from `node_modules`:
```html
```
3. Still in the `head` section, add a `style` and specify the height and the width of your editor:
```html
```
4. In the `body` tag, create a `div` tag that will contain the editing area:
```html
```
5. In JavaScript and within a `